代码拉取完成,页面将自动刷新
<?php
/**
* 活动报名模块微站定义
* @author 奔跑的蜗牛
* @url http://bbs.we7.cc/
*/
error_reporting(E_ERROR | E_PARSE);//规避非致命错误提示,如未定义的变量
defined('IN_IA') or exit('Access Denied');
define("MODULE_NAME", "aide_activity");
require IA_ROOT . '/addons/' . MODULE_NAME . '/core/common/defines.php';
require aide_CORE . '/class/loader.class.php';
$autoload = aide_CORE . '/class/autoload.php';
if(file_exists($autoload)) require $autoload;
aide_load()->func('global');
aide_load()->model('plugin');
load()->func('tpl');
class aide_activityModuleSite extends WeModuleSite {
function __call($name, $arguments)
{
global $_W,$_GPC;
$_W['_config'] = $this->module['config'];
$_W['plugin'] = plugin_setting();
$isWeb = stripos($name, 'doWeb') === 0;
$isMobile = stripos($name, 'doMobile') === 0;
if($isWeb || $isMobile) {
if($isWeb) {
$dir = aide_WEB;
$controller = strtolower(substr($name, 5));
}
if($isMobile) {
$dir = aide_APP;
$controller = strtolower(substr($name, 8));
}
$file = $dir . '/index.php';
if(file_exists($file)) {
require $file;
exit;
}
}
}
/*结果返回*/
public function payResult($params) {
global $_W;
$_W['page']['title'] = '支付结果';
$_W['uniacid'] = $_W['acid'] = $params['uniacid'];
load()->model('module');
$this->module = module_fetch(MODULE_NAME);
$_W['_config'] = $this->module['config'];
payResult::payNotify($params);
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。