Ignore:
Timestamp:
2007/03/09 10:25:02 (17 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/mobile/mypage/index.php

    r11460 r11648  
    3030$objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 
    3131 
     32// ·ÈÂÓüËöID¤¬°ìÃפ¹¤ë²ñ°÷¤¬Â¸ºß¤¹¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£ 
     33$objPage->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId(); 
     34 
    3235// ¥í¥°¥¤¥ó½èÍý 
    3336if($_POST['mode'] == 'login') { 
     
    4447 
    4548    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)) { 
    4751            // ¥í¥°¥¤¥ó¤¬À®¸ù¤·¤¿¾ì¹ç¤Ï·ÈÂÓüËöID¤òÊݸ¤¹¤ë¡£ 
    4852            $objCustomer->updateMobilePhoneId(); 
     
    7276 
    7377// ¥í¥°¥¤¥ó¥Á¥§¥Ã¥¯ 
    74 if(!isset($_SESSION['customer'])) { 
     78if(!$objCustomer->isLoginSuccess()) { 
    7579    $objPage->tpl_mainpage = 'mypage/login.tpl'; 
    7680    $objView->assignArray($objFormParam->getHashArray()); 
Note: See TracChangeset for help on using the changeset viewer.