session_start();
include_once("lib/conn.php");
$page = $HTTP_GET_VARS['page'];
$HTTP_SESSION_VARS['type_expose'] = $HTTP_GET_VARS['type_expose'];
$HTTP_SESSION_VARS['profil'] = $HTTP_GET_VARS['profil'];
if ($HTTP_GET_VARS['id_eleve_p'])
$HTTP_SESSION_VARS['id_eleve_p'] = $HTTP_GET_VARS['id_eleve_p'];
if ($id_eleve && connexion()){
$query2 = " SELECT id_groupe ";
$query2 .= " FROM eleve_tbl E ";
$query2 .= " WHERE id_eleve=$id_eleve ";
$result2 = envoi_sql($query2);
$groupe = mysql_fetch_array ($result2);
$groupe = $groupe[0];
}
if($page!=0&&$page!=4&&$page!= 15&&$page!=16&&$page!=17&& $HTTP_SESSION_VARS['ok']=="") $page=19;
if($page == "") $page=0;
switch ($page){
case "0" : $lien = "accueil.php"; break;
case "1" : $lien = "planning.php"; break;
case "2" : $lien = "exposes.php";break;
case "3" : $lien = "partiels.php"; break;
case "4" : $lien = "inscription.php"; break;
case "5" : $lien = "etudiants.php"; break;
case "6" : $lien = "logout.php"; $HTTP_SESSION_VARS['ok'] =""; break;
case "7" : $lien = "etudiant_detail.php"; break;
case "8" : $lien = "accueil2.php"; break;
case "9" : $lien = "plannning_new.php"; break;
case "10" : $lien = "partiel_new.php"; break;
case "11" : $lien = "mailing.php"; break;
case "12" : $lien = "profil.php"; break;
case "13" : $lien = "identifiants_oublie.php"; break;
case "14" : $lien = "groupe.php"; break;
case "15" : $lien = "cours1.php"; break;
case "16" : $lien = "contacts.php"; break;
case "17" : $lien = "liens.php"; break;
case "18" : $lien = "phpBB2/index.php"; break;
case "19" : $lien = "404.htm"; break;
case "20" : $lien = "TP/index.php"; break;
case "24" : $lien = "old_presentation/";break;
//Sujets de TP
case "211" : $lien = "TP/TP.php?SEANCE=1&SUJET=1"; break;
case "212" : $lien = "TP/TP.php?SEANCE=1&SUJET=2"; break;
case "213" : $lien = "TP/TP.php?SEANCE=2&SUJET=1"; break;
case "214" : $lien = "TP/TP.php?SEANCE=2&SUJET=2"; break;
case "215" : $lien = "TP/TP.php?SEANCE=3&SUJET=1"; break;
case "216" : $lien = "TP/TP.php?SEANCE=3&SUJET=2"; break;
case "217" : $lien = "TP/TP.php?SEANCE=4&SUJET=1"; break;
case "218" : $lien = "TP/TP.php?SEANCE=4&SUJET=2"; break;
//Corrigés des TP
case "221" : $lien = "TP/TP.php?SEANCE=1&SUJET=1&CORRIGE=1";break;
case "222" : $lien = "TP/TP.php?SEANCE=1&SUJET=2&CORRIGE=1";break;
case "223" : $lien = "TP/TP.php?SEANCE=2&SUJET=1&CORRIGE=1";break;
case "224" : $lien = "TP/TP.php?SEANCE=2&SUJET=2&CORRIGE=1";break;
case "225" : $lien = "TP/TP.php?SEANCE=3&SUJET=1&CORRIGE=1";break;
case "226" : $lien = "TP/TP.php?SEANCE=3&SUJET=2&CORRIGE=1";break;
case "227" : $lien = "TP/TP.php?SEANCE=4&SUJET=1&CORRIGE=1";break;
case "228" : $lien = "TP/TP.php?SEANCE=4&SUJET=2&CORRIGE=1";break;
//Evaluation de TP
case "233" : $lien = "TP/TP.php?EVAL=2007-11-27";break;
case "234" : $lien = "TP/TP.php?EVAL=2007-12-04";break;
case "235" : $lien = "TP/TP.php?EVAL=2007-12-11";break;
case "236" : $lien = "TP/TP.php?EVAL=2007-12-18";break;
case "237" : $lien = "TP/TP.php?EVAL=2008-01-08";break;
case "239" : $lien = "TP/TP.php?EVAL=2009-01-26";break;
case "22" : $lien = "TP/index.php"; break;
case "23" : $lien = "TP/index.php"; break;
default : $lien = "accueil.php";
}
?>
TITRE
© 2001- echo date("Y"); ?>
Tous droits résérvés
|