Changeset 16155
- Timestamp:
- 2007/09/28 15:15:05 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/entry/LC_Page_Entry.php
r16151 r16155 37 37 $this->arrJob = $masterData->getMasterData("mtb_job"); 38 38 $this->arrReminder = $masterData->getMasterData("mtb_reminder"); 39 $ objDate = new SC_Date();40 $this->arrYear = $ objDate->getYear('', 1950); // 日付プルダウン設定41 $this->arrMonth = $ objDate->getMonth();42 $this->arrDay = $ objDate->getDay();39 $this->objDate = new SC_Date(START_BIRTH_YEAR, date("Y",strtotime("now"))); 40 $this->arrYear = $this->objDate->getYear('', 1950); // 日付プルダウン設定 41 $this->arrMonth = $this->objDate->getMonth(); 42 $this->arrDay = $this->objDate->getDay(); 43 43 } 44 44 … … 307 307 $this->arrForm = $_POST; 308 308 309 if($this->arrForm['year'] == '----') { 309 if(isset($this->arrForm['year']) 310 && $this->arrForm['year'] == '----') { 310 311 $this->arrForm['year'] = ''; 311 312 } … … 389 390 390 391 //メール受け取り 391 if ( strtolower($this->arrForm['mail_flag']) == "on") {392 if (isset($this->arrForm['mail_flag']) && strtolower($this->arrForm['mail_flag']) == "on") { 392 393 $this->arrForm['mail_flag'] = "2"; 393 394 } else { … … 480 481 $objMailText->assignobj($this); 481 482 $objHelperMail = new SC_Helper_Mail_Ex(); 483 $objQuery = new SC_Query(); 482 484 483 485 // 仮会員が有効の場合 -
branches/feature-module-update/data/class/pages/entry/LC_Page_Entry_Complete.php
r15565 r16155 70 70 71 71 /** 72 * モバイルページを初期化する. 73 * 74 * @return void 75 */ 76 function mobileInit() { 77 $this->init(); 78 } 79 80 /** 81 * Page のプロセス(モバイル). 82 * 83 * @return void 84 */ 85 function mobileProcess() { 86 $objView = new SC_MobileView(); 87 88 // レイアウトデザインを取得 89 $objLayout = new SC_Helper_PageLayout_Ex(); 90 $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT); 91 92 //---- ページ表示 93 $objView->assignobj($this); 94 $objView->display(SITE_FRAME); 95 } 96 97 /** 72 98 * デストラクタ. 73 99 * -
branches/feature-module-update/html/mobile/entry/complete.php
r15532 r16155 1 1 <?php 2 /* 3 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved. 2 /** 3 * 4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 4 5 * 5 6 * http://www.lockon.co.jp/ 7 * 8 * 9 * モバイルサイト/登録完了 6 10 */ 11 12 // {{{ requires 7 13 require_once("../require.php"); 14 require_once(CLASS_PATH . "page_extends/entry/LC_Page_Entry_Complete_Ex.php"); 8 15 9 class LC_Page { 10 function LC_Page() { 11 $this->tpl_css = '/css/layout/entry/complete.css'; // メインCSSパス 12 13 if(CUSTOMER_CONFIRM_MAIL == true) { 14 // 仮会員登録完了 15 $this->tpl_mainpage = 'entry/complete.tpl'; // メインテンプレート 16 } else { 17 // 本会員登録完了 18 $this->tpl_mainpage = 'regist/complete.tpl'; // メインテンプレート 19 } 20 21 $this->tpl_title .= '会員登録(完了ページ)'; // ページタイトル 22 } 23 } 16 // }}} 17 // {{{ generate page 24 18 25 $objPage = new LC_Page(); 26 $objView = new SC_MobileView(); 27 28 29 // レイアウトデザインを取得 30 $objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT); 31 32 //---- ページ表示 33 $objView->assignobj($objPage); 34 $objView->display(SITE_FRAME); 35 36 //---------------------------------------------------------------------------------------------------------------------- 19 $objPage = new LC_Page_Entry_Complete_Ex(); 20 $objPage->mobileInit(); 21 $objPage->mobileProcess(); 22 register_shutdown_function(array($objPage, "destroy")); 37 23 ?>
Note: See TracChangeset
for help on using the changeset viewer.