Beispiel #1
0
    exit;
}
if (isset($_POST["selectDB-save"])) {
    selectDB_save();
    exit;
}
if (isset($_GET["Add-DB-js"])) {
    Add_DB_js();
    exit;
}
if (isset($_POST["Add-DB-save"])) {
    Add_DB_save();
    exit;
}
if (isset($_GET["text-status"])) {
    text_status();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    echo "\n\t\tdocument.getElementById('BodyContent').innerHTML='<center><img src=\"img/wait_verybig.gif\"></center>';\n\t\t\$('#BodyContent').load('{$page}?tabs=yes&tabsize={$_GET["tabsize"]}');";
}
function Add_DB_js()
{
    $uriPlus = null;
    if (is_numeric($_GET["instance-id"])) {
        $appendData = "XHR.appendData('instance-id','{$_GET["instance-id"]}');";
    }
    $page = CurrentPageName();
Beispiel #2
0
	if(isset($_GET["members-list"])){members_list();exit;}
	if(isset($_GET["members-delete"])){members_delete();exit;}
	if(isset($_GET["members-add"])){members_add_popup();exit;}
	if(isset($_POST["members-save"])){members_add_save();exit;}
	if(isset($_GET["mysql-dir"])){mysql_dir_popup();exit;}
	if(isset($_POST["ChangeMysqlDir"])){mysql_dir_save();exit;}
	if(isset($_GET["mysql-status"])){mysql_status();exit;}
	
	if(isset($_GET["selectDB-js"])){selectDB_js();exit;}
	if(isset($_GET["selectDB-popup"])){selectDB_popup();exit;}
	if(isset($_GET["selectDB-list"])){selectDB_list();exit;}
	if(isset($_POST["selectDB-save"])){selectDB_save();exit;}
	
	if(isset($_GET["Add-DB-js"])){Add_DB_js();exit;}
	if(isset($_POST["Add-DB-save"])){Add_DB_save();exit;}
	if(isset($_GET["text-status"])){text_status();exit;}
	
js();

function js(){
	$page=CurrentPageName();
echo "
		document.getElementById('BodyContent').innerHTML='<center><img src=\"img/wait_verybig.gif\"></center>';
		$('#BodyContent').load('$page?tabs=yes&tabsize={$_GET["tabsize"]}');"	;
}
function Add_DB_js(){
	$uriPlus=null;
	if(is_numeric($_GET["instance-id"])){
		$appendData="XHR.appendData('instance-id','{$_GET["instance-id"]}');";
	}	
	$page=CurrentPageName();