<!--#include file="head.asp"-->
<style>body{background-color: #fff;}</style>

<%
isjiancecaiwu="no"		'是否检测历史财务流水 

function HasChinese(str) 
HasChinese = false 
dim i 
for i=1 to Len(str) 
if Asc(Mid(str,i,1)) < 0 then 
HasChinese = true 
exit for 
end if 
next 
end function 

sql="select aytixianjin,aytixianfeiyong,lastdate,maxtxsulm,ismaxtxjin,maxtxjin,iskqjiaji,jiajifei,tousutixian from ayquanju" 
rs.open sql,conn,1,1
aytixianjin=cint(rs("aytixianjin")) '最低提现金额
aytxfei=trim(rs("aytixianfeiyong")) '提现手续费
lastdate=cint(rs("lastdate"))     	'当日最晚提现时间
maxtxsulm=cint(rs("maxtxsulm"))   	'每日可提现次数 
ismaxtxjin=cint(rs("ismaxtxjin")) 	'开启多次提现手续费功能  0开启 1关闭
maxtxjin=rs("maxtxjin")          	'超过次数提现金额
iskqjiaji=cint(rs("iskqjiaji"))  	'加急提现开关 0开启加急功能 1关闭
jiajifei=trim(rs("jiajifei"))    	'加急手续费 如输入2 或 输入2%  0为免费
tousutixian=rs("tousutixian")
rs.close

if hour(now())>=lastdate then call PopErr2("请在"&lastdate&"点前进行提现申请","index") 

if SafeRequest("act")="mr" then
	too=SafeRequest("too")
	id=SafeRequest("id")
	if too="" or id="" then call PopErr("缺少参数")
	
	conn.execute "update ayjiesuanid set ayjismoren=0 where ayjuid="&request.Cookies("aynameid")&" and ayjisdel=0"
	
	sql="select * from ayjiesuanid where ayjuid="&request.Cookies("aynameid")&" and ayjid="&id&" and ayjisdel=0" 
	rs.open sql,conn,1,3
	if not(rs.bof and rs.eof) then
	rs("ayjismoren")=1
	rs.update
	end if
	rs.close
	response.Redirect "tixian"
	response.End()
end if


if SafeRequestform("act")="tixian" then
	call chkwurl()
	
	'随机号
	Function randarr()
	Const stringmodarr = "0123456789"
	strlength = Len(stringmodarr)
	Randomize timer
	For i = 1 To 5 
	randarr2 = randarr2&Mid(stringmodarr,Int(Rnd * strlength + 1),1)  
	Next 
	randarr=randarr2
	End Function
	
	'创建财务流水randarrcwku
	select case	trim(request.Cookies("cwku"))
	case "aycaiwu"
	randarrcwku="A"
	case "aycaiwu01"
	randarrcwku="B"
	case "aycaiwu02"
	randarrcwku="C"
	case "aycaiwu03"
	randarrcwku="D"
	case "aycaiwu04"
	randarrcwku="E"
	case "aycaiwu05"
	randarrcwku="F"
	case else
	randarrcwku="A"
	end select
	crandarrlei="C" 	'标示 D订单 C财务
	crandarrhost="A" 	'服务器数据库
	crandarrlast=Right(("00"&Month(Now())),2)&Right(("00"&Day(Now())),2)&Right(("00"&hour(Now())),2)&Right(("00"&minute(Now())),2)&Right(("00"&second(Now())),2)&randarr()
	crandarr=crandarrlei&crandarrhost&randarrcwku&crandarrlast

	
	jin=SafeRequestform("jin")
	pass=SafeRequestform("pass")
	isjiaji=SafeRequestform("isjiaji")
	jsid=SafeRequestform("jsid")
	
	if isjiaji="" then isjiaji=0
	
	if trim(jin)="" or trim(pass)="" then call PopErr("请填写完整") 

	'获取结算ID
	sql="select * from ayjiesuanid where ayjid="&jsid&" and ayjuid="&request.Cookies("aynameid")&" and ayjisdel=0" 
	rs.open sql,conn,1,1
	shoukuanfs=rs("ayjfs")		'1支付宝 2财富通 3银行账号 4微信
	rs.close
	
	'if cint(shoukuanfs)<>3 then
	'if ccur(jin)>1000 then call PopErr("由于支付宝或微信限制，结算金额大于1000请使用网银收款") 
	'end if
 
sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3

	if cint(rs("ayjiesuanms"))<>5 then call PopErr2("只有自助结算模式才可以手动提现","index")
	if ccur(jin)>ccur(rs("ayyue")) then call PopErr2("可用金额不足","tixian")
	if trim(rs("ayanquan"))="0" or trim(rs("ayanquan"))="" then call PopErr2("请先设置支付密码","anquan") 
	if ccur(rs("ayyue"))<=0 then call PopErr2("对不起，系统错误请稍后再试err1","tixian")
		
	if cint(isjiaji)=1 then
	isyxjj="no" '是否加急资格
	if cint(rs("isjiaji"))=1 or cint(rs("isvipid"))=1 or cint(rs("ischengxin"))=1 then isyxjj="yes"
		if isyxjj="no" then 
		call PopErr2("平台VIP会员才支持加急提现","index")
		end if
	end if
	
	if md5(trim(pass))<>trim(rs("ayanquan")) then 
		if request.Cookies("codeerr")="" then response.Cookies("codeerr")=1:else:response.Cookies("codeerr")=request.Cookies("codeerr")+1:end if
		if request.Cookies("codeerr")>4 then
		conn.Execute("Insert Into ayiph(ayipn)values('"&userinip&"')")
		end if
	call PopErr2("支付密码输入有误","tixian")
	end if
	
	
	response.Cookies("codeerr")=""
	
	
	'会员级别
	if cint(rs("ayjibie"))<>5 and cint(rs("ayjibie"))<>9 then
	set rsjb=server.CreateObject("adodb.recordset")
	sqljb="select * from ayujb where ayujbgid="&rs("ayjibie")&"" 
	rsjb.open sqljb,conn,1,1
	aytixianjin=rsjb("ayujbtxje")		  '允许提现最小金额
	aytxfei=trim(rsjb("ayujbtxfei"))	  '提现费用
	jiajifei=trim(rsjb("ayujbjjf"))       '加急手续费
	rsjb.close
	end if
	
	if ccur(jin)<ccur(aytixianjin) then 
	call PopErr2("提现金额应大于平台要求最低提现金额","tixian")
	response.End()
	end if
		
	
	jiajif=0	'加急提现 手续费
	txf=0		'普通提现 手续费
	maxjin=0	'多次提现 手续费
	if cint(iskqjiaji)=1 then isjiaji=0		'全局是否开启加急提现 1关闭
	
	'加急提现
	if cint(isjiaji)=1 then 
			'加急提现手续费
			aytxfeis=split(jiajifei,"%")
			if Ubound(aytxfeis)>0 then
				lei=1  '百分比
				jiajifei=replace(jiajifei,"%"," ")
				jiajifei=trim(jiajifei)
			else
				lei=0 '元
				jiajifei=trim(jiajifei)
			end if
			
			if lei=0 then
			jiajif=jiajifei  '加急手续费
			elseif lei=1 then 
			jiajif=jiajifei/100*jin  '加急手续费
			end if
			if ccur(jiajif)<1 then jiajif=1           '加急手续费下限****************
	
	'普通提现	
	else
		
		'普通提现手续费
		aytxfeis=split(aytxfei,"%")
		if Ubound(aytxfeis)>0 then
			lei=1  '百分比
			aytxfei=replace(aytxfei,"%"," ")
			aytxfei=trim(aytxfei)
		else
			lei=0 '元
			aytxfei=trim(aytxfei)
		end if
		
		if lei=0 then
		txf=aytxfei  '提现手续费
		elseif lei=1 then 
		txf=aytxfei/100*jin  '提现手续费
		end if
			
		'查询提现次数 多次提现手续费
		if cint(ismaxtxjin)=0 then
			set rssum=server.CreateObject("adodb.recordset")
			sqlsum="select aycaiwuuser,aycaiwudate,aycaiwuleibie,aycaiwujine from "&request.Cookies("cwku")&" where aycaiwuuser="&clng(request.Cookies("aynameid"))&" and datediff(day,aycaiwudate,'"&now()&"')=0 and aycaiwuleibie=9" 
			rssum.open sqlsum,conn,1,1
			jinrsum=0
			if not(rssum.bof and rssum.eof) then
			jinrsum=rssum.RecordCount
			end if
			rssum.close
			
			if jinrsum>0 then  '开启多次提现限制 并当日提现大于0
			maxjin=maxtxjin  '多次提现额外手续费
			end if
		end if
			
	end if

	'产生额外费用
	feiyong=ccur(txf)+ccur(maxjin)+ccur(jiajif)
	
	'应扣除免佣费用
	yfeiyong=feiyong
	
	sjjmoney=rs("jjmoney")			'账户剩余减免佣金流量
	if cint(isjiaji)=1 and ccur(sjjmoney)>0 then
		 									
		if ccur(sjjmoney)>=ccur(feiyong) then    		'免佣金流量大于费用
			sjjmoney=ccur(sjjmoney)-ccur(feiyong)		'应除扣后 剩余免佣流量 sjjmoney
			if ccur(sjjmoney)<0 then sjjmoney=0
			feiyong=0
		else         
			yfeiyong=sjjmoney                    		'免佣金流量小于费用
			feiyong=ccur(feiyong)-ccur(sjjmoney)
			if ccur(feiyong)<0 then feiyong=0
			sjjmoney=0
		end if
	else
	yfeiyong=0
	end if
	
	lastjin=ccur(jin)-ccur(feiyong)
	shouxufei="实际到账"&lastjin&"元"
	
	aytxyue=rs("ayyue")
	caiwuyue=ccur(rs("ayyue"))-ccur(jin)
	rs("ayyue")=caiwuyue
	if cint(isjiaji)=1 then rs("jjmoney")=sjjmoney
	rs.update
	rs.close


conn.Execute("Insert Into "&request.Cookies("cwku")&"(aycaiwuleibie,aycailiushui,aycaiwujine,aycaiwuuser,aycaiwudate,aytxjj,aycaiwulastjin,aycaiwuyue,aycaiwutxcl,aycaiwujsms,aycaiwubody,aytxyue,jjmoney,ayjslistid,aycaiwufangshi) values('9','"&crandarr&"',"&jin&",'"&clng(request.Cookies("aynameid"))&"','"&now()&"','"&cint(isjiaji)&"',"&lastjin&","&caiwuyue&",'2','5','"&shouxufei&"',"&aytxyue&","&yfeiyong&","&jsid&",'"&shoukuanfs&"')")
						

if cint(isjiaji)=1 then
call logadd(request.Cookies("aynameid"),"申请加急提现结算"&jin&"元",0,0)
call PopErr2("加急提现申请成功！提现资金将在1-30分钟内到达指定账户。","jiesuan")
else
call logadd(request.Cookies("aynameid"),"申请结算"&jin&"元",0,0)
call PopErr2("提现申请成功！","jiesuan")
end if


end if
%>


<script language="javascript">
function CheckIfid( String )
{ 
    var Letters = "1234567890.";
     var i;
     var c;
      if(String.charAt( 0 )=='-')
	return false;
      if( String.charAt( String.length - 1 ) == '-' )
          return false;
     for( i = 0; i < String.length; i ++ )
     {
          c = String.charAt( i );
	  if (Letters.indexOf( c ) < 0)
	     return false;
     }
     return true;
}

</script>

<script language=javascript>
function check_form()
{
   if(document.form1.jin.value == "") 
   {alert("请填写提现金额");return false;}
   if(document.form1.pass.value == "") 
   {alert("请填写支付密码");return false;}
   
var zhi=document.getElementById("jin").value;
var myPattern = new RegExp("^[.]"); 
if(myPattern.exec(zhi)) 
	{
	document.getElementById("jin").value="";
	alert('提现金额输入有误！');
	return false;
	}

if(zhi<=0 || zhi>=99999)
{
	document.getElementById("jin").value="";
	alert('提现金额输入有误！');
	return false;
}
if(!CheckIfid(zhi))
   {
	document.getElementById("jin").value="";
	alert('提现金额输入有误！');
	return false;
   }
	arrStr=zhi.split(".");
	if(arrStr.length>1){
	document.getElementById("jin").value="";
	alert('目前要求整数提现！');
	return false;
	}
	
   document.form1.tixiansub.value=" 提交中 请勿关闭浏览器 ";
   document.form1.tixiansub.disabled="disabled";
}
</script>

<script type="text/javascript">
function upperCase(){
var zhi=document.getElementById("jin").value;

var myPattern = new RegExp("^[.]"); 

if(myPattern.exec(zhi)) 
	{
	document.getElementById("jin").value="";
	alert('提现金额输入有误！');
	return false;
	}

if(zhi<=0 || zhi>=99999)
{
	document.getElementById("jin").value="";
	alert('提现金额输入有误！');
	return false;
}

if(!CheckIfid(zhi))
   {
	document.getElementById("jin").value="";
	alert('提现金额输入有误！');
	return false;
   }
   
	arrStr=zhi.split(".");
	if(arrStr.length>1){
	document.getElementById("jin").value="";
	alert('目前要求整数提现！');
	return false;
	}

}
</SCRIPT>


<main>
<div  class="container">
<div class="ui-lrctnei">
<%call userleft()%>
<div class="r"> 
<div class="ui-content">
                        
					
                            
<div class="neiye">


            <!-------------------------------------- 开始 -------------------------------------->
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">余额提现</div>
                	<div class="gexian"></div>

                    	<form name="form1" method="post" action="" onSubmit="return check_form()" >
                        <table class="neitableanquan" width="1080">
						<%
					
                        sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
                        rs.open sql,conn,1,1
                        if cint(rs("ayjiesuanms"))<>5 then call PopErr("只有手动提现模式才可以继续操作")
                            
						if cint(rs("tousutixian"))<>2 then
							if cint(tousutixian)=1 or cint(rs("tousutixian"))=1 then
									set rslist=server.CreateObject("adodb.recordset")
									rslist.open "select top 1 ayjubaouid,ayjuzt,ayjubaoid from ayjubao where ayjubaouid="&clng(request.Cookies("aynameid"))&" and ayjuzt=0",conn,1,1
									if not(rslist.bof and rslist.eof) then
										call logadd(request.Cookies("aynameid"),"投诉未处理禁止提现",0,1)
										call PopErr2("在持续高压金融政策下，2018-1-18日起为保障交易安全，您需先处理并撤销投诉！","tousu") 
										response.End
									end if
									rslist.close

							end if
						end if
						
						if cint(rs("istelrz"))=0 then 
						call PopErr2("请认证手机后再进行提现操作","renzheng") 
						response.End
						end if
						
						'if cint(rs("ismailrz"))=0 then 
						'call PopErr2("请认证邮箱后再进行提现操作","renzheng") 
						'response.End
						'end if
						
						if cint(rs("isqzsfz"))=1 then 
							if cint(rs("sfzisok"))<>1 then 
							call PopErr2("请实名认证后再进行提现操作","renzheng") 
							response.End
							end if
						end if
						
						if cint(rs("issprz"))=1 then 
							set rs2=server.CreateObject("adodb.recordset")
							sql2="select * from aypicsite where aypuid="&clng(request.Cookies("aynameid"))&" and aypfang=1" 
							rs2.open sql2,conn,1,3
							if rs2.bof and rs2.eof then
							call PopErr2("商品认证审核通过后再进行提现操作","renzheng") 
							response.End
							else
								do while not rs2.eof
									if cint(rs2("aypzt"))=0 or cint(rs2("aypzt"))=2 then
									call PopErr2("商品认证审核通过后再进行提现操作","renzheng") 
									response.End
									end if
								rs2.movenext
								loop
							end if
							rs2.close
						end if

                            if trim(rs("aytrueuser"))="" then call PopErr2("请先完善信息-真实姓名","myname") 
                            %>

           		  		<tr>
                            <td colspan="2" align="center" width="120">收款账号：</td>
                            <td style="line-height:26px;" >
							<%
							set rsjs=server.CreateObject("adodb.recordset")
							sqljs="select * from ayjiesuanid where ayjuid="&request.Cookies("aynameid")&" and ayjisdel=0 order by ayjismoren desc,ayjid asc" 
							rsjs.open sqljs,conn,1,1
							if rsjs.bof and rsjs.eof then call PopErr2("还未设置结算账号，请先添加一个结算账号","jiesuan_list")
							do while not rsjs.eof
							
							
							response.Write "<input id=a"&rsjs("ayjid")&" name=jsid type=radio value="&rsjs("ayjid")&" "
							if cint(rsjs("ayjismoren"))=1 then response.Write "checked"
							response.Write ">&nbsp;"
							response.Write "<label style=font-weight:normal;cursor:pointer for=a"&rsjs("ayjid")&">"
							
							response.Write trim(rsjs("ayjname"))&"&nbsp;&nbsp;"
							
							if cint(rsjs("ayjfs"))=1 then response.Write "<img src="&ossurl&"images/jz.gif width=20 />  支付宝账号&nbsp;&nbsp;"
							if cint(rsjs("ayjfs"))=4 then response.Write "<img src="&ossurl&"images/jw.gif width=20 />  微信账号&nbsp;&nbsp;"
							if cint(rsjs("ayjfs"))=3 then response.Write "<img src="&ossurl&"images/jyl.gif width=30 />  银行卡号&nbsp;&nbsp;"
							
							
							
							response.Write trim(rsjs("ayjcard"))&"&nbsp;&nbsp;"
							
							if cint(rsjs("ayjfs"))=3 then
							response.Write "【"&trim(rsjs("ayjbank"))&"-"&trim(rsjs("ayjzhihang"))&"】&nbsp;&nbsp;"
							else
							response.Write "<a href="&trim(rsjs("ayjpic"))&" target=_blank>【查看收款码】</a>"
							if cint(rsjs("ayjpicisok"))=2 then response.Write "<a style=color:#F00 href=jiesuan_edit?id="&rsjs("ayjid")&">- 收款码有误请重新上传</a>"
							end if
							
							if cint(rsjs("ayjismoren"))=1 then response.Write "<span style=color:#090>【默认账号】</span>"
							if cint(rsjs("ayjismoren"))=0 then response.Write "<a href=?act=mr&too=1&id="&rsjs("ayjid")&" style=color:#999>【设为默认】</a>"
							
							response.Write "</label><br>"
							
							rsjs.movenext 
							loop
							rsjs.close
							

                            %>
                            </td>
                        </tr>

							<%
                            set rssum=server.CreateObject("adodb.recordset")
                            sqlsum="select aycaiwuuser,aycaiwudate,aycaiwuleibie,aycaiwujine from "&request.Cookies("cwku")&" where aycaiwuuser="&clng(request.Cookies("aynameid"))&" and datediff(day,aycaiwudate,'"&now()&"')=0 and aycaiwuleibie=9" 
                            rssum.open sqlsum,conn,1,1
                            jinrjin=0
                            jinrsum=0
                            if not(rssum.bof and rssum.eof) then
                            jinrsum=rssum.RecordCount
								do while not rssum.eof
								jinrjin=ccur(jinrjin)+ccur(rssum("aycaiwujine"))
								rssum.movenext  
								loop
                            end if
                            rssum.close
                            if jinrsum>=maxtxsulm then call PopErr2("您今天提现次数已超上限，请明天再申请提现！","index")
                            %>

           		  		<tr>
                            <td colspan="2" align="center" width="120">可用余额：</td>
                            <td colspan="2">
                            <strong><%=Formatnumber(rs("ayyue"),3,true,-1,0)%>元</strong>&nbsp;(不含秒结算金额)
                            </td>
                       	  </tr>

           		  		<tr>
                            <td width="120" colspan="2" align="center">提现金额：</td>
                            <td>
                            <input name="jin" type="text" id="jin" onKeyUp="upperCase()" class="reginputdd"  maxlength="5" >元 (需整数，单位元)
                            </td>
                        </tr>
                        
           		  		<tr>
                            <td colspan="2" align="center">支付密码：</td>
                            <td>
                            <input name="pass" type="password" id="pass" maxlength="15" class="reginputpass"  /> <a href="anquan" class="logindlreg2">设置支付密码</a>
                            </td>
                        </tr>
                        

                        
                        <%if iskqjiaji=0 then%>
           		  		<tr>
                            <td colspan="2" align="center" width="120"><span style="color: #FF6600; font-weight: bold">加急提现：</span></td>
                            <td style="line-height:25px;">
							<%
							isyxjj="no" '是否加急资格
							if cint(rs("isjiaji"))=1 or cint(rs("isvipid"))=1 or cint(rs("ischengxin"))=1 then isyxjj="yes"	' cint(rs("isvipid"))=1 VIP    'cint(rs("ayisxiaobao"))=1 and ccur(rs("ayisxiaojin"))>=200

							if isyxjj="yes" then%>
							<input name="isjiaji" type="checkbox" id="isjiaji" value="1"> <label style="padding-top:8px;font-weight:normal;cursor:pointer;" for="isjiaji">加急提现</label>
                            &nbsp;&nbsp;免佣流量<%=Formatnumber(rs("jjmoney"),2,true,0,0)%>元 (手续费优先使用免佣流量) <a style="color:#33F" href="<%=weburl%>buy/duihuanma.html" target="_blank">[购买免佣流量，免手续费]</a>
                            <%else%>
                            <a href="vip" style="color:#F00">您还不支持加急提现，需要开通VIP会员！[立即加入]</a>
							<%end if%>
                            </td>
                        </tr>

                        <%end if%>
                        
           		  		  <tr>
                            <td colspan="2" align="center" width="120">到账时间：</td>
                            <td colspan="2" style="line-height:25px;">
                            普通提现：<%
							if weekdayname(weekday(date()))="星期五" then
							response.Write "预计到账时间 "&date()+3&" "&weekdayname(weekday(date()+3))&" 13点"
							elseif weekdayname(weekday(date()))="星期六" then
							response.Write "预计到账时间 "&date()+2&" "&weekdayname(weekday(date()+2))&" 13点"
							else
							response.Write "预计到账时间 "&date()+1&" "&weekdayname(weekday(date()+1))&" 13点"
							end if%> (工作日与法定节假日暂停结算)
                            <br>
                            加急提现：22:00前提现30分钟到账&nbsp;&nbsp;22:00后提现次日9点到账 手续费:
                                    <%
                                jiajifei=trim(jiajifei)
                                    
                                if jiajifei="0" then
                                jiajifei=0
                                else
                                    jiajifeis=split(jiajifei,"%")
                                    if Ubound(jiajifeis)>0 then
                                        jjlei=1  '百分比
                                        jiajifei=replace(jiajifei,"%"," ")
                                        jiajifei=trim(jiajifei)
                                    else
                                        jjlei=0 '元
                                        jiajifei=trim(jiajifei)
                                    end if
                                end if
                            
                            
                                if jiajifei=0 then
                                response.Write " 免费"
                                else
                                    if jjlei=1 then '百分比
                                    response.Write jiajifei&"%"
                                    elseif jjlei=0 then
                                    response.Write jiajifei&"元"
                                    end if
                                end if
                                %> 
                                    (全年正常到账)
                            </td>
                       	  </tr>
                        
                        
                          <%if cint(rs("ayisjssuo"))=1 then%>
           		  		  <tr>
                            <td colspan="2" align="center" width="120">&nbsp;</td>
                            <td colspan="2"><span style="color: #FF0000">商户余额为锁定状态 请联系管理人员！ </span></td>
                       	  </tr>
                          <%end if%>
                          
           		  		<tr>
                          <td colspan="2" align="center" width="120">&nbsp;</td>
                            <td height="60" colspan="2"><input type="submit" name="Submit" class="logindlreg" value=" 申 请 提 现 " id="tixiansub" <%if cint(rs("ayisjssuo"))=1 then response.Write("disabled")%>></td>
                       	  </tr>

                    </table>
<input name="act" type="hidden"  value="tixian">
<input name="aaa" type="text" style="visibility: hidden;" >
<input name="bbb" type="password" style="visibility: hidden;" />
</form>
                    <%rs.close%>
            <!-------------------------------------- 结束 -------------------------------------->
                   


                                                                 
                   
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            提示：平台最低提现金额为<STRONG><%=Formatnumber(aytixianjin,2,true,-1,0)%></STRONG>元，提现手续费为</STRONG><%
                	aytxfei=trim(aytxfei)
                    aytxfeis=split(aytxfei,"%")
                    if Ubound(aytxfeis)>0 then
                        lei=1  '百分比
                        aytxfei=replace(aytxfei,"%"," ")
                        aytxfei=trim(aytxfei)
                    else
                        lei=0 '元
                        aytxfei=trim(aytxfei)
                    end if
                if aytxfei=0 then
                response.Write "<span style='color: #FF6600'>免费</span>，"%>
                多次提现额外手续费为<%if maxtxjin=0 then
                response.Write "<span style='color: #FF6600'>免费</span>"
                else
                response.Write "<span style='color: #FF6600'>"&maxtxjin&"元</span>"
                end if
                %></STRONG> (加急提现不含额外手续费)
                
                <%else
                
                    if lei=1 then '百分比
                    response.Write "<span style=color: #FF6600>"&aytxfei&"%</span>"
                    elseif lei=0 then
                    response.Write "<span style=color: #FF6600>"&aytxfei&"元</span>"
                    end if
                end if
                %><br>
                到账：普通提现次日13点左右到账，节假日顺延至工作日到账，为保障买家权益，提现需认证手机与邮箱。<br>
                今日累计提现金额：<%=jinrjin%>元，今日提现次数<%=jinrsum%>次，当日提现申请时间为<%=lastdate%>点前。
            </div>

            </div>
            
           




        <div class="clearfix"></div>



</div>








</div>
</div>
</div>
</div>
</main>


<footer>
<div class="container">
</div>
</footer>

</body>
</html>