コード例 #1
0
ファイル: squid.visited.php プロジェクト: brucewu16899/1.6.x
	
	
	if(isset($_POST["textToParseCats"])){free_catgorized_save();exit;}
	if(isset($_GET["free-cat-explain"])){free_catgorized_explain();exit;}
	
	if(isset($_GET["params"])){parameters();exit;}
	if(isset($_GET["EnableCommunityFilters"])){parameters_save();exit;}
	
	
	if(isset($_GET["CategorizeAll-js"])){CategorizeAll_js();exit;}
	if(isset($_GET["CategorizeAll"])){CategorizeAll_popup();exit;}
	if(isset($_GET["CategorizeAll_category"])){CategorizeAll_perform();exit;}
	if(isset($_GET["cat-explain"])){CategorizeAll_explain();exit;}
	
	
	if(isset($_GET["recategorize-day-js"])){echo recategorize_day_js();exit;}
	if(isset($_POST["recategorize-day-perform"])){recategorize_day_perform();exit;}
	
	
	
js();
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$users=new usersMenus();
	header("content-type: application/x-javascript");

	if(!$users->APP_UFDBGUARD_INSTALLED){
		echo "alert('".$tpl->javascript_parse_text("{APP_UFDBGUARD_NOT_INSTALLED}")."')";
		return;
コード例 #2
0
ファイル: squid.visited.php プロジェクト: BillTheBest/1.6.x
    exit;
}
if (isset($_GET["CategorizeAll"])) {
    CategorizeAll_popup();
    exit;
}
if (isset($_GET["CategorizeAll_category"])) {
    CategorizeAll_perform();
    exit;
}
if (isset($_GET["cat-explain"])) {
    CategorizeAll_explain();
    exit;
}
if (isset($_GET["recategorize-day-js"])) {
    echo recategorize_day_js();
    exit;
}
if (isset($_POST["recategorize-day-perform"])) {
    recategorize_day_perform();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $users = new usersMenus();
    header("content-type: application/x-javascript");
    if (!$users->APP_UFDBGUARD_INSTALLED) {
        echo "alert('" . $tpl->javascript_parse_text("{APP_UFDBGUARD_NOT_INSTALLED}") . "')";