exit; } if (isset($_POST["add_computer"])) { main_add_computer(); exit; } if (isset($_POST["root_password"])) { main_save_root(); exit; } if (isset($_GET["script"])) { echo switch_script(); exit; } if (isset($_GET["main"])) { echo switch_main(); exit; } $users = new usersMenus(); if ($users->AsArticaAdministrator == false) { die; } function switch_script() { switch ($_GET["script"]) { case "domain": echo scripts_pdc(); exit; break; default: break;
include_once('ressources/kav4mailservers.inc'); include_once('ressources/class.kas-filter.inc'); include_once('ressources/class.main_cf.inc'); include_once("ressources/class.main_cf_filtering.inc"); include_once("ressources/class.html.pages.inc"); include_once("ressources/class.artica.inc"); include_once("ressources/class.cyrus.inc"); include_once("ressources/class.system.network.inc"); if(isset($_GET["script"])){echo switch_script();exit;} if($_GET["section"]=="js"){echo main_page_js();exit;} $users=new usersMenus(); if($users->AsArticaAdministrator==false){die();} switch_main(); function switch_main(){ switch ($_GET["main"]){ case "init":$content=main_page();break; case "enable_kasper":main_kaspersky();exit;break; case "kasper_level":main_kaspersky_level();exit;break; case "kasper_action":main_kaspersky_action();exit;break; case "kasper_save":main_kaspersky_save();exit;break; case "fetchmail":main_fetchmail();exit;break; case "main_fetchmail_1":main_fetchmail_1();exit;break; case "main_fetchmail_2":main_fetchmail_2();exit;break; case "main_fetchmail_3":main_fetchmail_3();exit;break; case "main_fetchmail_build":main_fetchmail_build();exit;break;
if(isset($_GET["tab"])){switch_tabs();exit;} if(isset($_GET["Newtab"])){add_tab();exit;} if(isset($_GET["delete-tab"])){delete_tab();exit;} if(isset($_GET["DeleteTabConfirmed"])){delete_tab_confirmed();exit;} if(isset($_GET["rebuild-icons"])){rebuildicons();exit;} if(isset($_GET["add-icon"])){main_icon_js();exit;} if(isset($_GET["show-icons"])){main_icon_list();exit;} if(isset($_GET["new_icon"])){add_icon();exit;} if(isset($_GET["delete_icon"])){del_icon();exit;} if(isset($_GET["ChangeClass"])){echo main_icon_list_list();exit;} if(isset($_GET["manage-icon"])){echo manage_icons_js();exit;} if(isset($_GET["show-manage"])){echo manage_icon_page();exit;} if(isset($_GET["move-widget"])){echo manage_icon_move();exit;} if(isset($_GET["widget-manage-list"])){echo manage_icons_list($_GET["widget-manage-list"]);exit;} if(isset($_GET["main"])){switch_main();exit;} if(isset($_GET["left-menus"])){left_menus();exit;} function switch_main(){ switch ($_GET["main"]) { case "frontend":admin_index();exit;break; case "main":admin_index();exit;break; case "warnings":admin_warnings();exit;break; case "monitorix":admin_monitorix();exit;break; case "emails_received":admin_emails_received();exit;break; case "emails_amavis":admin_emails_amavis();exit;break;