Changeset 6913 for temp/trunk
- Timestamp:
- 2006/10/26 18:40:10 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 3 edited
-
data/class/SC_View.php (modified) (1 diff)
-
data/include/module.inc (modified) (previous)
-
html/shopping/complete.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_View.php
r6709 r6913 42 42 $this->_smarty->register_function("str_replace","str_replace"); 43 43 $this->_smarty->register_function("sfPrintEbisTag","sfPrintEbisTag"); 44 $this->_smarty->register_function("sfPrintAffTag","sfPrintAffTag"); 44 45 45 46 if(ADMIN_MODE == '1') { -
temp/trunk/html/shopping/complete.php
r6649 r6913 13 13 $this->tpl_css = '/css/layout/shopping/complete.css'; 14 14 $this->tpl_title = "¤´Ãíʸ´°Î»"; 15 // ¥³¥ó¥Ð¡¼¥¸¥ç¥ó¥¿¥°¤Îɽ¼¨16 $this->conversion_tag = true;17 15 global $arrCONVENIENCE; 18 16 $this->arrCONVENIENCE = $arrCONVENIENCE; … … 42 40 $objCustomer = new SC_Customer(); 43 41 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 // Á°¤Î¥Ú¡¼¥¸¤ÇÀµ¤·¤¯ÅÐÏ¿¼ê³¤¤¬¹Ô¤ï¤ì¤¿¤«È½Äê 43 sfIsPrePage($objSiteSess); 44 // ¥æ¡¼¥¶¥æ¥Ë¡¼¥¯ID¤Î¼èÆÀ¤È¹ØÆþ¾õÂÖ¤ÎÀµÅöÀ¤ò¥Á¥§¥Ã¥¯ 45 $uniqid = sfCheckNormalAccess($objSiteSess, $objCartSess); 46 if ($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; 74 70 } 75 71
Note: See TracChangeset
for help on using the changeset viewer.
