$area_list_format = $_SESSION['default_list_type']; } else { $area_list_format = getSettingValue("area_list_format"); } # Sélection des sites, domaines et ressources if ($area_list_format != "list") { # Sélection sous la forme de listes déroulantes echo "<td>\n"; echo make_site_select_html('week_all.php',$id_site,$year,$month,$day,getUserName()); echo make_area_select_html('week_all.php',$id_site, $area, $year, $month, $day, getUserName()); # from functions.inc.php echo make_room_select_html('week', $area, $room, $year, $month, $day); echo "</td>\n"; } else { # Sélection sous la forme de listes echo "<td>\n"; echo make_site_list_html('week_all.php',$id_site,$year,$month,$day,getUserName()); echo "</td><td>"; echo make_area_list_html('week_all.php',$id_site, $area, $year, $month, $day, getUserName()); # from functions.inc.php echo "</td>\n<td>\n"; make_room_list_html('week.php', $area, $room, $year, $month, $day); echo "</td>\n\n"; } #Draw the three month calendars minicals($year, $month, $day, $area, '', 'week_all'); echo "</tr></table>\n"; } $this_area_name = grr_sql_query1("select area_name from ".TABLE_PREFIX."_area where id=$area");
if ($_GET['pview'] != 1) { echo "<table width=\"100%\" cellspacing=\"15\" border=\"0\"><tr>"; if (isset($_SESSION['default_list_type']) || Settings::get("authentification_obli") == 1) { $area_list_format = $_SESSION['default_list_type']; } else { $area_list_format = Settings::get("area_list_format"); } //show either a select box or the normal html list if ($area_list_format != "list") { echo "<td>\n"; echo make_site_select_html('year.php', $id_site, $from_year, $from_month, $day, getUserName()); echo make_area_select_html('year.php', $id_site, $area, $from_year, $from_month, $day, getUserName()); echo "</td>\n"; } else { echo "<td>\n"; echo make_site_list_html('year.php', $id_site, $from_year, $from_month, $day, getUserName()); echo "</td><td>"; echo make_area_list_html('year.php', $id_site, $area, $from_year, $from_month, $day, getUserName()); echo "</td>\n"; } echo "\n<td><form method=\"get\" action=\"year.php\">"; echo "<table border=\"0\">\n"; echo "<tr><td>" . get_vocab("report_start") . get_vocab("deux_points") . "</td>"; echo "<td>"; echo genDateSelector("from_", "", $from_month, $from_year, ""); echo "</td></tr>"; echo "<tr><td>" . get_vocab("report_end") . get_vocab("deux_points"); echo "</td><td>\n"; echo genDateSelector("to_", "", $to_month, $to_year, ""); echo "</td></tr>\n"; echo "<tr><td>\n";
$area_list_format = $_SESSION['default_list_type']; else $area_list_format = getSettingValue("area_list_format"); # Sélection des sites, domaines et ressources if ($area_list_format != "list") { # Sélection sous la forme de listes déroulantes echo "<td>\n"; echo make_site_select_html($type_month_all.'.php',$id_site,$year,$month,$day,getUserName()); echo make_area_select_html($type_month_all.'.php',$id_site, $area, $year, $month, $day, getUserName()); echo make_room_select_html('month',$area, $room, $year, $month, $day); echo "</td>\n"; } else { # Sélection sous la forme de listes echo "<td>\n"; echo make_site_list_html($type_month_all.'.php',$id_site,$year,$month,$day,getUserName()); echo "</td><td>"; echo make_area_list_html($type_month_all.'.php',$id_site, $area, $year, $month, $day, getUserName()); echo "</td>\n<td>\n"; make_room_list_html('month.php', $area, $room, $year, $month, $day); echo "</td>\n\n"; } #Affiche le calendrier des mois minicals($year, $month, $day, $area, $room, 'month'); echo "</tr></table>\n"; } $this_area_name = grr_sql_query1("select area_name from ".TABLE_PREFIX."_area where id=$area"); $this_room_name = grr_sql_query1("select room_name from ".TABLE_PREFIX."_room where id=$room"); $this_room_name_des = grr_sql_query1("select description from ".TABLE_PREFIX."_room where id=$room"); $this_statut_room = grr_sql_query1("select statut_room from ".TABLE_PREFIX."_room where id=$room");