"; echo""; include("../dyn/entete.inc"); ?> "; if(isset($_GET['plan'])) $plan=$_GET['plan']; else $plan=""; $imageplan=$chemin_plan.$plan ; echo ""; if (file_exists($imageplan)) { list($width, $height, $type, $attr) = getimagesize($imageplan); echo "
"; echo "
"; echo ""; echo "
"; // $sql= "select * from emplacement where plans ='".$plan."'"; $res = $f->db->query($sql); if (DB :: isError($res)) die($res->getMessage()."erreur ".$sql); else{ $i=0; while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ $i++; echo "
"; if($row['libre']=='Oui') echo "".
                     $row["; else if($row['terme']=='temporaire') echo "".
                     $row["; else echo "".
                     $row["; echo "
"; } } echo "
"; // // deconnexion $f->db->disconnect(); } else { echo "

Image: $imageplan absente ou inexistante

"; } echo ""; ?>