Ignore:
Timestamp:
2007/07/24 21:57:44 (19 years ago)
Author:
adati
Message:

1.4.2betaのマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/html/mobile/nonmember/deliv_addr.php

    r14676 r15120  
    2424$objSiteSess = new SC_SiteSession(); 
    2525$objCartSess = new SC_CartSession(); 
    26  
    27 ////¥í¥°¥¤¥óȽÄê 
    28 //if (!$objCustomer->isLoginSuccess()){ 
    29 //  sfDispSiteError(CUSTOMER_ERROR, "", false, "", true); 
    30 //} 
    3126 
    3227$objPage->arrForm = $_POST; 
     
    6055 
    6156                       
    62  //-- ÆþÎϥǡ¼¥¿¤ÎÊÑ´¹ 
     57    //-- ÆþÎϥǡ¼¥¿¤ÎÊÑ´¹ 
    6358    $objPage->arrForm = lfConvertParam($objPage->arrForm, $arrRegistColumn);                         
     59 
     60 
     61if($_SESSION['deliv_info']){ 
     62     
     63    foreach($_SESSION['deliv_info'] as $key => $val){ 
     64        $objPage->arrForm[$key] = $val; 
     65    } 
     66     
     67} 
    6468 
    6569// Ìá¤ë¥Ü¥¿¥óÍѽèÍý 
     
    7377        break; 
    7478    default: 
    75          
    76         header("Location: " . gfAddSessionId('index.php')); 
    77         exit; 
     79        header("Location: " . gfAddSessionId('deliv.php')); 
     80        exit; 
     81 
    7882    } 
    7983} 
     
    107111        $objPage->arrErr = lfErrorCheck2($objPage->arrForm); 
    108112        if (count($objPage->arrErr) == 0 && empty($_POST["return"])) { 
    109             $objPage->tpl_mainpage = 'nonmember/set2.tpl'; 
     113             // ÅÐÏ¿ 
     114            $other_deliv_id = lfRegistData($_POST,$arrRegistColumn,$uniqid); 
     115 
     116            // ÅÐÏ¿ºÑ¤ß¤ÎÊ̤ΤªÆÏ¤±Àè¤ò¼õÃí°ì»þ¥Æ¡¼¥Ö¥ë¤Ë½ñ¤­¹þ¤à 
     117            lfRegistOtherDelivData($uniqid, $objCustomer, $other_deliv_id); 
     118            
     119            $_SESSION['deliv_info'] = $_POST; 
     120            // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯ 
     121            $objSiteSess->setRegistFlag(); 
     122            // ¤ª»Ùʧ¤¤ÊýË¡ÁªÂò¥Ú¡¼¥¸¤Ø°Üư 
     123            header("Location: " . gfAddSessionId('./payment.php')); 
     124            exit; 
     125 
     126//          $objPage->tpl_mainpage = 'nonmember/set2.tpl'; 
    110127        } else { 
    111128            $objPage->tpl_mainpage = 'nonmember/set1.tpl'; 
Note: See TracChangeset for help on using the changeset viewer.