include_once('ressources/class.tcpip.inc'); $users=new usersMenus(); if(!$users->AsDansGuardianAdministrator){die();} if(isset($_GET["events"])){popup_list();exit;} if(isset($_POST["unlock"])){unlock();exit;} if(isset($_POST["biglock"])){biglock();exit;} if(isset($_GET["js"])){FULL_JS();exit;} if(isset($_GET["calendar"])){calendar();exit;} if(isset($_GET["title-zday"])){calendar_title();exit;} if(isset($_GET["build-calendar"])){calendar_build();exit;} if(isset($_POST["reload-unlock"])){reload_unlock();exit;} if(isset($_GET["full-js"])){FULL_JS();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["week"])){week_table();exit;} if(isset($_GET["week-events"])){week_events();exit;} BlockedSites2(); function FULL_JS(){ header("content-type: application/x-javascript"); $t=$_GET["t"]; $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->javascript_parse_text("{blocked_requests}"); echo "YahooWinBrowse('1013','$page?tabs=yes&t=$t&noreduce=yes','$title')"; } function tabs(){ $page=CurrentPageName(); $users=new usersMenus();
exit; } if (isset($_GET["full-js"])) { FULL_JS(); exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["week"])) { week_table(); exit; } if (isset($_GET["week-events"])) { week_events(); exit; } BlockedSites2(); function FULL_JS() { header("content-type: application/x-javascript"); $t = $_GET["t"]; $page = CurrentPageName(); $tpl = new templates(); $title = $tpl->javascript_parse_text("{blocked_requests}"); echo "YahooWinBrowse('1013','{$page}?tabs=yes&t={$t}&noreduce=yes','{$title}')"; } function tabs() { $page = CurrentPageName();