- Timestamp:
- 2011/01/18 20:07:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping.php
r19943 r19960 225 225 if(Net_UserAgent_Mobile::isMobile() === true) { 226 226 $this->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId(); 227 }228 }229 230 /**231 * Page のプロセス(モバイル).232 *233 * @return void234 */235 function mobileAction() {236 $objView = new SC_MobileView();237 $objSiteSess = new SC_SiteSession();238 $objCartSess = new SC_CartSession();239 $objCustomer = new SC_Customer();240 $objCookie = new SC_Cookie();241 $this->objFormParam = new SC_FormParam(); // フォーム用242 $helperMobile = new SC_Helper_Mobile_Ex();243 $objDb = new SC_Helper_DB_Ex();244 $this->lfInitParam(); // パラメータ情報の初期化245 $this->objFormParam->setParam($_POST); // POST値の取得246 247 // ユーザユニークIDの取得と購入状態の正当性をチェック248 $uniqid = SC_Utils_Ex::sfCheckNormalAccess($objSiteSess, $objCartSess);249 250 $this->tpl_uniqid = $uniqid;251 252 //ダウンロード商品判定253 $this->cartdown = $objDb->chkCartDown($objCartSess);254 255 // ログインチェック256 if($objCustomer->isLoginSuccess(true)) {257 // すでにログインされている場合258 if ($this->cartdown == 2) {259 // 会員情報の住所を受注一時テーブルに書き込む260 $objDb->sfRegistDelivData($uniqid, $objCustomer);261 // 正常に登録されたことを記録しておく262 $objSiteSess->setRegistFlag();263 //カート内が全てダウンロード商品の場合は支払方法設定画面に転送264 SC_Response_Ex::sendRedirect('payment.php');265 } else {266 // お届け先設定画面に転送267 SC_Response_Ex::sendRedirect('deliv.php');268 }269 exit;270 }271 272 // 携帯端末IDが一致する会員が存在するかどうかをチェックする。273 $this->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId();274 275 // クッキー判定276 $this->tpl_login_email = $objCookie->getCookie('login_email');277 if($this->tpl_login_email != "") {278 $this->tpl_login_memory = "1";279 227 } 280 228 }
Note: See TracChangeset
for help on using the changeset viewer.