include_once 'ressources/class.dansguardian.inc'; include_once 'ressources/class.squid.inc'; include_once 'ressources/class.artica.graphs.inc'; $usersmenus = new usersMenus(); if (!$usersmenus->AsDansGuardianAdministrator) { $tpl = new templates(); $alert = $tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('{$alert}');"; die; } if (isset($_POST["ManualArticaDBPath"])) { ArticaDBPathSave(); exit; } if (isset($_POST["SAVENAS"])) { nas_save(); exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["nas-js"])) { nas_js(); exit; } if (isset($_GET["nas-popup"])) { nas_popup(); exit; } js();
include_once('ressources/class.users.menus.inc'); include_once('ressources/class.mysql.inc'); include_once('ressources/class.groups.inc'); include_once('ressources/class.dansguardian.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.artica.graphs.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsDansGuardianAdministrator){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_POST["ManualArticaDBPath"])){ArticaDBPathSave();exit;} if(isset($_POST["SAVENAS"])){nas_save();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["nas-js"])){nas_js();exit;} if(isset($_GET["nas-popup"])){nas_popup();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); header("content-type: application/x-javascript"); $ask=$tpl->javascript_parse_text("{manual_update}"); echo "YahooWin5('700','$page?popup=yes','$ask',true);"; } function nas_js(){