Example #1
0
    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["ajax-events"])) {
    main_artica_update_events_display();
    exit;
}
if (isset($_GET["webfiltering-tabs"])) {
    webfiltering_tabs();
    exit;
}
if (isset($_GET["patchs-list"])) {
    patchs_list();
    exit;
}
if (isset($_POST["UpdatePatchNow"])) {
    patchs_update();
    exit;
}
if (isset($_POST["EnableDisableAllUpgradePackage"])) {
Example #2
0
<?php
	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');
	include_once('ressources/class.system.network.inc');
	$usersmenus=new usersMenus();
	if($usersmenus->AsArticaAdministrator==false){header('location:users.index.php');exit;}	
	if(isset($_GET["main_artica_update"])){main_artica_update_switch();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["ajax-events"])){main_artica_update_events_display();exit;}
	
	
	
	if(isset($_GET["js"])){popup_js();exit;}
	if(isset($_GET["ajax-pop"])){popup();exit;}
	
	
	main_artica_update_page();
	
	
function popup_js(){
	$artica=new artica_general();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{artica_autoupdate}');
	$events=$tpl->_ENGINE_parse_body('{events}');
	$page=CurrentPageName();
	$datas=file_get_contents('js/artica_settings.js');