source: branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc @ 15418

Revision 15418, 2.2 KB checked in by naka, 17 years ago (diff)
Line 
1<?php
2/**
3 *
4 * @copyright   2000-2007 LOCKON CO.,LTD. All Rights Reserved.
5 * @version CVS: $Id: mdl_epsilon.inc 7162 2006-11-18 09:53:33Z kakinaka $
6 * @link        http://www.lockon.co.jp/
7 *
8 */
9require_once(DATA_PATH . "module/Request.php");
10
11/**** ¢§Äê¿ôÀë¸À *********************************************************************************************/
12
13define("MDL_ZEUS_ID", 10);
14
15// ¥¯¥ì¥¸¥Ã¥Èʬ³ä²ó¿ô
16$arrPaymentClass = array(
17    '1' => '°ì³çʧ¤¤',
18);
19
20define("ZERO_PC", 1);        // dtb_payment ¤Î¶èʬÍÑ
21define("ZERO_MOBILE", 2);    // dtb_payment ¤Î¶èʬÍÑ
22define("ZERO_CREDIT_ID", 1);      // dtb_payment ¤Î¶èʬÍÑ
23
24// Á÷¿®¥Ñ¥é¥á¡¼¥¿
25define ("SEND_PARAM_CUSTOM", "yes");
26define ("SEND_PARAM_ACT", "imode");
27define ("SEND_PARAM_SEND", "jpall");
28define ("SEND_PARAM_PC_URL", "https://credit.zeroweb.ne.jp/cgi-bin/order.cgi?orders");
29define ("SEND_PARAM_MOBILE_URL", "https://credit.zeroweb.ne.jp/cgi-bin/order.cgi");
30define ("SEND_PARAM_DELIMITER", "_");                           // sendid¤Îʬ³äʸ»ú
31
32// ʸ»ú¿ôÀ©¸Â
33define ("CLIENTIP_LEN", 5);
34define ("SEND_LEN", 20);
35
36
37/**************************************************************************************************************
38 * ´Ø¿ô̾   ¡§sfPostPaymentData
39 * ½èÍýÆâÍÆ ¡§·èºÑ¥Ç¡¼¥¿Á÷¿®½èÍý
40 * °ú¿ô1    ¡§
41 * °ú¿ô2    ¡§
42 * °ú¿ô3    ¡§
43 * Ìá¤êÃÍ   ¡§¼èÆÀ·ë²Ì
44 **************************************************************************************************************/
45function sfPostPaymentData($arrData){
46   
47    sfPrintR($arrData);
48    //Success_order
49    return $arrVal;
50}
51/**************************************************************************************************************
52 * ´Ø¿ô̾   ¡§sfZeusDisp
53 * ½èÍýÆâÍÆ ¡§¶¦Ä̤Îɽ¼¨½èÍý
54 * °ú¿ô1    ¡§
55 * °ú¿ô2    ¡§
56 * °ú¿ô3    ¡§
57 * Ìá¤êÃÍ   ¡§¼èÆÀ·ë²Ì
58 **************************************************************************************************************/
59function sfZeusDisp($objPage, $payment_id) {
60    $objQuery = new SC_Query();
61    // »Ùʧ¤¤ÊýË¡¤ÎÀâÌÀ²èÁü¤ò¼èÆÀ¤¹¤ë¡£
62    $arrRet = $objQuery->select("payment_method, payment_image", "dtb_payment", "payment_id = ?", array($payment_id));
63    $objPage->tpl_payment_method = $arrRet[0]['payment_method'];
64    $objPage->tpl_payment_image = $arrRet[0]['payment_image'];
65    return $objPage;
66}
67?>
Note: See TracBrowser for help on using the repository browser.