Ejemplo n.º 1
0
	if(isset($_GET["test-cat"])){test_category();exit;}
	if(isset($_GET["js-popup-master"])){js_popup_master();exit;}
	if(isset($_GET["subtitles-categories"])){subtitle_categories();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["field-list"])){field_list();exit;}
	if(isset($_GET["query"])){query();exit;}
	if(isset($_POST["DeleteCategorizedWebsite"])){DeleteCategorizedWebsite();exit;}
	if(isset($_POST["ReallyDeleteCategorizedWebsite"])){DeleteCategorizedWebsiteReally();exit;}
	if(isset($_GET["move-category-popup"])){MoveCategory_popup();exit;}
	if(isset($_POST["MoveCategorizedWebsite"])){MoveCategorizedWebsite();exit;}
	if(isset($_POST["MoveCategorizedWebsitePattern"])){MoveCategorizedWebsiteAll();exit;}
	if(isset($_GET["RemoveDisabled-popup"])){removedisabled_popup();exit;}
	if(isset($_POST["RemoveDisabled"])){removedisabled_perform();exit;}
	if(isset($_POST["WEBTESTS"])){test_category_perform();exit;}
	if(isset($_POST["move-domain"])){move_domain();exit;}
js();	
	
function js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
	$width=1015;
	$statusfirst=null;
	$title=$tpl->_ENGINE_parse_body("{categories}");
	
	if(isset($_GET["statusfirst"])){$statusfirst="&statusfirst=yes";}
	
	if($_GET["category"]<>null){$title=$title."::{$_GET["category"]}";$width=1015;}
	if($_GET["website"]<>null){
		if(preg_match("#^www\.(.+)#", $_GET["website"],$re)){$_GET["website"]=$re[1];}
Ejemplo n.º 2
0
    exit;
}
if (isset($_GET["RemoveDisabled-popup"])) {
    removedisabled_popup();
    exit;
}
if (isset($_POST["RemoveDisabled"])) {
    removedisabled_perform();
    exit;
}
if (isset($_POST["WEBTESTS"])) {
    test_category_perform();
    exit;
}
if (isset($_POST["move-domain"])) {
    move_domain();
    exit;
}
js();
function js()
{
    header("content-type: application/x-javascript");
    $page = CurrentPageName();
    $tpl = new templates();
    $width = 1015;
    $statusfirst = null;
    $title = $tpl->_ENGINE_parse_body("{categories}");
    if (isset($_GET["statusfirst"])) {
        $statusfirst = "&statusfirst=yes";
    }
    if ($_GET["category"] != null) {