include_once('ressources/class.mysql.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.cyrus.inc'); include_once('ressources/class.cron.inc'); $users=new usersMenus(); if(!$users->AsMailBoxAdministrator){ $tpl=new templates(); $error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$error')"; die(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["popup-status"])){popup_status();exit;} if(isset($_GET["services-status"])){services_status();exit;} if(isset($_GET["popup-www"])){popup_www();exit;} if(isset($_GET["popup-mailbox"])){popup_mailbox_tabs();exit;} if(isset($_GET["popup-mailbox-section"])){popup_mailbox();exit;} if(isset($_GET["mailboxes"])){mailbox_list();exit;} if(isset($_GET["mailboxes-list"])){mailbox_items();exit;} if(isset($_POST["mailboxes-reload"])){mailbox_items_reload();exit;} if(isset($_GET["popup-license"])){popup_license();exit;} if(isset($_POST["ZarafaHashRebuild"])){popup_mailbox_rebuild();exit;} if(isset($_POST["zlicense"])){save_license();exit;} if(isset($_GET["zarafa-box"])){ZarafaBox();exit;} js(); function js(){ $page=CurrentPageName(); if(isset($_GET["font-size"])){$fontsize="&font-size={$_GET["font-size"]}";} echo "$('#BodyContent').load('$page?popup=yes$fontsize');";
include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.tcpip.inc'; include_once dirname(__FILE__) . '/ressources/class.main_cf.inc'; include_once dirname(__FILE__) . '/ressources/class.ldap.inc'; 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'; $user = new usersMenus(); if ($user->AsSquidAdministrator == false) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["services-status"])) { services_status(); exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["parameters"])) { parameters(); exit; } if (isset($_POST["EnableRDPProxy"])) { EnableRDPProxy(); exit; } if (isset($_GET["members"])) {
} if(isset($_GET["status"])){status();exit;} if(isset($_GET["cas"])){cas_auth();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["options"])){options();exit;} if(isset($_POST["EnableArticaHotSpot"])){SaveEnable();exit;} if(isset($_POST["ArticaHotSpotPort"])){EnableArticaHotSpot();exit;} if(isset($_POST["EnableArticaHotSpotCAS"])){EnableArticaHotSpotCAS();exit;} if(isset($_GET["terme-of-use"])){echo terme_of_use();exit;} if(isset($_POST["USETERMSTEXT"])){xSaveOptions();exit;} if(isset($_POST["USELDAP"])){xSaveOptions();exit;} if(isset($_GET["add-freeweb-js"])){add_freeweb_js();exit;} if(isset($_GET["radius"])){radius_config();exit;} if(isset($_POST["RAD_SERVER"])){xSaveOptions();exit;} if(isset($_GET["hostspot-status"])){services_status();exit;} js(); function js(){ header("content-type: application/x-javascript"); $page=CurrentPageName(); $tpl=new templates(); $YahooWin=2; if(isset($_GET["YahooWin"])){$YahooWin=$_GET["YahooWin"];$YahooWinUri="&YahooWin={$_GET["YahooWin"]}";} $title=$tpl->_ENGINE_parse_body("{HotSpot} V3"); $html=" var YahooWinx=$YahooWin; if(YahooWinx==2){ YahooWin2Hide();