Пример #1
0
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["members"])){members();exit;}
	if(isset($_GET["members-add-popup"])){members_add_popup();exit;}
	if(isset($_POST["members-save"])){members_add_save();exit;}
	if(isset($_GET["members-list"])){members_list();exit;}
	if(isset($_GET["members-delete"])){members_delete();exit;}
	if(isset($_GET["members-enable"])){members_enable();exit;}
	
	
	if(isset($_GET["EnableVIPTrack"])){EnableVIPTrackSave();exit;}	
	if(isset($_GET["VIPTrackLastHour"])){ScheduleVIPTrackSave();exit;}
	
	if(isset($_GET["GenerateReportsNow"])){GenerateReportsNow();exit;}
	
	if(isset($_GET["db-status"])){dbstatus();exit;}
	
	
	
js();


function GenerateReportsNow(){
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?VIPTrackRun=yes");
	$tpl=new templates();
	echo $tpl->javascript_parse_text("{reports_generated_check_postmaster_mail}");
Пример #2
0
    exit;
}
if (isset($_GET["members-delete"])) {
    members_delete();
    exit;
}
if (isset($_GET["members-enable"])) {
    members_enable();
    exit;
}
if (isset($_GET["EnableVIPTrack"])) {
    EnableVIPTrackSave();
    exit;
}
if (isset($_GET["VIPTrackLastHour"])) {
    ScheduleVIPTrackSave();
    exit;
}
if (isset($_GET["GenerateReportsNow"])) {
    GenerateReportsNow();
    exit;
}
if (isset($_GET["db-status"])) {
    dbstatus();
    exit;
}
js();
function GenerateReportsNow()
{
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?VIPTrackRun=yes");