Subversion Repositories eFlore/Applications.coel-consultation

Rev

Details | Last modification | View Log | RSS feed

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