Esempio n. 1
0
    printerror('此充值类型需要 ' . $level_r[$buyr[buygroupid]][groupname] . ' 会员级别以上', '', 1, 0, 1);
}
include 'payfun.php';
$money = $buyr['gmoney'];
if (!$money) {
    printerror('此充值类型金额有误', '', 1, 0, 1);
}
$ddno = '';
$productname = "充值类型:" . $buyr['gname'] . ",UID:" . $user['userid'] . ",UName:" . $user['username'];
$productsay = "用户ID:" . $user['userid'] . ",用户名:" . $user['username'];
esetcookie("payphome", "BuyGroupPay", 0);
esetcookie("paymoneybgid", $id, 0);
//返回地址前缀
$PayReturnUrlQz = $public_r['newsurl'];
if (!stristr($public_r['newsurl'], '://')) {
    $PayReturnUrlQz = eReturnDomain() . $public_r['newsurl'];
}
//编码
if ($ecms_config['sets']['pagechar'] != 'gb2312') {
    @(include_once "../class/doiconv.php");
    $iconv = new Chinese('');
    $char = $ecms_config['sets']['pagechar'] == 'big5' ? 'BIG5' : 'UTF8';
    $targetchar = 'GB2312';
    $productname = $iconv->Convert($char, $targetchar, $productname);
    $productsay = $iconv->Convert($char, $targetchar, $productsay);
    @header('Content-Type: text/html; charset=gb2312');
}
$file = $payr['paytype'] . '/to_pay.php';
@(include $file);
db_close();
$empire = null;
Esempio n. 2
0
function eReturnDomainSiteUrl()
{
    global $public_r;
    $PayReturnUrlQz = $public_r['newsurl'];
    if (!stristr($public_r['newsurl'], '://')) {
        $PayReturnUrlQz = eReturnDomain() . $public_r['newsurl'];
    }
    return $PayReturnUrlQz;
}
Esempio n. 3
0
    }
    return $field;
}
//替换
function RepSpeRssStr($str)
{
    $str = stripSlashes($str);
    $str = ehtmlspecialchars($str, ENT_QUOTES);
    $str = str_replace(array('[!--empirenews.page--]', '[/!--empirenews.page--]', '[', ']'), array('', '', '', ''), $str);
    return $str;
}
//地址验证
if (!stristr($public_r['newsurl'], '://')) {
    $public_r['newsurl'] = eReturnDomain() . $public_r['newsurl'];
}
$sitedomain = eReturnDomain();
//网站域名
$pagetitle = $public_r['sitename'];
$pageurl = $public_r['newsurl'];
$pageecms = 1;
$pageclassid = 0;
$tbname = '';
$add = '';
$yhid = 0;
$yhvar = 'qlist';
//模型ID
$mid = (int) $_GET['mid'];
if ($mid) {
    $tbname = $emod_r[$mid]['tbname'];
    if (empty($tbname)) {
        exit;
Esempio n. 4
0
    if ($stf == $field) {
        $field = '';
    }
    return $field;
}
//替换
function RepSpeRssStr($str)
{
    $str = stripSlashes($str);
    $str = htmlspecialchars($str, ENT_QUOTES);
    $str = str_replace(array('[!--empirenews.page--]', '[/!--empirenews.page--]', '[', ']'), array('', '', '', ''), $str);
    return $str;
}
//地址验证
if (!stristr($public_r['newsurl'], '://')) {
    $public_r['newsurl'] = eReturnDomain() . $public_r['newsurl'];
}
$pagetitle = $public_r['sitename'];
$pageurl = $public_r['newsurl'];
$pageecms = 1;
$pageclassid = 0;
$tbname = '';
$add = '';
$yhid = 0;
$yhvar = 'qlist';
//模型ID
$mid = (int) $_GET['mid'];
if ($mid) {
    $tbname = $emod_r[$mid]['tbname'];
    if (empty($tbname)) {
        exit;