Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 25 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25 Rev 28
Line 1... Line 1...
1
<div id="cartographie">
1
<div id="cartographie">
2
	<img id="carte-img" src="<?=$carte_url;?>" alt="<?=$carte_alt;?>" usemap="#carte-map" />
2
	<img id="carte-img" src="<?=$carte_url;?>" alt="<?=$carte_alt;?>" usemap="#carte-map" />
3
	<map name="carte-map">
3
	<map name="carte-map">
4
		<?php foreach ($zones as $code => $zone) : ?>
4
<?php foreach ($zones as $code => $zone) : ?>
-
 
5
<?php if (!empty($zone['poly'])) : ?>
5
			<?php foreach (explode('|', $zones['poly']) as $coords) : ?>
6
<?php foreach (explode('|', $zone['poly']) as $coords) : ?>
6
			<area shape="poly"  title="<?=$zones['nom']?>" class="zone-<?=$code?>" href="<?=$zones['url']?>" coords="<?=$coords?>"></area>
7
		<area shape="poly"  title="<?=$zone['nom']?>" class="zone-<?=$code?>" href="<?=$zone['url']?>" coords="<?=$coords?>" />
7
			<?php endforeach; ?>
8
<?php endforeach; ?>
-
 
9
<?php endif; ?>
8
		<?php endforeach; ?>
10
<?php endforeach; ?>
9
	</map>
11
	</map>
10
</div>
12
</div>
11
13