Пример #1
0
	
	if(isset($_GET["yes-cat"])){categorized();exit;}
	if(isset($_GET["yes-cat-list"])){categorized_list();exit;}	
	
	
	if(isset($_GET["free-cat"])){free_catgorized();exit;}
	if(isset($_POST["textToParseCats"])){free_catgorized_save();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;}
	
	
	
	
	
js();

function CategorizeAll_js(){
	$tpl=new templates();
	
	$title=$tpl->_ENGINE_parse_body("{visited_websites}");
	$categorize_this_query=$tpl->_ENGINE_parse_body("{categorize_this_query}");
	$page=CurrentPageName();
	$query=urlencode($_GET["query"]);
	$html="
Пример #2
0
    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;
}
js();
function CategorizeAll_js()
{
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{visited_websites}");
    $categorize_this_query = $tpl->_ENGINE_parse_body("{categorize_this_query}");
    $page = CurrentPageName();
    $query = urlencode($_GET["query"]);
    $html = "\n\t\n\tfunction CategorizeAll(){\n\t\t\tYahooWin4(550,'{$page}?CategorizeAll={$query}&day={$_GET["day"]}','{$categorize_this_query}');\n\t\t\n\t\t}\t\n\t\n\tCategorizeAll();";
    echo $html;
}
function rescan_js()
{