query('SELECT statut FROM lancaster_maintenance'); while ($result = $donnee->fetch()) { $maintenance = $result['statut']; if ($maintenance==1) { include("maintenance.php"); exit(); } } $donnee->closeCursor() ////////////////////////////////////////////// //Fin de la vérification site en maintenance// ////////////////////////////////////////////// ?> Lancaster DS690

query('SELECT text_'.$lang_defaut.' FROM lancaster_chapiter WHERE id=2'); while ($text = $donnee->fetch()) { echo stripslashes($text['text_'.$lang_defaut.'']); } $donnee->closeCursor() ?>