コード例 #1
0
    exit;
}
if (isset($_POST["nonntlm_single"])) {
    add_nontlm_single();
    exit;
}
if (isset($_POST["ntlmwhite"])) {
    add_nontlm_save();
    exit;
}
if (isset($_GET["add-www-js"])) {
    add_www_js();
    exit;
}
if (isset($_GET["add-nocache-js"])) {
    add_nocache_js();
    exit;
}
if (isset($_GET["add-ntlm-popup"])) {
    add_ntlm_popup();
    exit;
}
if (isset($_GET["add-nocache-popup"])) {
    add_nocache_popup();
    exit;
}
if (isset($_GET["add-white-popup"])) {
    add_white_popup();
    exit;
}
if (isset($_GET["add-white-tab"])) {
コード例 #2
0
<?php
if(isset($_GET["verbose"])){ini_set('html_errors',0);ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string','');ini_set('error_append_string','');}
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.mysql.inc');
	include_once('ressources/class.squid.acls.inc');
	include_once('ressources/class.squid.inc');
	
	$users=new usersMenus();
	if(!$users->AsDansGuardianAdministrator){die();}	
	if(isset($_GET["events"])){popup_list();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["delete"])){Delete();exit;}
	if(isset($_GET["add-www-js"])){add_www_js();exit;}
	if(isset($_GET["add-nocache-js"])){add_nocache_js();exit;}
	
	
	
	if(isset($_GET["add-nocache-popup"])){add_nocache_popup();exit;}
	if(isset($_GET["add-white-popup"])){add_white_popup();exit;}
	if(isset($_GET["add-white-tab"])){add_white_tab();exit;}
	
	if(isset($_GET["add-black-js"])){add_black_js();exit;}
	if(isset($_GET["add-black-popup"])){add_black_popup();exit;}
	if(isset($_POST["blacklist"])){add_black_save();exit;}
	if(isset($_POST["whitelist"])){add_white_save();exit;}
	if(isset($_POST["nocache"])){add_nocache_save();exit;}
	if(isset($_POST["whitelist-single"])){add_white_single();exit;}
	
	
	js();