include_once('ressources/class.users.menus.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.ccurl.inc'); include_once('ressources/class.system.network.inc'); include_once('ressources/class.mysql.syslogs.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["wizard1"])){wizard1();exit;} if(isset($_GET["wizard2"])){wizard2();exit;} if(isset($_GET["wizard3"])){wizard3();exit;} if(isset($_GET["wizard4"])){wizard4();exit;} if(isset($_GET["wizard5"])){wizard5();exit;} if(isset($_GET["wizard6"])){wizard6();exit;} if(isset($_GET["wizard7"])){wizard7();exit;} if(isset($_GET["wizard8"])){wizard8();exit;} if(isset($_GET["wizard9"])){wizard9();exit;} if(isset($_GET["wizard10"])){wizard10();exit;} if(isset($_GET["wizard11"])){wizard11();exit;} if(isset($_GET["wizard12"])){wizard12();exit;} if(isset($_POST["EnableRemoteStatisticsAppliance"])){Save();exit;} if(isset($_POST["SERVER"])){wizard_save();exit;} if(isset($_POST["SquidDBListenPort"])){wizard_save();exit;}
<?php include_once 'ressources/class.templates.inc'; include_once 'ressources/class.main_cf.inc'; $user = new usersMenus(); $tpl = new templates(); if ($user->AsArticaAdministrator == false) { echo $tpl->_ENGINE_parse_body('{no_privileges}'); } if (isset($_GET["wizard1"])) { wizard1(); exit; } if (isset($_GET["wizard2"])) { wizard2(); exit; } if (isset($_GET["wizard3"])) { wizard3(); exit; } if (isset($_GET["wizard4"])) { wizard4(); exit; } if (isset($_GET["wizard5"])) { wizard5(); exit; } if (isset($_GET["wizard6"])) { wizard6();