Exemple #1
0
    exit;
}
if (isset($_GET["loops-list"])) {
    loops_list();
    exit;
}
if (isset($_GET["rewrite"])) {
    rewrite_js();
    exit;
}
if (isset($_GET["rewrite-tabs"])) {
    rewrite_tabs();
    exit;
}
if (isset($_GET["rewrite-source"])) {
    rewrite_source();
    exit;
}
if (isset($_POST["rewrite-source"])) {
    rewrite_source_save();
    exit;
}
if (isset($_GET["servername"])) {
    Save();
    exit;
}
js();
function checksPrivs()
{
    $users = new usersMenus();
    if ($users->AsSystemWebMaster) {
Exemple #2
0
	
	if(isset($_GET["groupwares"])){groupwares_index();}
	if(isset($_POST["FreeWebToGroupWare"])){groupwares_save();exit;}
	
	
	if(isset($_GET["authip-add"])){authip_add();exit;}
	if(isset($_GET["authip-del"])){authip_del();exit;}
	if(isset($_GET["authip-list"])){authip_list();exit;}
	if(isset($_GET["LimitByIp"])){authip_enable();exit;}
	
	if(isset($_GET["loops-list"])){loops_list();exit;}
	
	
	if(isset($_GET["rewrite"])){rewrite_js();exit;}
	if(isset($_GET["rewrite-tabs"])){rewrite_tabs();exit;}
	if(isset($_GET["rewrite-source"])){rewrite_source();exit;}
	if(isset($_POST["rewrite-source"])){rewrite_source_save();exit;}
	
	if(isset($_GET["servername"])){Save();exit;}
	
	js();
	
	
	
function rewrite_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{RewriteRules}::{$_GET["servername"]}");
	echo "YahooWin6('800','$page?rewrite-tabs=yes&servername={$_GET["servername"]}','$title');";