The diagram in the second pdf looks more right than the diagram in the first pdf. But, according to the site I posted, the EcoRI site is between the ampr and tetr genes. So, you will get two fragments: One small fragment will contain some unimportant sequence and part of the tetr gene. The larger fragment will contain the entire ampr gene, the entire origin of replication, the entire rop gene, and part of the tetr gene. If your insert ligates with the smaller fragment, then it will produce a circular plasmid with no origin of replication which will not propagate after you transform it into bacteria. However, if your insert ligates with the larger fragment, then you will get a plasmid with your insert, the entire ampr gene, the entire origin of replication, and the entire rop gene, which will be a viable plasmid.
So, in order to clone the EcoRI-BamHI fragment, you would want to digest the vector with EcoRI and BamHI, then run the digestion on a gel. This will separate the larger fragment from the smaller fragment. You can cut out the band containing the larger fragment, purify it from the gel, and then use that as the starting material in your ligation.
(btw, I am typing this while taking a break from doing some cloning of my own in lab)