require("configplanning.php"); Connect(); // ICI on inclut une entete menu: top.html // PLUS dates-overview.html qui contient les dates pour tout l'anée if (isset($_GET['tecfaseed'])) { commonheader("DATES MALTT"); require("dates-overview.html"); } else { require("top.html"); require("dates-overview.html"); } // mysql hacké, donc je mets le tout en commentaires // j'intègre un iframe de google calendar à la place (LMS, 31.01.13) /* mysql_connect("$DBHost","$DBUser","$DBPass"); mysql_select_db("$DB"); $result=mysql_query("select * from planning where id='1'"); $j=0; $fields=mysql_num_fields($result); $fields=2; $rows=mysql_num_rows($result); $i=2; $table=mysql_field_table($result,$i); //Connection … la base de données mysql_connect("$DBHost","$DBUser","$DBPass"); mysql_select_db("$DB"); $result3=mysql_query("select * from planning where id='1'"); echo "
Lundi | "; echo "Mardi | "; echo "Mercredi | "; echo "Jeudi | "; echo "Vendredi | "; echo "
---|---|---|---|---|
"; echo ""; echo mysql_result($result3,0,'luam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'maam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'meam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'jeam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'veam'); echo ""; echo " | "; echo "
"; echo ""; echo mysql_result($result3,0,'lupm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'mapm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'mepm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'jepm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result3,0,'vepm'); echo ""; echo " | "; echo ""; echo "
Lundi | "; echo "Mardi | "; echo "Mercredi | "; echo "Jeudi | "; echo "Vendredi | "; echo "
---|---|---|---|---|
"; echo ""; echo mysql_result($result4,0,'luam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'maam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'meam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'jeam'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'veam'); echo ""; echo " | "; echo "
"; echo ""; echo mysql_result($result4,0,'lupm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'mapm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'mepm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'jepm'); echo ""; echo " | "; echo ""; echo ""; echo mysql_result($result4,0,'vepm'); echo ""; echo " | "; echo ""; echo "
Lundi | "; # echo "Mardi | "; # echo "Mercredi | "; # echo "Jeudi | "; # echo "Vendredi | "; #echo "
---|---|---|---|---|
"; # echo ""; # echo mysql_result($result4,0,'luam'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'maam'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'meam'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'jeam'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'veam'); # echo ""; # echo " | "; # echo "
"; # echo ""; # echo mysql_result($result4,0,'lupm'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'mapm'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'mepm'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'jepm'); # echo ""; # echo " | "; # echo ""; # echo ""; # echo mysql_result($result4,0,'vepm'); # echo ""; # echo " | "; # echo ""; # echo "