$usersmenus = new usersMenus(); if (!$usersmenus->AsPostfixAdministrator) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; } if (isset($_GET["item-js"])) { item_js(); exit; } if (isset($_GET["item-popup"])) { item_tab(); exit; } if (isset($_GET["item-form"])) { item_popup(); exit; } if (isset($_POST["item-move"])) { item_move(); exit; } if (isset($_POST["enabledauth"])) { item_auth_save(); exit; } if (isset($_POST["zmd5"])) { item_save(); exit; } if (isset($_GET["item-delete-js"])) {
<?php $GLOBALS["ICON_FAMILY"]="SYSTEM"; //ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null); if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);} include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.mysql.shorewall.inc'); include_once('ressources/class.system.nics.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsArticaAdministrator){die();} if(isset($_GET["item-js"])){item_js();exit;} if(isset($_GET["item-popup"])){item_popup();exit;} if(isset($_GET["items"])){items();exit;} if(isset($_GET["delete-js"])){items_delete_js();exit;} if(isset($_POST["delete"])){items_delete();exit;} if(isset($_GET["move-item-js"])){move_items_js();exit;} if(isset($_POST["move-item"])){move_items();exit;} if(isset($_POST["ID"])){save();exit;} table(); function move_items_js(){ $page=CurrentPageName(); $tpl=new templates(); header("content-type: application/x-javascript"); $t=time(); $html=" var xSave$t= function (obj) { var results=obj.responseText; if(results.length>3){ alert(results); return; }