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
RevLine 
[8501]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 ¤ò»ØÄꤵ¤ì¤Æ¤¤¤Æ³î¤Ä¡¢Æþ¶âºÑ¤ß¤Î¾ì¹ç
[8519]8if($_POST["trans_code"] != "" and $_POST["paid"] == 1 and $_POST["order_number"] != ""){
[8501]9    // ¥¹¥Æ¡¼¥¿¥¹¤òÆþ¶âºÑ¤ß¤ËÊѹ¹¤¹¤ë
[8527]10    $sql = "UPDATE dtb_order SET status = 6, update_date = now() WHERE order_id = ? AND memo04 = ? ";
[8519]11    $objQuery->query($sql, array($_POST["order_number"], $_POST["trans_code"]));
[8527]12   
[8536]13    // POST¤ÎÆâÍÆ¤òÁ´¤Æ¥í¥°Êݸ
[8528]14    $log_path = DATA_PATH . "logs/epsilon.log";
15    gfPrintLog("epsilon conveni start---------------------------------------------------------", $log_path);
[8527]16    foreach($_POST as $key => $val){
[8529]17        gfPrintLog( "\t" . $key . " => " . $val, $log_path);
[8527]18    }
[8528]19    gfPrintLog("epsilon conveni end-----------------------------------------------------------", $log_path);
[8509]20}
[8501]21
22?>
Note: See TracBrowser for help on using the repository browser.