<?php require_once(dirname(__FILE__).'/config.php');
require_once("ldtimeout.php");
if($ldpayoff==1){echo "<font color='#333333' style='font-size:18px; font-weight:bold;'>网站接口维护,请稍后重试.</font>";exit;}
$trade_no=trim(htmlspecialchars($_REQUEST['out_trade_no']));//接收订单号
$optEmail="在线支付";//收款人的账号 用于显示在页面上
$cny=(float)trim(htmlspecialchars($_REQUEST['total_fee'])); //付款金额
$cny = number_format($cny, 2, '.', '');//---------20170823-------------------
$type=trim(htmlspecialchars($_REQUEST['pay'])); //支付方式
if(!in_array($type,[1,2,3])){echo "<font color='#333333' style='font-size:18px; font-weight:bold;'>参数错误</font>";exit;}
$text1=trim(htmlspecialchars($_REQUEST['text1'])); //备用字段1 无需传值 varchar(255) 20180607
$text2=trim(htmlspecialchars($_REQUEST['text2'])); //备用字段2 无需传值 varchar(255) 20180607
$text3=trim(htmlspecialchars($_REQUEST['text3'])); //备用字段3 无需传值 varchar(255 )20180607
$text4=trim(htmlspecialchars($_REQUEST['text4'])); //备用字段4 无需传值 int(8) default '0' 20180607
$text5=trim(htmlspecialchars($_REQUEST['text5'])); //备用字段5 无需传值 int(8) default '0' 20180607
$mobile="0"; //预留参数请设置传递值为
$ewmappid = $dosql->GetOne("SELECT * FROM `#@__ewmadmin` WHERE `id`=1");
$key=$ewmappid['appid'];//APPID
if($type==1){
$appimagename="zfb.png";
$typename="支付宝扫码";
$picurlfx="tyali.jpg";
$ewmmaxn=$cny.".09";
}
if($type==2){
$appimagename="qqqianbao.jpg";
$typename="QQ钱包扫码";
$picurlfx="tyten.jpg";
$ewmmaxn=$cny.".09";
}
if($type==3){
$appimagename="wx.png";
$typename="微信扫码";
$picurlfx="tywx.jpg";
$ewmmaxn=$cny.".09";
}
//判断是否是手机
function is_mobile(){
$regex_match="/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|";
$regex_match.="htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|";
$regex_match.="blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam\-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|";
$regex_match.="symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte\-|longcos|pantech|gionee|^sie\-|portalmmm|";
$regex_match.="jig\s browser|hiptop|^ucweb|^benq|haier|^lct|opera\s*mobi|opera\*mini|320x320|240x320|176x220";
$regex_match.=")/i";
return isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE']) or preg_match($regex_match, strtolower($_SERVER['HTTP_USER_AGENT']));
}
$is_mobile=is_mobile();
if($renyitype==0){
if($is_mobile){
$mobile=2;
if($type<=3){require_once("appapiewm.php");}
}else{
if($type<=3){require_once("apiewm.php");}
}
}else{
if($is_mobile){
$mobile=2;
if($type<=3){require_once("appapiewmry.php");}
}else{
if($type<=3){require_once("apiewmry.php");}
}
}
if(stripos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') === false){
$isweixin=0;
}else{
$isweixin=1;
}
$types = "add_balance";
$custom2= "approved";
$custom6=1;
$urlhistory = $dosql->GetOne("SELECT * FROM `#@__ewmadmin` WHERE `appid`='{$key}' and `type`='{$types}' and fkok=1 and `custom2`='{$custom2}' and `custom6`='{$custom6}' order by id asc");
$httpurls = $urlhistory['urls'];
function getUrllok()
{
return $_SERVER['HTTP_HOST'].'/?qwer='.(2963*$_POST['token_uid']);
}
$urlbak = $urlhistory['jiekou'];
$urlok = "http://".getUrllok();
?>
<?php
if ($mobile==2){
?>
<?php
if ($isweixin==0){
?>
<html class="no-js css-menubar" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<title>在线付款</title>
<link rel="stylesheet" href="wapcss/bootstrap.css">
<link rel="stylesheet" href="wapcss/bootstrap-extend.css">
<link rel="stylesheet" href="wapcss/site.css">
<script type="text/javascript" src="wapcss/jquery-2.1.1.min.js"></script>
</head>
<body class="page-maintenance layout-full">
<div class="page animsition text-center" style="-webkit-animation: 800ms; opacity: 1;">
<div class="page-content vertical-align-middle">
<!-- Qpay -->
<div id="pjax" class="container">
<?php if($type==3){ ?>
<div>
<div><div style="background-color:#019901">
<font face="微软雅黑" style="font-weight:900;" color="#ffffff"><b style="font-weight:900;">微信扫码支付:微信扫码支付需要先保存此二维码到相册然后打开微信→扫一扫→相册→保存的个人收款二维码→完成支付。 <a href="wxexplain.php"><font color="#FFFFFF">>>>点击此处可以查看图文流程<<< </font></a></b></font></div></div>
</div>
<?php } ?>
<div class="row paypage-logo">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-xs-12 paypage-logorow">
<img src="wapcss/<?php echo $appimagename;?>" alt="<?php echo $typename;?>" width="94"></div>
</div>
<div class="row paypage-info">
<div class="col-lg-6 col-lg-offset-2 col-md-7 col-md-offset-1 col-xs-10 col-xs-offset-0">
<p class="paypage-desc">会员ID/订单号:<?php echo $trade_no;?></p>
</div>
<div class="col-lg-2 col-md-3 col-xs-2 clearfix">
<p class="paypage-price">
<span class="paypage-price-number"><?php if ($fenzuid==99999){echo $nameuser;}else{ echo $cny;}?></span>元</p>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-xs-12 paypage-qrrow">
<?php
if ($cfg_remindok=="Y"){
if($type==3){ ?><p id="paypage-tip">
<br>
<h3 style="color:#39AB3A"><?php echo $cfg_remind;?></h3>
<p style="font-size: 32px;
margin-top: 10px;">¥<?php if ($fenzuid==99999){echo $nameuser;}else{ echo $nameuser;}?></p>
<?php } ?>
<?php if($type==1){ ?><p id="paypage-tip">
<p style="font-size: 32px;
margin-top: 10px;">¥<?php if ($fenzuid==99999){echo $nameuser;}else{ echo $nameuser;}?></p>
<?php }
}
?>
<?php if($type==3){ ?><p id="paypage-tip"><b>微信</b>保存二维码到手机相册打开微信扫一扫识别截图进行支付</p><?php } ?>
<?php if($type==1){ ?><p id="paypage-tip"><a href="<?php echo $ewmurl; ?>">支付宝APP如果没有自动跳转可尝试点击此处进行跳转支付</a></p><?php } ?>
<?php if($type==2){ ?><p id="paypage-tip">QQ钱包支付可保存二维码到手机相册打开QQ进行扫一扫识别</p><?php } ?>
<font id="qrcode" ><span id="qrcode_img"><img id="qrcode_load" class="ft-center" width="168" height="168" src="/ewmimages/<?php if ($fenzuid==99999){echo $ewm;}else{ echo $ewm;}?>?v=<?php echo time();?>"></span></font>
<input name="payAmount" id="payAmount" value="<?php echo $cny;?>" type="hidden">
<input name="title" id="title" value="<?php echo $trade_no;?>" type="hidden">
<input name="APPID" id="APPID" value="<?php echo $key;?>" type="hidden">
<input name="type" id="type" value="<?php echo $type;?>" type="hidden">
<input name="beizhu" id="beizhu" value="<?php echo $beizhu;?>" type="hidden">
<input name="zhanghao" id="zhanghao" value="<?php echo $zhanghao;?>" type="hidden">
<p id="paypage-order" class="">
<span data-toggle="tooltip" data-placement="bottom" data-trigger="hover" data-title="支付后将自动发货" class="tip_show" data-original-title="" title="">订单
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
2020 云赏视频付费打赏平台源码V8.1 带安装视频教程 (1571个子文件)
jquery.min.js-v=2.1.4 82KB
layui.all.js.bak 222KB
jquery.min.js.bak 90KB
jquery.min.js.bak 90KB
jquery.min.js.bak 90KB
style.css 451KB
weui.css 361KB
style.css 201KB
box_list.css 163KB
bootstrap-extend.css 157KB
bootstrap-extend.css 157KB
bootstrap-extend.css 157KB
site.css 155KB
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.css 143KB
bootstrap.css 138KB
bootstrap.css 138KB
bootstrap.css 128KB
bootstrap.css 128KB
boostrap.css 120KB
bootstrap.min.css 115KB
bootstrap.min.css 107KB
bootstrap.min.css 107KB
style.min.css-v=0.1.css 98KB
style.min.css 97KB
bootstrap.min.css 95KB
materialdesignicons.min.css 85KB
buttons.css 80KB
buttons.css 80KB
buttons.css 80KB
animate.css 71KB
layui.css 68KB
jquery-weui.css 66KB
style.css 64KB
style.css 64KB
style.css 64KB
style.css 63KB
style.css 63KB
api.css 63KB
api.css 63KB
api.css 63KB
animate.min.css 60KB
animate.min.css 60KB
index.css 60KB
layui.css 58KB
font.css 58KB
play.css 51KB
weui.min.css 50KB
weui.min.css 50KB
style.css 49KB
style.css 49KB
weui.min.css 46KB
weui.min.css 46KB
weui.min.css 46KB
font-awesome-ie7.min.css 46KB
video-js.min.css 38KB
font-awesome.css 37KB
weui.min.css 35KB
style.css 33KB
datepicker3.css 33KB
datepicker3.css 33KB
layui.css 31KB
font-awesome.min.css 30KB
font-awesome.css 28KB
vendor.css 27KB
all-themes.css 25KB
font-awesome.min.css 23KB
bootstrap-theme.css 22KB
default.css 21KB
ui.css 21KB
bootstrap-theme.css 21KB
bootstrap-theme.css 21KB
bootstrap-theme.min.css 19KB
swiper.min.css 19KB
swiper.min.css 19KB
bootstrap-theme.min.css 18KB
bootstrap-theme.min.css 18KB
datepicker.css 18KB
datepicker.css 18KB
styles.css 16KB
styles.css 16KB
bootstrap-datepicker.min.css 15KB
master.css-v=20190413000005.css 15KB
master.css-v=20190413000005.css 15KB
master.css-v=20190413000005.css 15KB
master.css 15KB
master.css 15KB
master.css 15KB
bootstrap-theme.min.css 15KB
layer.css 14KB
layer.css 14KB
layer.css 14KB
layer.css 14KB
layer.css 14KB
site.css 12KB
site.css 12KB
site.css 12KB
layer.css 11KB
共 1571 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
- weixin_480545912020-05-25没有前台吗
weixin_41961749
- 粉丝: 58
- 资源: 85
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 服务器概述服务器概述服务器概述服务器概述.txt
- 华中农业大学python实验题.txt
- 海康威视相机采图交叉编译示例程序,c++
- DETR-基于Tensorflow实现DETR目标检测算法-附流程教程+项目源码-优质项目实战.zip
- 3d激光slam地图发布程序,3d地图点云处理,c++程序
- 送给妈妈的一束鲜花.zip(母亲节祝福HTML源码)
- 稀疏化DETR-基于Pytorch实现稀疏化DETR-SparseDETR-附流程教程+项目源码-优质项目实战.zip
- 人工分类:SLTM的微博评论二分类数据集
- (自适应手机端)响应式房产合同知识产权网站pbootcms模板 企业管理类网站源码下载.zip
- (自适应手机端)响应式动力刀座pbootcms网站模板 五金机械设备类网站源码下载.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功