- Timestamp:
- 2007/12/19 13:49:35 (15 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/Smarty/templates/default/mobile/mail_templates/customer_mail.tpl
r16582 r16930 33 33 ~~~~~~ 34 34 本会員登録を完了するには下記URLにアクセスしてください。 35 <!--{$smarty.const.MOBILE_SSL_URL}-->regist/index.php?mode=regist&id=<!--{$uniqid}--> 35 <!--{$smarty.const.MOBILE_SSL_URL}-->regist/index.php?mode=regist&id=<!--{$uniqid}--><!--{$etc_value}--> 36 36 37 37 上記URLにて本会員登録が完了いたしましたら改めてご登録内容ご確認メールをお送り致します。 -
branches/feature-module-update/data/Smarty/templates/default/mobile/site_main.tpl
r16582 r16930 23 23 *}--> 24 24 <body bgcolor="#ffffff" text="#555555" link="#3a75af" vlink="#3a75af" alink="#3a75af"> 25 <!--{* Moba8リクエスト用 *}--> 26 <!--{$tpl_conv_page|sfRequestMoba8:$tpl_aff_option}--> 27 25 28 <!--▼MAIN--> 26 29 <!--{include file=$tpl_mainpage}--> -
branches/feature-module-update/data/Smarty/templates/default/site_main.tpl
r16583 r16930 21 21 *}--> 22 22 <body onload="preLoadImg('<!--{$smarty.const.URL_DIR}-->'); <!--{$tpl_onload}-->"> 23 <!--{* A8タグ表示用 *}--> 24 <!--{$tpl_conv_page|sfPrintA8Tag:$tpl_aff_option}--> 25 23 26 <!--{$GLOBAL_ERR}--> 24 27 <noscript> -
branches/feature-module-update/data/class/pages/entry/LC_Page_Entry.php
r16741 r16930 207 207 208 208 // 完了ページに移動させる。 209 $this->sendRedirect($this->getLocation("./complete.php")); 209 $customer_id = $objQuery->get("dtb_customer", "customer_id", "secret_key = ?", array($this->uniqid)); 210 $this->sendRedirect($this->getLocation("./complete.php", array("ci" => $customer_id))); 210 211 exit; 211 212 } … … 463 464 // 空メールを受信済みの場合はすぐに本登録完了にする。 464 465 if (isset($_SESSION['mobile']['kara_mail_from'])) { 465 466 466 $param = array("mode" => "regist", 467 467 "id" => $this->uniqid, … … 486 486 // 仮会員が有効の場合 487 487 if(CUSTOMER_CONFIRM_MAIL == true) { 488 488 // Moba8パラメーターを保持する場合はカラム追加 489 if (isset($_SESSION['a8'])) $this->etc_value = "&a8=". $_SESSION['a8']; 489 490 $subject = $objHelperMail->sfMakeSubject($objQuery, $objMailText, $this, '会員登録のご確認'); 490 491 $toCustomerMail = $objMailText->fetch("mail_templates/customer_mail.tpl"); -
branches/feature-module-update/data/class/pages/entry/LC_Page_Entry_Complete.php
r16741 r16930 52 52 // 本会員登録完了 53 53 $this->tpl_mainpage = 'regist/complete.tpl'; 54 $this->tpl_conv_page = AFF_ENTRY_COMPLETE; 54 55 } 55 56 -
branches/feature-module-update/data/class/pages/regist/LC_Page_Regist.php
r16741 r16930 60 60 */ 61 61 function process() { 62 $objQuery = new SC_Query();63 62 $objView = new SC_SiteView(); 64 63 $objSiteInfo = $objView->objSiteInfo; … … 71 70 72 71 if(!empty($_GET["cp"])) { 73 $etc_val = array("cp" => $_GET['cp']);72 $etc_val['cp'] = $_GET['cp']; 74 73 } 75 74 76 75 //-- 本登録完了のためにメールから接続した場合 77 76 if ($_GET["mode"] == "regist") { 78 79 77 //-- 入力チェック 80 78 $this->arrErr = $this->lfErrorCheck($_GET); 81 79 if ($this->arrErr) { 82 80 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, $this->arrErr["id"]); 81 83 82 } else { 84 83 $registSecretKey = $this->lfRegistData($_GET); //本会員登録(フラグ変更) … … 86 85 87 86 // ログイン済みの状態にする。 88 $email = $objQuery->get("dtb_customer", "email", "secret_key = ?", array($registSecretKey)); 89 $objCustomer->setLogin($email); 87 $objQuery = new SC_Query(); 88 $arrRet = $objQuery->select("customer_id, email", "dtb_customer", "secret_key = ?", array($registSecretKey)); 89 $objCustomer->setLogin($arrRet[0]['email']); 90 $etc_val['ci'] = $arrRet[0]['customer_id']; 91 $_SERVER['QUERY_STRING'] = NULL; 90 92 $this->sendRedirect($this->getLocation("./complete.php", $etc_val)); 91 93 exit; … … 117 119 */ 118 120 function mobileProcess() { 119 $objQuery = new SC_Query();120 121 $objView = new SC_MobileView(); 121 122 $objSiteInfo = $objView->objSiteInfo; … … 139 140 140 141 // ログイン済みの状態にする。 141 142 $objQuery = new SC_Query(); 142 143 $email = $objQuery->get("dtb_customer", "email", "secret_key = ?", array($registSecretKey)); 143 144 $objCustomer->setLogin($email); … … 237 238 //---- 入力エラーチェック 238 239 function lfErrorCheck($array) { 239 240 240 $objQuery = new SC_Query(); 241 241 $objErr = new SC_CheckError($array); -
branches/feature-module-update/data/class/pages/regist/LC_Page_Regist_Complete.php
r16741 r16930 46 46 $this->tpl_mainpage = 'regist/complete.tpl'; 47 47 $this->tpl_title = '会員登録(完了ページ)'; 48 $this->tpl_conv_page = AFF_ENTRY_COMPLETE; 48 49 } 49 50 -
branches/feature-module-update/data/include/module.inc
r15079 r16930 111 111 } 112 112 113 /*------------- ▼A8FLYタグ出力 -------------*/ 114 if (file_exists(MODULE_PATH. "mdl_a8/include.php") === TRUE) { 115 require_once(MODULE_PATH. "mdl_a8/include.php"); 116 } 117 118 /*------------- ▼Moba8FLY連携 -------------*/ 119 if (file_exists(MODULE_PATH. "mdl_moba8/include.php") === TRUE) { 120 require_once(MODULE_PATH. "mdl_moba8/include.php"); 121 } 122 113 123 ?> -
branches/feature-module-update/html/mobile/require.php
r16772 r16930 44 44 $objInit->init(); 45 45 46 //require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php");47 //require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/mobile_conf.php");48 46 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 49 47 require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); … … 87 85 $objMobile->sfMobileInit(); 88 86 } 87 88 // Moba8対応(Moba8パラメータ引き継ぎ) 89 if (function_exists("sfGetMoba8Param") == TRUE) { 90 sfGetMoba8Param($_GET['a8']); 91 } 92 89 93 ?>
Note: See TracChangeset
for help on using the changeset viewer.