Changeset 11648 for branches/dev/html/mobile/mypage/index.php
- Timestamp:
- 2007/03/09 10:25:02 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/mobile/mypage/index.php
r11460 r11648 30 30 $objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 31 31 32 // ·ÈÂÓüËöID¤¬°ìÃפ¹¤ë²ñ°÷¤¬Â¸ºß¤¹¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£ 33 $objPage->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId(); 34 32 35 // ¥í¥°¥¤¥ó½èÍý 33 36 if($_POST['mode'] == 'login') { … … 44 47 45 48 if (count($arrErr) == 0){ 46 if($objCustomer->getCustomerDataFromEmailPass($arrForm['login_pass'], $arrForm['login_email'])) { 49 if($objCustomer->getCustomerDataFromMobilePhoneIdPass($arrForm['login_pass']) || 50 $objCustomer->getCustomerDataFromEmailPass($arrForm['login_pass'], $arrForm['login_email'], true)) { 47 51 // ¥í¥°¥¤¥ó¤¬À®¸ù¤·¤¿¾ì¹ç¤Ï·ÈÂÓüËöID¤òÊݸ¤¹¤ë¡£ 48 52 $objCustomer->updateMobilePhoneId(); … … 72 76 73 77 // ¥í¥°¥¤¥ó¥Á¥§¥Ã¥¯ 74 if(! isset($_SESSION['customer'])) {78 if(!$objCustomer->isLoginSuccess()) { 75 79 $objPage->tpl_mainpage = 'mypage/login.tpl'; 76 80 $objView->assignArray($objFormParam->getHashArray());
Note: See TracChangeset
for help on using the changeset viewer.