Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["SaveParentProxy"])) {
    parent_save();
    exit;
}
if (isset($_GET["edit-proxy-parent-options"])) {
    parent_options_popup();
    exit;
}
if (isset($_GET["edit-proxy-parent-options-explain"])) {
    parent_options_explain();
    exit;
}
if (isset($_GET["extract-options"])) {
    extract_options();
    exit;
}
if (isset($_POST["AddSquidParentOptionOrginal"])) {
    construct_options();
    exit;
}
if (isset($_POST["DeleteSquidOption"])) {
    delete_options();
    exit;
}
if (isset($_GET["parent-list"])) {
    popup_list();
    exit;
}
if (isset($_GET["DeleteSquidParent"])) {
Ejemplo n.º 2
0
	if(isset($_GET["edit-proxy-parent-js"])){parent_config_js();exit;}
	if(isset($_GET["edit-proxy-parent"])){parent_config();exit;}
	if(isset($_GET["edit-proxy-parent-tab"])){parent_tab();exit;}
	if(isset($_GET["edit-proxy-parent-table"])){parent_options_table();exit;}
	if(isset($_GET["SaveParentProxy"])){parent_save();exit;}
	if(isset($_GET["edit-proxy-parent-options"])){parent_options_popup();exit;}
	if(isset($_GET["edit-proxy-parent-options-explain"])){parent_options_explain();exit;}
	if(isset($_GET["extract-options"])){extract_options();exit;}
	if(isset($_POST["AddSquidParentOptionOrginal"])){construct_options();exit;}
	if(isset($_POST["DeleteSquidOption"])){delete_options();exit;}
	if(isset($_GET["parent-list"])){popup_list();exit;}
	if(isset($_GET["DeleteSquidParent"])){parent_delete();exit;}
	if(isset($_GET["EnableParentProxy"])){EnableParentProxy();exit;}
	if(isset($_GET["prefer_direct"])){prefer_direct();exit;}
	if(isset($_GET["nonhierarchical_direct"])){nonhierarchical_direct();exit;}
	if(isset($_GET["parent-list-options"])){extract_options();exit;}
	if(isset($_GET["ActionRun"])){ActionRun();exit;}
	if(isset($_GET["peer_infos"])){$GLOBALS["VERBOSE"]=true;peer_infos();exit;}
popup();
	
function js(){
	$t=time();
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body("{squid_parent_proxy}");
	$html="YahooWin3('875','$page','$title');";
	echo $html;

}

function parent_delete(){