You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
1.9 KiB
96 lines
1.9 KiB
|
3 years ago
|
<?php
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ECSHOP 余额支付插件
|
||
|
|
* ============================================================================
|
||
|
|
* * 版权所有 2005-2016 上海商创网络科技有限公司,并保留所有权利。
|
||
|
|
* 网站地址: http://www.ecmoban.com;
|
||
|
|
* ----------------------------------------------------------------------------
|
||
|
|
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
|
||
|
|
* 使用;不允许对程序代码以任何形式任何目的的再发布。
|
||
|
|
* ============================================================================
|
||
|
|
* $Author: liubo $
|
||
|
|
* $Id: balance.php 17217 2011-01-19 06:29:08Z liubo $
|
||
|
|
*/
|
||
|
|
|
||
|
|
if (!defined('IN_ECS'))
|
||
|
|
{
|
||
|
|
die('Hacking attempt');
|
||
|
|
}
|
||
|
|
|
||
|
|
$payment_lang = ROOT_PATH . 'languages/' .$GLOBALS['_CFG']['lang']. '/payment/balance.php';
|
||
|
|
|
||
|
|
if (file_exists($payment_lang))
|
||
|
|
{
|
||
|
|
global $_LANG;
|
||
|
|
|
||
|
|
include_once($payment_lang);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 模块的基本信息 */
|
||
|
|
if (isset($set_modules) && $set_modules == TRUE)
|
||
|
|
{
|
||
|
|
$i = isset($modules) ? count($modules) : 0;
|
||
|
|
|
||
|
|
/* 代码 */
|
||
|
|
$modules[$i]['code'] = basename(__FILE__, '.php');
|
||
|
|
|
||
|
|
/* 描述对应的语言项 */
|
||
|
|
$modules[$i]['desc'] = 'balance_desc';
|
||
|
|
|
||
|
|
/* 是否货到付款 */
|
||
|
|
$modules[$i]['is_cod'] = '0';
|
||
|
|
|
||
|
|
/* 是否支持在线支付 */
|
||
|
|
$modules[$i]['is_online'] = '1';
|
||
|
|
|
||
|
|
/* 作者 */
|
||
|
|
$modules[$i]['author'] = 'ECSHOP TEAM';
|
||
|
|
|
||
|
|
/* 网址 */
|
||
|
|
$modules[$i]['website'] = 'http://www.ecmoban.com';
|
||
|
|
|
||
|
|
/* 版本号 */
|
||
|
|
$modules[$i]['version'] = '1.0.0';
|
||
|
|
|
||
|
|
/* 配置信息 */
|
||
|
|
$modules[$i]['config'] = array();
|
||
|
|
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 类
|
||
|
|
*/
|
||
|
|
class balance
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* 构造函数
|
||
|
|
*
|
||
|
|
* @access public
|
||
|
|
* @param
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
function __construct()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 提交函数
|
||
|
|
*/
|
||
|
|
function get_code()
|
||
|
|
{
|
||
|
|
return '';
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 处理函数
|
||
|
|
*/
|
||
|
|
function response()
|
||
|
|
{
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
?>
|