function byconfirmSubscription(ordertype){
var ordertype = ordertype;
var balance = 0;
if (ordertype=="vipchap"){
if (!confirm("确定订阅重生之亿万富翁-第302章:兵法融合现代科技?")){
return false;
}
var subChapPriceCount =6;
if(balance>=subChapPriceCount){
var obj = document.getElementById("subscribe");
if(obj.checked){
document.getElementById("autoSub").value="1";
}else{
document.getElementById("autoSub").value="0";
}
document.getElementById("confirmForm").submit();
}else{
var returned = window.confirm("您的账户余额不足,请尽快充值。【Www.feiazw.coM
飞速中文网】确定充值吗?");
if(returned){
forwardDeposit();
}
}
}
if (ordertype=="baoyue"){
if(balance>=3000){
if (!confirm("确定进行全站包月?")){
return false;
}
document.confirmForm.action="/subscription/monthSubscription.action";
//var obj = document.getElementById("subscribe2");
//if(obj.checked){
//document.getElementById("isAutoSub").value="1";
//}else{
//document.getElementById("isAutoSub").value="0";
//}
document.confirmForm.submit();
}else{
var returned = window.confirm("您的账户余额不足,请尽快充值。确定充值吗?");
if(returned){
forwardDeposit();
}
}
}
if (ordertype=="leftsub"){
document.confirmForm.action="/subscription/viewLeftSub.action";
document.confirmForm.submit();
}
}
function forwardDeposit (){
document.confirmForm.action="http://pay.17k.com/main/deposit/deposit.do?method=show";
document.confirmForm.submit();
}
false
看无广告,全文字无错首发小说 , 飞速中文网 - www.feiazw.com ,您的最佳选择!
请收藏本站阅读最新小说 m.feisxs.com
飞速中文唯一官网:feibzw.com 备用域名:feisxs.com