示例#1
0
    exit;
}
if (isset($_GET["acl-file-add"])) {
    acl_file_add();
    exit;
}
if (isset($_GET["acl-file-del"])) {
    acl_file_del();
    exit;
}
if (isset($_GET["acl-file-add-all"])) {
    acl_file_add_all();
    exit;
}
if (isset($_GET["acl-file-enable"])) {
    acl_file_enabled();
    exit;
}
if (isset($_GET["acl-file-del-all"])) {
    acl_file_del_all();
    exit;
}
popup();
function js()
{
    $page = CurrentPageName();
    echo "\$('#BodyContent').load('{$page}');";
}
function popup()
{
    $page = CurrentPageName();
示例#2
0
	if(isset($_GET["acl-net-popup-add"])){acl_net_add_popup();exit;}
	if(isset($_GET["acl-net-add"])){acl_net_add();exit;}
	if(isset($_GET["acl-net-enable"])){acl_net_enabled();exit;}
	
	if(isset($_GET["acl-www"])){acl_www_popup();exit;}
	if(isset($_GET["acl-www-add"])){acl_www_add();exit;}
	if(isset($_GET["acl-www-del"])){acl_www_del();exit;}
	if(isset($_GET["acl-www-enable"])){acl_www_enabled();exit;}
	
	
	if(isset($_GET["acl-file"])){acl_file_popup();exit;}
	if(isset($_GET["acl-file-list"])){acl_file_list();exit;}
	if(isset($_GET["acl-file-add"])){acl_file_add();exit;}
	if(isset($_GET["acl-file-del"])){acl_file_del();exit;}
	if(isset($_GET["acl-file-add-all"])){acl_file_add_all();exit;}
	if(isset($_GET["acl-file-enable"])){acl_file_enabled();exit;}
	if(isset($_GET["acl-file-del-all"])){acl_file_del_all();exit;}
	
	
	
popup();

function byacls_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{bandwith_limitation_full}");
	echo "YahooWinS('650','$page?by-acls=yes&table-source={$_GET["t"]}','$title')";
	
}
function browser_acl_js(){
	$page=CurrentPageName();