Пример #1
0
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["maintenance"])){maintenance_settings();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($_POST["EnableSquidRemoteMySQL"])){SAVE();exit;}
	if(isset($_GET["cnx-status"])){squid_mysql_status();exit;}
	if(isset($_GET["migrate-localdata-js"])){migrate_local_datas_js();exit;}
	if(isset($_POST["migratelocal"])){migrate_local_datas_perform();exit;}
	if(isset($_GET["migr-logs"])){migrlogs();exit;}
	if(isset($_POST["migr-rlogs"])){migrrlogs();exit;}
js();


function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	
	$title=$tpl->_ENGINE_parse_body("{remote_mysql_server}");
	header("content-type: application/x-javascript");
	$html="YahooWin2('850','$page?popup=yes','$title');";
	
	echo $html;
Пример #2
0
    exit;
}
if (isset($_GET["events"])) {
    events();
    exit;
}
if (isset($_POST["EnableSquidRemoteMySQL"])) {
    SAVE();
    exit;
}
if (isset($_GET["cnx-status"])) {
    squid_mysql_status();
    exit;
}
if (isset($_GET["migrate-localdata-js"])) {
    migrate_local_datas_js();
    exit;
}
if (isset($_POST["migratelocal"])) {
    migrate_local_datas_perform();
    exit;
}
if (isset($_GET["migr-logs"])) {
    migrlogs();
    exit;
}
if (isset($_POST["migr-rlogs"])) {
    migrrlogs();
    exit;
}
js();