if(isset($_POST["rules-proxy-unlink"])){rules_proxies_unlink();exit;} if(isset($_GET["rules-destination"])){rules_destination_section();exit;} if(isset($_GET["rules-destination-table"])){rules_destination();exit;} if(isset($_GET["rules-destination-search"])){rules_destination_search();exit;} if(isset($_GET["rules-destination-js"])){rules_destination_js();exit;} if(isset($_GET["rules-destination-popup"])){rules_destination_popup();exit;} if(isset($_GET["rules-destination-form2"])){rules_destination_form2();exit;} if(isset($_POST["rules-destination-add"])){rules_destination_create();exit;} if(isset($_POST["rules-destination-edit"])){rules_destination_edit();exit;} if(isset($_POST["rules-destination-move"])){rules_destination_move();exit;} if(isset($_POST["rules-destination-delete"])){rules_destination_delete();exit;} if(isset($_POST["new-rule"])){rules_create();exit;} if(isset($_POST["rules-move"])){rules_move();exit;} if(isset($_POST["rulename"])){rewrite_rule_settings_save();exit;} if(isset($_GET["debug"])){debug_page();exit;} if(isset($_GET["debug-search"])){debug_search();exit;} if(isset($_GET["enable-disable-debug-js"])){debug_disable_js();exit;} if(isset($_POST["ProxyPacDynamicDebug"])){ProxyPacDynamicDebug();exit;} if(isset($_POST["empty-debug"])){debug_empty();exit;} if(isset($_GET["download-debug"])){debug_download();exit;} popup(); function tabs(){ popup(); }
exit; } if (isset($_POST["rewrite-rule-delete"])) { rewrite_rule_delete(); exit; } if (isset($_POST["rewrite-rule-enable"])) { rewrite_rule_enable(); exit; } if (isset($_POST["frompattern"])) { rewrite_rule_items_save(); exit; } if (isset($_POST["rulename"])) { rewrite_rule_settings_save(); exit; } popup(); function rewrite_rule_items_popup() { $tpl = new templates(); $page = CurrentPageName(); $q = new mysql_squid_builder(); $ID = $_GET["ID"]; $ligne = array(); $button = "{add}"; $t = time(); if ($ID > 0) { $sql = "SELECT * FROM webfilters_rewriteitems WHERE ID='{$ID}'"; $ligne = mysql_fetch_array($q->QUERY_SQL($sql));