headerhtml (); $f -> collectivite (); $f -> droit ($obj); $f -> header (1, $ent); echo "\n
\n"; if (file_exists ("../dyn/base.php")) include "../dyn/base.php"; // connexion if (!isset ($_SESSION ['coll'])) $_SESSION ['coll'] = 1; else $coll = $_SESSION ['coll']; // $base = $conn[$coll][9]; $sgbd = $conn[$coll][1]; //print_r ($conn [1]); echo ""; echo ""; /* * parametrage * - les tables .seq ne sont pas affichés (mysql) * - on ne peut pas detruire les tables de base openexemple * - utilisateur.class est surchargé */ /* * tables presentes dans l application */ if ($sgbd == 'mysql') $sql = "SHOW TABLES FROM ".$base; if($sgbd== 'pgsql') //***pgsql $sql ="select tablename from pg_tables where schemaname='public' "; $res = $f -> db -> query ($sql); echo ""; echo "
".lang('bdd')." : ".$base."(".$sgbd.")
".lang('table')." ".lang('existant'); echo "\"generation\"".lang('generation')." ".lang('objet')." openMairie " . "\"generation\"".lang('supprimer') ." ".lang('objet')." openMairie".lang('documentation')."
"; echo "
"; if (DB :: isError($res)) die($res->getMessage()); else{ echo ""; while ($row=& $res->fetchRow()){ if(substr($row[0],-3,3)!= "seq"){ // enleve table seq echo ""; echo " "; echo ""; } echo""; } echo "
".$row[0]."\"generation\"\"destruction\"
"; } echo "
"; $f -> footer (); $f -> deconnexion (); $f -> footerhtml (); ?>