<?php
#=
/****************************************************************************
Copyright 2002, Daniel Deycard, Jacques Messines, Alain Pomirol
(CATICE Académie de Bordeaux)

This file is part of GiBii/Melia.

GiBii/Melia is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GiBii/Melia/Melia is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GiBii/Melia; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

****************************************************************************/
include ("../include/vars_adm.php");
include("../include/util.inc.php");
include("../include/utiljs.php");
opensession("Admin");
connecte($host, $user, $mdp, $db);
//alert($statut.$etab_id.$etab_nom);
if (isset($statut) && $statut=="Sadmin") {   //prise en main par sadmin !
    $etab_id=$_GET['etab_id'];; //passage de etab_id par l'URL
    //print "dans admin_ut :: etab_id=$id<br>";
    session_puts("etab_id");
    getparams_etab($etab_id);
}
include ("../include/frameset.inc.php");
get_rows_cols("Admin","162,*","100%");

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Page administration</title>
<link rel="stylesheet" href="<?php echo "../themes/".$etab_theme."/b2i.css" ?>">
</head>
<frameset rows="<?php print $rows ?>" cols="100%" frameborder="yes" framespacing="1" border="1">
                                                     <!-- framespacing pour IE +CSS, border pour FF-->
<frame name="haut" scrolling="no" marginwidth="10" marginheight="3" src="admin_haut.php">
<frame name="bas" scrolling="yes" marginwidth="10" marginheight="4" src="admin_bas.php">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<p>Cette page utilise des cadres. Pour pouvoir la consulter, votre navigateur doit supporter les cadres.</p>
</body>
</noframes>
</frameset>
</html>