exit;
}
if (isset($_GET["AddWCatz"])) {
    AddWCatz();
    exit;
}
if (isset($_GET["AddWCatz-explain"])) {
    AddWCatz_explain();
    exit;
}
if (isset($_POST["AddWCatz-category"])) {
    AddWCatzSave();
    exit;
}
if (isset($_POST["DeletedWeighted"])) {
    DeletedWeighted();
    exit;
}
if (isset($_GET["edit-js"])) {
    edit_js();
    exit;
}
if (isset($_GET["edit-popup"])) {
    edit_popup();
    exit;
}
if (isset($_GET["edit-search"])) {
    edit_search();
    exit;
}
if (isset($_GET["expression-edit"])) {
Esempio n. 2
0
	include_once('ressources/class.squid.inc');
	
	
$usersmenus=new usersMenus();
if(!$usersmenus->AsDansGuardianAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}

if(isset($_GET["list"])){cachelist();exit;}
if(isset($_GET["AddWCatz"])){AddWCatz();exit;}
if(isset($_GET["AddWCatz-ruleid"])){AddWCatz_rules();exit;}
if(isset($_POST["AddWCatz-language"])){AddWCatzSave();exit;}
if(isset($_POST["DeletedWeighted"])){DeletedWeighted();exit;}
page();


function page(){
	$ID=$_GET["ID"];
	$page=CurrentPageName();
	$tpl=new templates();
	$q=new mysql();
	$filename=$tpl->_ENGINE_parse_body("{filename}");
	$filesize=$tpl->_ENGINE_parse_body("{filesize}");
	$date=$tpl->_ENGINE_parse_body("{date}");
	$hostname=$tpl->_ENGINE_parse_body("{hostname}");
	$TB_WIDTH=866;
	$disable_all=Field_checkbox("disable_{$ligne["zmd5"]}", 1,$ligne["enabled"],"bannedextensionlist_enable('{$ligne["zmd5"]}')");
	$sql="SELECT SUM(filesize) as tsize FROM youtubecache";