Discuz.Web/templates/default3.1/usercpcreditspay.htm
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%template _header%>
<div id="nav">
<div class="wrap s_clear">
<a href="{config.forumurl}" class="title">{config.forumtitle}</a> » <a href="usercpprofile.aspx">用户中心</a> » <strong>积分兑换</strong>
</div>
</div>
<div class="wrap with_side s_clear" id="wrap">
<%template _menu%>
<div class="cpmain">
<div class="cpcontent">
<h1>积分兑换</h1>
<%template _scoremenu%>
<%if page_err==0%>
{jscreditsratearray}
<%if ispost%>
<%template _usercpmsgbox%>
<%else%>
<%if {EPayments.IsOpenEPayments()}%>
<script type="text/javascript" reload="1">
function RedirectPayPage() {
var paytype = $('paytype').value;
var amount = $('paycredits').value;
if (amount == '') {
alert('您还没有填写需要充值的积分数量');
return false;
}
if(isNaN(amount)){
alert('请输入正确的数值');
return false;
}
if (paytype == '') {
alert('您还没有选择充值平台');
return false;
}
if(amount<{config.Mincreditstobuy}){
alert('您购买的积分数超过了系统要求的最低数量,无法购买');
return false;
}
if({config.Maxcreditstobuy}>0&&amount>{config.Maxcreditstobuy}){
alert('您购买的积分数超过了系统要求的最高数量,无法购买');
return false;
}
if(amount%1!=0){
alert('购买的积分数必须是整数');
return false;
}
if(!is_ie){
alert('由于您使用的浏览器为非IE浏览器,所以可能造成支付失败,请最好使用IE浏览器');
}
// amount=amount-(amount%1);
window.location.href = "usercpcreditspay.aspx?redirect=" + paytype + "&amount=" + amount;
}
function ShowPayRMB() {
var amount = $('paycredits').value;
if(isNaN(amount)){
$('rmbmsg').style.color = '#FF0000';
$('rmbmsg').innerHTML = '请输入正确的数值';
return false;
}
后面还有 121 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
