if ($user->AsPostfixAdministrator == false) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["params"])) { params(); exit; } if (isset($_GET["EnableArticaSMTPStatistics"])) { SaveParams(); exit; } js(); function js() { $tpl = new templates(); $page = CurrentPageName(); $title = $tpl->_ENGINE_parse_body("{rbl_check_artica}"); echo "YahooWin3('700','{$page}?tabs=yes','{$title}');"; } function tabs() { $page = CurrentPageName(); $tpl = new templates(); $array["params"] = '{settings}';
echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["popup"])){rbls();exit;} if(isset($_GET["rbl-popup"])){rbl_add_popup();exit;} if(isset($_GET["rbl-list"])){rbl_list();exit;} if(isset($_POST["rbls-save"])){rbls_add();exit;} if(isset($_GET["keywords-edit"])){keywords_edit();exit;} if(isset($_GET["keywords-edit-save"])){keywords_edit_save();exit;} if(isset($_GET["RBLDisable"])){RBLDisable();exit;} if(isset($_GET["RBLDelete"])){RBLDelete();exit;} if(isset($_GET["results"])){results();exit;} if(isset($_GET["params"])){parameters();exit;} if(isset($_GET["PublicIPAddress"])){SaveParams();exit;} if(isset($_GET["CheckRBLNow"])){CheckRBLNow();exit;} if(isset($_GET["others-ip-list"])){other_ip_list();exit;} if(isset($_GET["OtherIpClient-add"])){other_ip_add();exit;} if(isset($_GET["OtherIpClient-del"])){other_ip_del();exit;} js(); function js(){ $tpl=new templates(); $page=CurrentPageName(); $title=$tpl->_ENGINE_parse_body("{rbl_check_artica}"); echo "YahooWin3('700','$page?tabs=yes','$title');";
<?php include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.artica.inc'); include_once('ressources/class.ini.inc'); $user=new usersMenus(); if($user->AsPostfixAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["params"])){params();exit;} if(isset($_GET["EnableArticaSMTPStatistics"])){SaveParams();exit;} js(); function js(){ $tpl=new templates(); $page=CurrentPageName(); $title=$tpl->_ENGINE_parse_body("{rbl_check_artica}"); echo "YahooWin3('700','$page?tabs=yes','$title');"; } function tabs(){ $page=CurrentPageName();
include_once(dirname(__FILE__) . "/ressources/class.sockets.inc"); include_once(dirname(__FILE__) . "/ressources/class.pdns.inc"); include_once(dirname(__FILE__) . '/ressources/class.system.network.inc'); include_once(dirname(__FILE__) . '/ressources/class.squid.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["parameters"])){parameters();exit;} if(isset($_GET["items"])){items_table();exit;} if(isset($_GET["items-search"])){items_search();exit;} if(isset($_POST["ENABLE"])){SaveParams();exit;} if(isset($_POST["main-rule-enable"])){rule_enable();exit;} if(isset($_POST["main-rule-delete"])){rule_delete();exit;} if(isset($_GET["main-rule-js"])){rule_js();exit;} if(isset($_GET["main-rule"])){rule_popup();exit;} if(isset($_POST["edit-www"])){rule_save();exit;} if(isset($_POST["apply-now"])){apply();exit;} tabs(); function tabs(){ $tpl=new templates(); $page=CurrentPageName(); $array["parameters"]="{parameters}"; $array["items"]="{items}"; $array["schedule"]="{schedule}";
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["tabs"])){tabs();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["title"])){tables_title();exit;} if(isset($_GET["schedules"])){schedules();exit;} if(isset($_POST["ListenPort"])){SaveParams();exit;} if(isset($_POST["per_thread_buffers"])){per_thread_buffers();exit;} if(isset($_POST["server_buffers"])){server_buffers();exit;} if(isset($_POST["total_memory"])){total_memory();exit;} if(isset($_GET["squid-db-status"])){status_service();exit;} if(isset($_GET["squid-db-mysql"])){status_mysql();exit;} if(isset($_POST["SquidStatsDatabasePath"])){SquidStatsDatabasePath();exit;} js(); function js(){ header("content-type: application/x-javascript"); $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{mysql_statistics_engine}"); $html="YahooWin('900','$page?tabs=yes','$title');"; echo $html;