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.system.network.inc'); include_once('ressources/class.system.nics.inc'); include_once('ressources/class.maincf.multi.inc'); include_once('ressources/class.mysql.shorewall.inc'); include_once('ressources/class.tcpip.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsArticaAdministrator){die();} if(isset($_GET["role-js"])){role_js();exit;} if(isset($_GET["role-popup"])){role_popup();exit;} if(isset($_POST["step2"])){role_save();exit;} if(isset($_GET["step2"])){role_step2();exit;} if(isset($_GET["items"])){items();exit;} if(isset($_GET["delete-item-js"])){delete_item_js();exit;} if(isset($_POST["delete-item"])){delete_item();exit;} table(); function role_js(){ header("content-type: application/x-javascript"); $tpl=new templates(); $page=CurrentPageName(); $zmd5=$_GET["zmd5"]; $t=$_GET["t"]; $eth=$_GET["eth"]; if($zmd5==null){$title=$tpl->javascript_parse_text("{new_role}");} if($zmd5<>null){
die; } if (isset($_GET["role-js"])) { role_js(); exit; } if (isset($_GET["role-popup"])) { role_popup(); exit; } if (isset($_POST["step2"])) { role_save(); exit; } if (isset($_GET["step2"])) { role_step2(); exit; } if (isset($_GET["items"])) { items(); exit; } if (isset($_GET["delete-item-js"])) { delete_item_js(); exit; } if (isset($_POST["delete-item"])) { delete_item(); exit; } table();