示例#1
0
	header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
	header("Cache-Control: no-cache, must-revalidate");
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.mysql.inc');
	$usersmenus=new usersMenus();
	if($usersmenus->AsArticaAdministrator==false){header('location:users.index.php');exit;}	
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_GET["status"])){main_status();exit;}
	if(isset($_GET["CheckEveryMinutes"])){SaveConf();exit;}
	if(isset($_GET["ArticaUpdateInstallPackage"])){ArticaUpdateInstallPackage();exit;}
	if(isset($_GET["auto_update_perform"])){auto_update_perform();exit;}
	if(isset($_GET["PackageUninstall"])){uninstall_package();exit;}
	if(isset($_GET["PackageUninstallRoolback"])){uninstall_rollback_package();exit;}
	if(isset($_GET["apply_uninstall"])){uninstall_to_system();exit;}
	if(isset($_GET["PackageInstall"])){install_package();exit;}
	if(isset($_GET["PackageInstallRoolback"])){install_rollback_package();exit;}
	if(isset($_GET["DeleteEvent"])){main_event_delete();exit;}
	if(isset($_GET["apply_upgrade"])){upgrade_to_system();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	//main_page();
	
	main_js();
	
	
function main_js(){
	$page=CurrentPageName();
	$prefix=str_replace('.',"_",$page);
	$tpl=new templates();
示例#2
0
    exit;
}
if (isset($_GET["ArticaUpdateInstallPackage"])) {
    ArticaUpdateInstallPackage();
    exit;
}
if (isset($_GET["auto_update_perform"])) {
    auto_update_perform();
    exit;
}
if (isset($_GET["PackageUninstall"])) {
    uninstall_package();
    exit;
}
if (isset($_GET["PackageUninstallRoolback"])) {
    uninstall_rollback_package();
    exit;
}
if (isset($_GET["apply_uninstall"])) {
    uninstall_to_system();
    exit;
}
if (isset($_GET["PackageInstall"])) {
    install_package();
    exit;
}
if (isset($_GET["PackageInstallRoolback"])) {
    install_rollback_package();
    exit;
}
if (isset($_GET["DeleteEvent"])) {