Example #1
0
    exit;
}
if (isset($_POST["main-subrule-delete"])) {
    main_subrule_delete();
    exit;
}
if (isset($_POST["main-subrule-move"])) {
    main_subrule_move();
    exit;
}
if (isset($_POST["main-rule-delete"])) {
    main_rule_delete();
    exit;
}
if (isset($_POST["main-rule-move"])) {
    main_rule_move();
    exit;
}
if (isset($_POST["main-rule-enable"])) {
    main_rule_enable();
    exit;
}
if (isset($_GET["main-section"])) {
    main_rule();
    exit;
}
if (isset($_GET["main-search"])) {
    main_search();
    exit;
}
if (isset($_GET["main"])) {
	if(isset($_POST["default-rule-save"])){default_save();exit;}
	
	if(isset($_POST["item-enable"])){items_enable();exit;}
	if(isset($_POST["item-move"])){items_move();exit;}
	if(isset($_POST["item"])){items_save();exit;}
	if(isset($_GET["items"])){items();exit;}
	if(isset($_GET["item-js"])){items_js();exit;}
	if(isset($_GET["items-search"])){items_search();exit;}
	if(isset($_GET["item-popup"])){items_popup();exit;}
	if(isset($_POST["item-delete"])){items_delete();exit;}
	
	if(isset($_POST["main-subrule-delete"])){main_subrule_delete();exit;}
	if(isset($_POST["main-subrule-move"])){main_subrule_move();exit;}	
	
	if(isset($_POST["main-rule-delete"])){main_rule_delete();exit;}
	if(isset($_POST["main-rule-move"])){main_rule_move();exit;}
	if(isset($_POST["main-rule-enable"])){main_rule_enable();exit;}
	
	if(isset($_GET["main-section"])){main_rule();exit;}
	if(isset($_GET["main-search"])){main_search();exit;}
	if(isset($_GET["main"])){main_rule();exit();}
	if(isset($_GET["main-js"])){main_js();exit;}
	if(isset($_GET["main-tabs"])){main_tabs();exit;}
	if(isset($_GET["main-rules-tabs"])){main_section_tabs();exit;}
	
	
	if(isset($_GET["options"])){options_section();exit;}
	if(isset($_GET["options-search"])){options_search();exit;}
	if(isset($_POST["options-enable"])){options_enable();exit;}