Changeset 6913 for temp/trunk


Ignore:
Timestamp:
2006/10/26 18:40:10 (20 years ago)
Author:
naka
Message:

* empty log message *

Location:
temp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_View.php

    r6709 r6913  
    4242        $this->_smarty->register_function("str_replace","str_replace"); 
    4343        $this->_smarty->register_function("sfPrintEbisTag","sfPrintEbisTag"); 
     44        $this->_smarty->register_function("sfPrintAffTag","sfPrintAffTag"); 
    4445         
    4546        if(ADMIN_MODE == '1') {      
  • temp/trunk/html/shopping/complete.php

    r6649 r6913  
    1313        $this->tpl_css = '/css/layout/shopping/complete.css'; 
    1414        $this->tpl_title = "¤´Ãíʸ´°Î»"; 
    15         // ¥³¥ó¥Ð¡¼¥¸¥ç¥ó¥¿¥°¤Îɽ¼¨ 
    16         $this->conversion_tag = true; 
    1715        global $arrCONVENIENCE; 
    1816        $this->arrCONVENIENCE = $arrCONVENIENCE; 
     
    4240$objCustomer = new SC_Customer(); 
    4341 
    44 if($_GET['mode'] != 'reload') { 
    45     // Á°¤Î¥Ú¡¼¥¸¤ÇÀµ¤·¤¯ÅÐÏ¿¼ê³¤­¤¬¹Ô¤ï¤ì¤¿¤«È½Äê 
    46     sfIsPrePage($objSiteSess); 
    47     // ¥æ¡¼¥¶¥æ¥Ë¡¼¥¯ID¤Î¼èÆÀ¤È¹ØÆþ¾õÂÖ¤ÎÀµÅöÀ­¤ò¥Á¥§¥Ã¥¯ 
    48     $uniqid = sfCheckNormalAccess($objSiteSess, $objCartSess); 
    49     if ($uniqid != "") { 
    50  
    51         // ´°Î»½èÍý 
    52         $objQuery = new SC_Query(); 
    53         $objQuery->begin(); 
    54         $order_id = lfDoComplete($objQuery, $uniqid); 
    55         $objQuery->commit(); 
    56          
    57         // ¥»¥Ã¥·¥ç¥ó¤ËÊݴɤµ¤ì¤Æ¤¤¤ë¾ðÊó¤ò¹¹¿·¤¹¤ë 
    58         $objCustomer->updateSession(); 
    59  
    60         // ´°Î»¥á¡¼¥ëÁ÷¿® 
    61         if($order_id != "") { 
    62             sfSendOrderMail($order_id, '1'); 
    63         } 
    64  
    65         //¥³¥ó¥Ó¥Ë·èºÑ¾ðÊó¤Î¼èÆÀ 
    66         $conveni_data = $objQuery->get("dtb_order", "conveni_data", "order_id = ? ", array($order_id)); 
    67         if($conveni_data != "") { 
    68             $objPage->arrConv = unserialize($conveni_data); 
    69         } 
    70          
    71         // ¥ê¥í¡¼¥É¤Ë¤è¤ëÆó½ÅÅÐÏ¿Ëɻߠ
    72         sfReload("mode=reload");  
    73     } 
     42// Á°¤Î¥Ú¡¼¥¸¤ÇÀµ¤·¤¯ÅÐÏ¿¼ê³¤­¤¬¹Ô¤ï¤ì¤¿¤«È½Äê 
     43sfIsPrePage($objSiteSess); 
     44// ¥æ¡¼¥¶¥æ¥Ë¡¼¥¯ID¤Î¼èÆÀ¤È¹ØÆþ¾õÂÖ¤ÎÀµÅöÀ­¤ò¥Á¥§¥Ã¥¯ 
     45$uniqid = sfCheckNormalAccess($objSiteSess, $objCartSess); 
     46if ($uniqid != "") { 
     47 
     48    // ´°Î»½èÍý 
     49    $objQuery = new SC_Query(); 
     50    $objQuery->begin(); 
     51    $order_id = lfDoComplete($objQuery, $uniqid); 
     52    $objQuery->commit(); 
     53     
     54    // ¥»¥Ã¥·¥ç¥ó¤ËÊݴɤµ¤ì¤Æ¤¤¤ë¾ðÊó¤ò¹¹¿·¤¹¤ë 
     55    $objCustomer->updateSession(); 
     56 
     57    // ´°Î»¥á¡¼¥ëÁ÷¿® 
     58    if($order_id != "") { 
     59        sfSendOrderMail($order_id, '1'); 
     60    } 
     61 
     62    //¥³¥ó¥Ó¥Ë·èºÑ¾ðÊó¤Î¼èÆÀ 
     63    $conveni_data = $objQuery->get("dtb_order", "conveni_data", "order_id = ? ", array($order_id)); 
     64    if($conveni_data != "") { 
     65        $objPage->arrConv = unserialize($conveni_data); 
     66    } 
     67     
     68    // ¥³¥ó¥Ð¡¼¥¸¥ç¥ó¥Ú¡¼¥¸¤ÎÀßÄê 
     69    $objPage->tpl_conv_page = AFF_SHOPPING_COMPLETE;         
    7470} 
    7571 
Note: See TracChangeset for help on using the changeset viewer.