Changeset 15078 for branches/feature-module-update/html/mypage/refusal.php
- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/html/mypage/refusal.php
r14949 r15078 10 10 function LC_Page(){ 11 11 $this->tpl_mainpage = USER_PATH . 'templates/mypage/refusal.tpl'; 12 $this->tpl_title = "MY ¥Ú¡¼¥¸/Âà²ñ¼ê³¤(ÆþÎÏ¥Ú¡¼¥¸)";12 $this->tpl_title = "MYページ/退会手続き(入力ページ)"; 13 13 $this->tpl_navi = USER_PATH . 'templates/mypage/navi.tpl'; 14 14 $this->tpl_mainno = 'mypage'; … … 24 24 $objSiteSess = new SC_SiteSession(); 25 25 26 // ¥í¥°¥¤¥óȽÄê26 //ログイン判定 27 27 if (!$objCustomer->isLoginSuccess()){ 28 28 sfDispSiteError(CUSTOMER_ERROR); 29 29 }else { 30 // ¥Þ¥¤¥Ú¡¼¥¸¥È¥Ã¥×¸ÜµÒ¾ðÊóɽ¼¨ÍÑ30 //マイページトップ顧客情報表示用 31 31 $objPage->CustomerName1 = $objCustomer->getvalue('name01'); 32 32 $objPage->CustomerName2 = $objCustomer->getvalue('name02'); … … 35 35 36 36 37 // ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ37 // レイアウトデザインを取得 38 38 $objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 39 39 … … 42 42 43 43 $objPage->tpl_mainpage = USER_PATH . 'templates/mypage/refusal_confirm.tpl'; 44 $objPage->tpl_title = "MY ¥Ú¡¼¥¸/Âà²ñ¼ê³¤(³Îǧ¥Ú¡¼¥¸)";44 $objPage->tpl_title = "MYページ/退会手続き(確認ページ)"; 45 45 46 // ³Îǧ¥Ú¡¼¥¸¤ò·Ðͳ¤·¤¿¤³¤È¤òÅÐÏ¿46 // 確認ページを経由したことを登録 47 47 $objSiteSess->setRegistFlag(); 48 // hidden ¤Ëuniqid¤òËä¤á¹þ¤à48 // hiddenにuniqidを埋め込む 49 49 $objPage->tpl_uniqid = $objSiteSess->getUniqId(); 50 50 … … 52 52 53 53 case 'complete': 54 // Àµ¤·¤¤Á«°Ü¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯54 // 正しい遷移かどうかをチェック 55 55 lfIsValidMovement($objSiteSess); 56 56 57 // ²ñ°÷ºï½ü57 //会員削除 58 58 $objQuery->exec("UPDATE dtb_customer SET del_flg=1, update_date=now() WHERE customer_id=?", array($objCustomer->getValue('customer_id'))); 59 59 60 60 $objCustomer->EndSession(); 61 // ´°Î»¥Ú¡¼¥¸¤Ø61 //完了ページへ 62 62 header("Location: ./refusal_complete.php"); 63 63 exit; … … 67 67 $objView->display(SITE_FRAME); 68 68 69 // Àµ¤·¤¤Á«°Ü¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯69 // 正しい遷移かどうかをチェック 70 70 function lfIsValidMovement($objSiteSess) { 71 // ³Îǧ¥Ú¡¼¥¸¤«¤é¤ÎÁ«°Ü¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯71 // 確認ページからの遷移かどうかをチェック 72 72 sfIsPrePage($objSiteSess); 73 73 74 // uniqid ¤¬POST¤µ¤ì¤Æ¤¤¤ë¤«¤ò¥Á¥§¥Ã¥¯74 // uniqid がPOSTされているかをチェック 75 75 $uniqid = $objSiteSess->getUniqId(); 76 76 if ( !empty($_POST['uniqid']) && ($_POST['uniqid'] === $uniqid) ) {
Note: See TracChangeset
for help on using the changeset viewer.