Esempio n. 1
0
    exit;
}
if (isset($_GET["remotesite-config"])) {
    remote_site_edit();
    exit;
}
if (isset($_GET["remotesite-routes"])) {
    remote_site_routes();
    exit;
}
if (isset($_GET["remotesite-routes-list"])) {
    remote_site_routes_list();
    exit;
}
if (isset($_POST["remote-site-route-add"])) {
    remote_site_routes_add();
    exit;
}
if (isset($_POST["remote-site-route-del"])) {
    remote_site_routes_del();
    exit;
}
if (isset($_POST["siteid"])) {
    remote_site_save();
    exit;
}
if (isset($_GET["remotesiteslist"])) {
    echo remote_sitelist();
    exit;
}
if (isset($_GET["delete-siteid"])) {
Esempio n. 2
0
include_once('ressources/class.mysql.inc');
$users=new usersMenus();
if(!$users->AsSystemAdministrator){die("alert('no access');");}


if(isset($_GET["js-inline"])){js_inline();exit;}
if(isset($_GET["popup"])){popup();exit;}

if(isset($_GET["remote-site-js"])){remote_site_js();exit;}
if(isset($_GET["remote-site"])){remote_site_tabs();exit;}
if(isset($_GET["remotesite-config"])){remote_site_edit();exit;}
if(isset($_GET["remotesite-routes"])){remote_site_routes();exit;}
if(isset($_GET["remotesite-routes-list"])){remote_site_routes_list();exit;}


if(isset($_POST["remote-site-route-add"])){remote_site_routes_add();exit;}
if(isset($_POST["remote-site-route-del"])){remote_site_routes_del();exit;}


if(isset($_POST["siteid"])){remote_site_save();exit;}
if(isset($_GET["remotesiteslist"])){echo remote_sitelist();exit;}
if(isset($_GET["delete-siteid"])){remote_site_delete();exit;}
if(isset($_GET["config-site"])){remote_site_config();exit;}
js();



function js_inline(){
	$page=CurrentPageName();
	echo "$('#BodyContent').load('$page?infront=yes');";	
}