Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["members-accounts"])) {
    accounts();
    exit;
}
if (isset($_GET["account-js"])) {
    accounts_js();
    exit;
}
if (isset($_GET["accounts-js"])) {
    accounts_js();
    exit;
}
if (isset($_GET["accounts-popup"])) {
    accounts_popup();
    exit;
}
if (isset($_POST["accounts-delete"])) {
    accounts_delete();
    exit;
}
if (isset($_GET["rdp-download"])) {
    rdpp_download();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
Ejemplo n.º 2
0
	if(isset($_POST["rule-enable"])){subrules_enable();exit;}
	if(isset($_POST["subrule-id"])){subrules_save();exit;}
	if(isset($_GET["rules-tabs"])){rules_tabs();exit;}
	if(isset($_GET["rules-popup"])){rules_popup();exit;}
	
	
	if(isset($_POST["rule-delete"])){members_delete();exit;}
	
	
	if(isset($_POST["serviceport"])){accounts_save();exit;}
	if(isset($_POST["username"])){members_save();exit;}
	if(isset($_GET["accounts-search"])){accounts_search();exit;}
	if(isset($_GET["members-accounts"])){accounts();exit;}
	if(isset($_GET["account-js"])){accounts_js();exit;}
	if(isset($_GET["accounts-js"])){accounts_js();exit;}
	if(isset($_GET["accounts-popup"])){accounts_popup();exit;}
	if(isset($_POST["accounts-delete"])){accounts_delete();exit;}
	
js();
// main_cache_rules

function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$sock=new sockets();
	$t=time();
	$sock->SET_INFO("SquidAsSeenCache",1);
	header("content-type: application/x-javascript");
	$APP_RDPPROXY=$tpl->javascript_parse_text("{cache_rules}");
	echo "
	$('#main_cache_rules_main_tabs').remove();