exit; } if (isset($_GET["pattern-js"])) { pattern_js(); exit; } if (isset($_GET["pattern-popup"])) { pattern_popup(); exit; } if (isset($_POST["Link"])) { pattern_link(); exit; } if (isset($_POST["delete-pattern"])) { pattern_delete(); exit; } if (isset($_GET["delete-pattern-js"])) { pattern_delete_js(); exit; } if (isset($_GET["switch-pattern-js"])) { switch_pattern_js(); exit; } if (isset($_GET["excludes-js"])) { exclude_js(); exit; } if (isset($_GET["excludes-tabs"])) {
header("Expires: 0"); 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["popup"])){popup();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["categories"])){categories();exit;} if(isset($_GET["cat-search"])){categories_search();exit;} if(isset($_POST["delete-cat-pattern"])){pattern_delete();exit;} js(); function status(){ $q=new mysql_squid_builder(); $page=CurrentPageName(); $tpl=new templates(); $total=FormatNumber($q->COUNT_ROWS("dansguardian_community_categories","artica_backup"),0,'.',' ',3); $sql="SELECT count(*) as tcount FROM `dansguardian_sitesinfos` WHERE `dbpath` = ''"; $ligne=@mysql_fetch_array($q->QUERY_SQL($sql,'artica_backup')); $websites_not_categorized=$tpl->_ENGINE_parse_body("{websites_not_categorized}");