exit; } if (isset($_GET["DansGuardian_AddRuleName"])) { main_rules_addnew(); exit; } if (isset($_GET["DansGuardianRebuildDatabase"])) { mysql_rebuild(); exit; } if ($_GET["main"] == "performances") { main_performances(); exit; } if ($_GET["main"] == "scanner") { main_scanner(); exit; } if ($_GET["main"] == "download") { main_download(); exit; } if (isset($_GET["compile-ufdb-total"])) { compile_ufdb_total(); exit; } if (isset($_GET["category-create-new"])) { main_rules_createcategory(); exit; } if (isset($_GET["category-filed-list"])) {
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); $user=new usersMenus(); if(!$user->AsSquidAdministrator){ $tpl=new templates(); echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}").");"; exit; } if(isset($_GET["status"])){main_status();exit;} if(isset($_GET["SaveGeneralSettings"])){main_save();exit;} if(isset($_GET["DansGuardian_AddRuleName"])){main_rules_addnew();exit;} if(isset($_GET["DansGuardianRebuildDatabase"])){mysql_rebuild();exit;} if($_GET["main"]=="performances"){main_performances();exit;} if($_GET["main"]=="scanner"){main_scanner();exit;} if($_GET["main"]=="download"){main_download();exit;} if(isset($_GET["compile-ufdb-total"])){compile_ufdb_total();exit;} if(isset($_GET["category-create-new"])){main_rules_createcategory();exit;} if(isset($_GET["category-filed-list"])){main_rules_categories_fieldlist();exit;} if(isset($_GET["category-user-edit"])){main_rules_category_user_edit();exit;} if(isset($_GET["category-add-site"])){main_rules_category_user_add();exit;} if(isset($_GET["category-del-site"])){main_rules_category_user_del();exit;} if(isset($_GET["weighted-phrase-list-create-category"])){main_rules_createcategory_weight();exit;}