<?php session_start(); include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.sockets.inc'); 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;
include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.sockets.inc'; 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();