コード例 #1
0
<?php
if(isset($_GET["verbose"])){echo __LINE__." verbose OK<br>\n";$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);}
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.status.inc');
	include_once('ressources/class.artica.graphs.inc');
	include_once('ressources/class.calendar.inc');
	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();
コード例 #2
0
include_once 'ressources/class.calendar.inc';
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"])) {