- Timestamp:
- 2011/01/18 20:06:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php
r19912 r19959 45 45 parent::init(); 46 46 $this->tpl_title = 'MYページ'; 47 if ( Net_UserAgent_Mobile::isMobile() === true){ 48 $this->tpl_title .= '/退会手続き(入力ページ)'; 49 } else { 50 $this->tpl_subtitle = '退会手続き(入力ページ)'; 51 } 47 $this->tpl_subtitle = '退会手続き(入力ページ)'; 52 48 $this->tpl_navi = TEMPLATE_REALDIR . 'mypage/navi.tpl'; 53 49 $this->tpl_mainno = 'mypage'; … … 62 58 function process() { 63 59 parent::process(); 64 if ( Net_UserAgent_Mobile::isMobile() === true){ 65 $this->mobileAction(); 66 } else { 67 $this->action(); 68 } 60 $this->action(); 69 61 $this->sendResponse(); 70 62 } … … 76 68 */ 77 69 function action() { 70 $objCustomer = new SC_Customer(); 78 71 $objSiteSess = new SC_SiteSession(); 79 72 80 73 // 退会判定用情報の取得 81 $this->tpl_login = $objCustomer->isLoginSuccess( );74 $this->tpl_login = $objCustomer->isLoginSuccess(true); 82 75 83 76 $this->lfCheckLogin(); … … 101 94 // 正しい遷移かどうかをチェック 102 95 $this->lfIsValidMovement($objSiteSess); 103 $this->lfDeleteCustomer(); //会員削除104 }105 106 }107 108 /**109 * Page のAction(モバイル).110 *111 * @return void112 */113 function mobileAction() {114 115 $objQuery = new SC_Query();116 117 $this->lfCheckLogin();118 119 if (isset($_POST['no'])) {120 SC_Response_Ex::sendRedirect(DIR_INDEX_URL);121 exit;122 } elseif (isset($_POST['complete'])){123 96 $this->lfDeleteCustomer(); //会員削除 124 97 } … … 149 122 $objCustomer = new SC_Customer(); 150 123 //ログイン判定 151 if (!$objCustomer->isLoginSuccess( )){124 if (!$objCustomer->isLoginSuccess(true)){ 152 125 SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 153 126 }else {
Note: See TracChangeset
for help on using the changeset viewer.