Changeset 7816 for temp/trunk/data


Ignore:
Timestamp:
2006/11/08 18:33:33 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/downloads/module/mdl_epsilon/convenience.php

    r7815 r7816  
    1212class LC_Page { 
    1313    function LC_Page() { 
    14         /** ɬ¤º»ØÄꤹ¤ë **/ 
    15         $this->tpl_mainpage = 'mdl_epsilon/card.tpl';           // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È 
     14        $this->tpl_mainpage = "shopping/convenience.tpl"; 
     15        global $arrCONVENIENCE; 
     16        $this->arrCONVENIENCE = $arrCONVENIENCE; 
    1617        /* 
    1718         session_start»þ¤Îno-cache¥Ø¥Ã¥À¡¼¤òÍÞÀ©¤¹¤ë¤³¤È¤Ç 
     
    2223    } 
    2324} 
     25 
    2426 
    2527$objPage = new LC_Page(); 
     
    7173} 
    7274 
    73 // Á÷¿®¥Ç¡¼¥¿À¸À® 
    74 $arrData = array( 
    75     'contract_code' => $arrPayment[0]["memo01"],                        // ·ÀÌ󥳡¼¥É 
    76     'user_id' => $arrData["customer_id"],                               // ¥æ¡¼¥¶ID 
    77     'user_name' => $arrData["order_name01"].$arrData["order_name02"],   // ¥æ¡¼¥¶Ì¾ 
    78     'user_mail_add' => $arrData["order_email"],                         // ¥á¡¼¥ë¥¢¥É¥ì¥¹ 
    79     'order_number' => $arrData["order_id"],                             // ¥ª¡¼¥À¡¼ÈÖ¹æ 
    80     'item_code' => $arrMainProduct["product_code"],                     // ¾¦ÉÊ¥³¡¼¥É(Âåɽ) 
    81     'item_name' => $arrMainProduct["name"],                             // ¾¦ÉÊ̾(Âåɽ) 
    82     'item_price' => $arrData["payment_total"],                          // ¾¦ÉʲÁ³Ê(Àǹþ¤ßÁí³Û) 
    83     'st_code' => $arrPayment[0]["memo04"],                              // ·èºÑ¶èʬ 
    84     'mission_code' => '1',                                              // ²Ý¶â¶èʬ(¸ÇÄê) 
    85     'process_code' => '1',                                              // ½èÍý¶èʬ(¸ÇÄê) 
    86     'xml' => '1',                                                       // ±þÅú·Á¼°(¸ÇÄê) 
    87     'memo1' => ECCUBE_PAYMENT,                                          // ͽÈ÷01 
    88     'memo2' => ''                                                       // ͽÈ÷02 
    89 ); 
     75switch($_POST["mode"]){ 
     76    case "send": 
     77        // Á÷¿®¥Ç¡¼¥¿À¸À® 
     78        $arrData = array( 
     79            'contract_code' => $arrPayment[0]["memo01"],                        // ·ÀÌ󥳡¼¥É 
     80            'user_id' => $arrData["customer_id"],                               // ¥æ¡¼¥¶ID 
     81            'user_name' => $arrData["order_name01"].$arrData["order_name02"],   // ¥æ¡¼¥¶Ì¾ 
     82            'user_mail_add' => $arrData["order_email"],                         // ¥á¡¼¥ë¥¢¥É¥ì¥¹ 
     83            'order_number' => $arrData["order_id"],                             // ¥ª¡¼¥À¡¼ÈÖ¹æ 
     84            'item_code' => $arrMainProduct["product_code"],                     // ¾¦ÉÊ¥³¡¼¥É(Âåɽ) 
     85            'item_name' => $arrMainProduct["name"],                             // ¾¦ÉÊ̾(Âåɽ) 
     86            'item_price' => $arrData["payment_total"],                          // ¾¦ÉʲÁ³Ê(Àǹþ¤ßÁí³Û) 
     87            'st_code' => $arrPayment[0]["memo04"],                              // ·èºÑ¶èʬ 
     88            'mission_code' => '1',                                              // ²Ý¶â¶èʬ(¸ÇÄê) 
     89            'process_code' => '1',                                              // ½èÍý¶èʬ(¸ÇÄê) 
     90            'xml' => '1',                                                       // ±þÅú·Á¼°(¸ÇÄê) 
     91            'memo1' => ECCUBE_PAYMENT,                                          // ͽÈ÷01 
     92            'memo2' => ''                                                       // ͽÈ÷02 
     93        ); 
     94         
     95        // ¥Ç¡¼¥¿Á÷¿® 
     96        sfPostPaymentData($order_url, $arrData); 
     97     
     98    break; 
     99     
     100    default: 
     101    break; 
     102} 
    90103 
    91 // ¥Ç¡¼¥¿Á÷¿® 
    92 sfPostPaymentData($order_url, $arrData); 
     104$objView->assignobj($objPage); 
     105$objView->display(SITE_FRAME); 
    93106 
    94107//--------------------------------------------------------------------------------------------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.