include_once('ressources/class.groups.inc'); include_once('ressources/class.mysql.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.system.network.inc'); $user=new usersMenus(); if($user->AsSquidAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["useragent-masters"])){field_array_agents();exit;} if(isset($_GET["useragent-list"])){agents_list();exit;} if(isset($_GET["UserAgentToAdd"])){add();exit;} if(isset($_GET["UserAgentDelete"])){del();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); $useragent_database=$tpl->_ENGINE_parse_body("{useragent_database}"); $html=" YahooWin3('680','$page?popup=yes','$useragent_database'); ";
if ($user->AsSquidAdministrator == false) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["useragent-masters"])) { field_array_agents(); exit; } if (isset($_GET["useragent-list"])) { agents_list(); exit; } if (isset($_GET["UserAgentToAdd"])) { add(); exit; } if (isset($_GET["UserAgentDelete"])) { del(); exit; } js(); function js() { $page = CurrentPageName(); $tpl = new templates();