Example #1
0
	
	
	
	if(isset($_GET["members"])){members();exit;}
	
	if(isset($_GET["remote-users"])){remote_users();exit;}
	if(isset($_GET["local-users"])){local_users();exit;}
	if(isset($_GET["member-add"])){members_add();exit;}
	if(isset($_GET["member-delete"])){members_delete();exit;}		
	
	if(isset($_GET["tools"])){tools();exit;}
	if(isset($_GET["run-compile"])){task_run_sarg();exit;}
	
	if(isset($_GET["events"])){events();exit;}
	if(isset($_GET["inline"])){popup();exit;}
	if(isset($_GET["weekly-run-js"])){weekly_run_js();exit;}
	if(isset($_GET["monthly-run-js"])){monthly_run_js();exit;}
	if(isset($_GET["index-run-js"])){index_run_js();exit;}
	
js();


function js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_SARG}");
	$html="YahooWin4('930','$page?popup=yes','$title');";	
	echo $html;
	}
	
Example #2
0
    exit;
}
if (isset($_GET["run-compile"])) {
    task_run_sarg();
    exit;
}
if (isset($_GET["events"])) {
    events();
    exit;
}
if (isset($_GET["inline"])) {
    popup();
    exit;
}
if (isset($_GET["weekly-run-js"])) {
    weekly_run_js();
    exit;
}
if (isset($_GET["monthly-run-js"])) {
    monthly_run_js();
    exit;
}
if (isset($_GET["index-run-js"])) {
    index_run_js();
    exit;
}
js();
function js()
{
    header("content-type: application/x-javascript");
    $page = CurrentPageName();