예제 #1
0
    exit;
}
if (isset($_GET["postfwd2-delete-item"])) {
    postfwd2_item_delete();
    exit;
}
if (isset($_GET["postfwd2-item-list"])) {
    echo postfwd2_item_list();
    exit;
}
if (isset($_GET["item-form-selected"])) {
    echo postfwd2_item_form_selected();
    exit;
}
if (isset($_GET["postfwd2Down"])) {
    echo postfwd2Down();
    exit;
}
if (isset($_GET["postfwd2Up"])) {
    echo postfwd2Up();
    exit;
}
if (isset($_GET["rbl-list"])) {
    rbl_list();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
예제 #2
0
파일: postfwd2.php 프로젝트: rsd/artica-1.5
	if(isset($_GET["rules-list"])){echo rules_list();exit;}
	if(isset($_GET["rule-form"])){echo rule_form();exit;}
	
	if(isset($_GET["EnablePOSTFWD2"])){EnablePOSTFWD2();exit;}
	if(isset($_GET["reconfigure"])){reconfigure();exit;}
	
	if(isset($_GET["postfwd2-action"])){echo postfwd2_action_form();exit;}
	if(isset($_GET["postfwd2-mod-action"])){echo postfwd2_action_edit();exit;}
	
	
	if(isset($_GET["postfwd2-item"])){echo postfwd2_item_form();exit;}
	if(isset($_GET["postfwd2-add-item"])){echo postfwd2_item_save();exit;}
	if(isset($_GET["postfwd2-delete-item"])){postfwd2_item_delete();exit;}
	if(isset($_GET["postfwd2-item-list"])){echo postfwd2_item_list();exit;}
	if(isset($_GET["item-form-selected"])){echo postfwd2_item_form_selected();exit;}
	if(isset($_GET["postfwd2Down"])){echo postfwd2Down();exit;}
	if(isset($_GET["postfwd2Up"])){echo postfwd2Up();exit;}
	if(isset($_GET["rbl-list"])){rbl_list();exit;}
	
	js();
	
	
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_POSTFWD2}::{$_GET["instance"]}");
	$start="postfwd2Start";
	if(isset($_GET["byou"])){$start="postfwd2Start2";}
	echo "
	function postfwd2Start(){
		document.getElementById('BodyContent').innerHTML='<center><img src=img/wait_verybig.gif></center>';