Changeset 8553 for temp


Ignore:
Timestamp:
2006/11/19 15:44:23 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

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

    r8551 r8553  
    3737$objView = new SC_AdminView(); 
    3838$objQuery = new SC_Query(); 
     39 
     40// ¥³¥ó¥Ó¥ËÆþ¶â¥Á¥§¥Ã¥¯ 
     41lfEpsilonCheck(); 
    3942 
    4043// ǧ¾Ú³Îǧ 
     
    342345} 
    343346 
     347// ¥³¥ó¥Ó¥ËÆþ¶â³Îǧ½èÍý 
     348function lfEpsilonCheck(){ 
     349    global $objQuery; 
     350     
     351    // trans_code ¤ò»ØÄꤵ¤ì¤Æ¤¤¤Æ³î¤Ä¡¢Æþ¶âºÑ¤ß¤Î¾ì¹ç 
     352    if($_POST["trans_code"] != "" and $_POST["paid"] == 1 and $_POST["order_number"] != ""){ 
     353        // ¥¹¥Æ¡¼¥¿¥¹¤òÆþ¶âºÑ¤ß¤ËÊѹ¹¤¹¤ë 
     354        $sql = "UPDATE dtb_order SET status = 6, update_date = now() WHERE order_id = ? AND memo04 = ? "; 
     355        $objQuery->query($sql, array($_POST["order_number"], $_POST["trans_code"])); 
     356         
     357        // POST¤ÎÆâÍÆ¤òÁ´¤Æ¥í¥°Êݸ 
     358        $log_path = DATA_PATH . "logs/epsilon.log"; 
     359        gfPrintLog("epsilon conveni start---------------------------------------------------------", $log_path); 
     360        foreach($_POST as $key => $val){ 
     361            gfPrintLog( "\t" . $key . " => " . $val, $log_path); 
     362        } 
     363        gfPrintLog("epsilon conveni end-----------------------------------------------------------", $log_path); 
     364    } 
     365} 
     366 
    344367?> 
  • temp/trunk/html/test/kakinaka/send.php

    r8552 r8553  
    44require_once(DATA_PATH . "module/Request.php"); 
    55 
    6 $order_url = "http://test.ec-cube.net/ec-cube/test/kakinaka/epsilon_check.php"; 
     6$order_url = "http://test.ec-cube.net/ec-cube/load_module?module_id=4"; 
    77 
    88$arrData = array( 
Note: See TracChangeset for help on using the changeset viewer.