Subversion Repositories Applications.annuaire

Rev

Rev 42 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42 aurelien 1
<div id="cartographie">
2
	<img id="carte-img" src="<?=$carte_url;?>" alt="<?=$carte_alt;?>" usemap="#carte-map" />
3
	<map name="carte-map">
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']?> (<? echo $zone['info_nombre']; if($zone['info_nombre'] > 1) {echo ' inscrits';} else { echo ' inscrit';} ?>)" class="zone-<?=$code?>" href="<?=$zone['url']?>" coords="<?=$coords?>" />
8
<?php endforeach; ?>
9
<?php endif; ?>
10
<?php endforeach; ?>
11
	</map>
12
</div>