source: temp/trunk/html/test/kakinaka/epsilon_check.php @ 8536

Revision 8536, 867 bytes checked in by kakinaka, 20 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2require_once("../../require.php");
3require_once(MODULE_PATH . "mdl_epsilon/mdl_epsilon.inc");
4
5$objQuery = new SC_Query();
6
7// trans_code ¤ò»ØÄꤵ¤ì¤Æ¤¤¤Æ³î¤Ä¡¢Æþ¶âºÑ¤ß¤Î¾ì¹ç
8if($_POST["trans_code"] != "" and $_POST["paid"] == 1 and $_POST["order_number"] != ""){
9    // ¥¹¥Æ¡¼¥¿¥¹¤òÆþ¶âºÑ¤ß¤ËÊѹ¹¤¹¤ë
10    $sql = "UPDATE dtb_order SET status = 6, update_date = now() WHERE order_id = ? AND memo04 = ? ";
11    $objQuery->query($sql, array($_POST["order_number"], $_POST["trans_code"]));
12   
13    // POST¤ÎÆâÍÆ¤òÁ´¤Æ¥í¥°Êݸ
14    $log_path = DATA_PATH . "logs/epsilon.log";
15    gfPrintLog("epsilon conveni start---------------------------------------------------------", $log_path);
16    foreach($_POST as $key => $val){
17        gfPrintLog( "\t" . $key . " => " . $val, $log_path);
18    }
19    gfPrintLog("epsilon conveni end-----------------------------------------------------------", $log_path);
20}
21
22?>
Note: See TracBrowser for help on using the repository browser.