A mon avis, entre ça et des imagemap, on s'en sort assez bien. à essayer pour voir.
<?php header("Content-type: image/png"); $im = imagecreate (600, 100); $bg = imagecolorallocate($im, 0,0,0); $white = imagecolorallocate ($im, 255,255,255); $blue = imagecolorallocate ($im, 0 ,0 ,255); $red = imagecolorallocate ($im, 255,0 ,0); $yellow= imagecolorallocate ($im, 255,255,0); imagestring ($im, 4, 5, 5, "Terre", $white); imagestring ($im, 4, 500, 5, "Lune", $white); imagearc($im,50,50,40,40,0,360,$blue); imagefill($im,50,50,$blue); for($i=0;$i<10;$i++) { $x=100+40*$i ; if(isset($_GET["case"]) && $_GET["case"]==($i+1) ) { $couleur=$red; } else { $couleur=$yellow; } imagestring ($im, 4, $x-6,70 ,$i+1, $white); imagerectangle($im,$x-15,50-15,$x+15,50+15,$couleur); } imagestring($im, 4, 300-8,15 ,42, $white); imagearc($im,300,50,15,15,0,360,$white); imagefill($im,300,50,$white); imagearc($im,510,50,40,40,0,360,$red); imagefill($im,510,50,$red); imagepng ($im); imagedestroy($im); ?>