更改

跳转至: 导航搜索

Pay.inc.php

添加1,104字节, 2022年11月22日 (二) 03:31
创建页面,内容为“<?php * * Created by PhpStorm. * User: yzg * Date: 2016/1/28 * Time: 16:24: if (!defined('IN_DISCUZ')) { exit('Access Denied'); } //ini_set('display_e...”
<?php
/**
* Created by PhpStorm.
* User: yzg
* Date: 2016/1/28
* Time: 16:24
*/

if (!defined('IN_DISCUZ')) {
exit('Access Denied');
}

//ini_set('display_errors', 1);
//error_reporting(E_ALL ^ E_NOTICE);

include_once DISCUZ_ROOT.'./source/plugin/xigua_re/common.php';

$config = $_G['cache']['plugin']['xigua_re'];
$color = $config['linkcolor'] ? $config['linkcolor'] : '#D75847';
$config['jin'] = explode(',', trim($config['jin']));
foreach ($config['jin'] as $item) {
if ($item > 0) {
$configary[] = $item;
}
}

$touid = intval($_GET['uid']);
$touser = getuserbyuid($touid);
$toavatar = avatar($touid, 'big', true);
$navtitle = $config['linkword'] . $touser['username'];

$user = C::t('#xigua_re#xgre_user')->fetch_user($touid);
$toopenid = $user['openid'];
if(!$toopenid){
if($config['needopenid']) {
dheader('Location:'.dreferer());
exit;
}
}

$subject = $_GET['subject'];
$postid = $_GET['postid'];
$url = $_GET['url'];

include_once template('xigua_re:pay');

//showWindow('sh1', 'http://www.wxigua.com/plugin.php?id=xigua_re:pay', 'get', 0);
383
个编辑

导航菜单