$query30 = "SELECT * FROM sites WHERE client = '$client' and code='$num_page'"; $result30 = mysql_query($query30); while($row30 = mysql_fetch_row($result30)){ $titre = $row30[3]; $couleur = $row30[9]; $aff_entete = $row30[16]; $aff_menu = $row30[17]; $menu1_coul = $row30[18]; $inclure = $row30[20]; } if($couleur=="fond"){ $fond="imgs/img/fond".$num_page.".jpg"; echo "
| "; include ("http://jpl-informatique.com/modules/menu.mod"); echo " | "; } $code_vrai=$page; $pos=0; $restant=strlen($inclure); while($restant>3){ $page=substr($inclure,0,4); $inclure=substr($inclure,5); include ("http://jpl-informatique.com/modules/page1.mod"); $restant=strlen($inclure); } $page=$code_vrai; include ("http://jpl-informatique.com/modules/page1.mod"); if($aff_menu<>""){ echo " |