Changeset 12943


Ignore:
Timestamp:
2007/05/17 18:37:12 (17 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/mobile/nonmember/test.php

    r12941 r12943  
    5656$objPage->arrDay = $objDate->getDay(); 
    5757 
    58 //SSLURLȽÄê 
    59 if (SSLURL_CHECK == 1){ 
    60     $ssl_url= sfRmDupSlash(MOBILE_SSL_URL.$_SERVER['REQUEST_URI']); 
    61     if (!ereg("^https://", $non_ssl_url)){ 
    62         sfDispSiteError(URL_ERROR, "", false, "", true); 
    63     } 
    64 } 
    6558 
    6659// ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ 
     
    7265$objPage->tpl_uniqid = $uniqid; 
    7366 
    74 switch($_POST['mode']) { 
    75 case 'nonmember_confirm': 
    76     $objPage = lfSetNonMember($objPage); 
    77     // ¢¨break¤Ê¤· 
    78 case 'confirm': 
    79     // ÆþÎÏÃͤÎÊÑ´¹ 
    80     $objFormParam->convParam(); 
    81     $objFormParam->toLower('order_mail'); 
    82     $objFormParam->toLower('order_mail_check'); 
    83     $objPage->arrErr = lfCheckError(); 
    84     // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 
    85     if(count($objPage->arrErr) == 0) { 
    86         // DB¤Ø¤Î¥Ç¡¼¥¿ÅÐÏ¿ 
    87         lfRegistData($uniqid); 
    88         // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯ 
    89         $objSiteSess->setRegistFlag(); 
    90         // ¤ª»Ùʧ¤¤ÊýË¡ÁªÂò¥Ú¡¼¥¸¤Ø°ÜÆ° 
    91         header("Location: " . gfAddSessionId(MOBILE_URL_SHOP_PAYMENT)); 
    92         exit;        
    93     } 
    94      
    95     break; 
    96 // Á°¤Î¥Ú¡¼¥¸¤ËÌá¤ë 
    97 case 'return': 
    98     // ³Îǧ¥Ú¡¼¥¸¤Ø°ÜÆ° 
    99     header("Location: " . gfAddSessionId(MOBILE_URL_CART_TOP)); 
    100     exit; 
    101     break; 
    102 case 'nonmember': 
    103     $objPage = lfSetNonMember($objPage); 
    104     // ¢¨break¤Ê¤· 
    105 default: 
    106     if($_GET['from'] == 'nonmember') { 
    107         $objPage = lfSetNonMember($objPage); 
    108     } 
    109     // ¥æ¡¼¥¶¥æ¥Ë¡¼¥¯ID¤Î¼èÆÀ 
    110     $uniqid = $objSiteSess->getUniqId(); 
    111     $objQuery = new SC_Query(); 
    112     $where = "order_temp_id = ?"; 
    113     $arrRet = $objQuery->select("*", "dtb_order_temp", $where, array($uniqid)); 
    114     // DBÃͤμèÆÀ 
    115     $objFormParam->setParam($arrRet[0]); 
    116     $objFormParam->setValue('order_email_check', $arrRet[0]['order_email']); 
    117     $objFormParam->setDBDate($arrRet[0]['order_birth']); 
    118     break; 
    119 } 
    120  
    121 // ¥¯¥Ã¥­¡¼È½Äê 
    122 $objPage->tpl_login_email = $objCookie->getCookie('login_email'); 
    123 if($objPage->tpl_login_email != "") { 
    124     $objPage->tpl_login_memory = "1"; 
    125 } 
     67 
    12668 
    12769// ÁªÂòÍÑÆüÉդμèÆÀ 
Note: See TracChangeset for help on using the changeset viewer.