?? index.php
字號(hào):
<?phpsession_name("UISIGNUP");session_start();include ("../lib/defines.php");include ("../lib/module.access.php");include ("../lib/Form/Class.FormHandler.inc.php");include ("./form_data/FG_var_index.inc");include ("../lib/smarty.php");if ($_GET["dotest"]){ $_POST["lastname"] = $_POST["firstname"] = $_POST["address"] = $_POST["city"] = $_POST["state"] = $_POST["country"] = 'SIGN-'.MDP_STRING(5).'-'.MDP_NUMERIC(3); $_POST["email"] = MDP_STRING(10).'@sign-up.com'; $_POST["zipcode"] = $_POST["phone"] = '12345667789';}/***********************************************************************************/if (!$A2B->config["signup"]['enable_signup']) exit;$HD_Form -> setDBHandler (DbConnect());$HD_Form -> init();if ($id!="" || !is_null($id)){ $HD_Form -> FG_EDITION_CLAUSE = str_replace("%id", "$id", $HD_Form -> FG_EDITION_CLAUSE);}if (!isset($form_action)) $form_action="ask-add"; //ask-addif (!isset($action)) $action = $form_action;$list = $HD_Form -> perform_action($form_action);if($form_action == "add"){ unset($_SESSION["cardnumber_signup"]); $_SESSION["cardnumber_signup"] = $maxi; Header ("Location: signup_confirmation.php");}// #### HEADER SECTION$smarty->display('signup_header.tpl');// #### TOP SECTION PAGE$HD_Form -> create_toppage ($form_action);// #### CREATE FORM OR LIST//$HD_Form -> CV_TOPVIEWER = "menu";if (strlen($_GET["menu"])>0) $_SESSION["menu"] = $_GET["menu"];$HD_Form -> create_form ($form_action, $list, $id=null);// #### FOOTER SECTION// include("PP_footer.php");$smarty->display('signup_footer.tpl');?>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -