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

<%
'call iszizhu()

On error resume next 

Const stringmodarr = "0123456789"
dim randarr2,randarr3,strlength
strlength = Len(stringmodarr) 
Randomize timer
For i = 1 To 6 
randarr2 = randarr2&Mid(stringmodarr,Int(Rnd * strlength + 1),1)  
Next 

'秒结关闭
if SafeRequest("act")="fzguan" then
sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
rs("ayaisalipayfz")=0
rs.update
rs.close
call logadd(request.Cookies("aynameid"),"即时到帐关闭成功",0,0)
call PopErr2("即时到帐功能已关闭！","vip")
end if

if SafeRequest("act")="fzkai" then

sql="select * from ayjiesuanid where ayjuid="&request.Cookies("aynameid")&" and ayjisdel=0 order by ayjismoren desc,ayjid asc" 
rs.open sql,conn,1,1
if rs.bof and rs.eof then call PopErr2("还未设置结算账号，请先添加一个结算账号","jiesuan_list")
rs.close

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3

if cint(rs("istelrz"))=0 then 
call logadd(request.Cookies("aynameid"),"请先认证手机，认证后继续操作",0,1)
call PopErr2("请先认证手机，认证后继续操作！","renzheng")
end if

if cint(rs("ischengxin"))=0 then 
call logadd(request.Cookies("aynameid"),"非可信商户,开启秒结失败",0,1)
call PopErr2("非可信商户！开启秒结失败","vip")
end if

if ccur(rs("ayisxiaojin"))<ccur(xiaobaojine) then 
call logadd(request.Cookies("aynameid"),"平台VIP会员才支持开启秒结功能",0,1)
call PopErr2("2018-1-18日起为保障交易安全，平台VIP会员才支持开启秒结功能！","vip")
end if

rs("ayaisalipayfz")=1
rs.update
rs.close
call logadd(request.Cookies("aynameid"),"即时到帐开启成功",0,0)
call PopErr2("即时到帐功能已开启！","vip")
end if


'消保解冻
if SafeRequest("c")="jd" then
response.End()
sjstr=split(userinip,".")
if len(sjstr(0))=1 then 
sj1="0"&sjstr(0)
else
sj1=mid(sjstr(0),1,1)&mid(sjstr(0),len(sjstr(0)),len(sjstr(0)))
end if
if len(sjstr(1))=1 then 
sj2="0"&sjstr(1)
else
sj2=mid(sjstr(1),1,1)&mid(sjstr(1),len(sjstr(1)),len(sjstr(1)))
end if
sito=sj1&sj2&mid(sjstr(2),len(sjstr(2)),len(sjstr(2)))&mid(sjstr(3),len(sjstr(3)),len(sjstr(3)))
if err.number<>0 then 
sito="080808"
end if


randarr = "C1"&Right(("00"&Day(Now())),2)&Right(("00"&second(Now())),2)&sito&randarr2

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if cint(rs("ayisxiaobao"))=0 then call PopErr("您未开通VIP")
if ccur(rs("ayisxiaojin"))<=0 then call PopErr("VIP金额错误")
'if isnull(trim(rs("xblast")))=false and trim(rs("xblast"))<>"" then
'	if DateDiff("d",now(),rs("xblast"))>=0 then 	'消保冻结日期
'	call logadd(request.Cookies("aynameid"),"消保金额冻结至"&rs("xblast")&"日",0,1)
'	call PopErr("消保金额需保留至"&rs("xblast")&"日")
'	response.End()
'	end if
'end if
'if isnull(trim(rs("xbdate")))=false and trim(rs("xbdate"))<>"" then
'	if DateDiff("d",rs("xbdate"),now())<=30 then 
'	call logadd(request.Cookies("aynameid"),"加入消保金额30天后才可以解冻",0,1)
'	call PopErr("加入消保金额30天后才可以解冻")
'	response.End()
'	end if
'end if
'rs("ayaisalipayfz")=0
'yjin=rs("ayisxiaojin")
'rs("ayisxiaobao")=0
'rs("ayisxiaojin")=0
'rs("ischengxin")=0
'aycaiwuyue=ccur(rs("ayyue"))+ccur(yjin)
'rs("ayyue")=ccur(rs("ayyue"))+ccur(yjin)
'rs.update
rs.close

'conn.Execute("Insert Into "&request.Cookies("cwku")&"(aycaiwuzt,aycaiwuleibie,aycaiwuuser,aycaiwudingdan,aycaiwudate,aycailiushui,aycaiwujine,aycaiwuyue,aycwfsjin,aycwinjin,aycaiwubody) values('1','7','"&request.Cookies("aynameid")&"','"&randarr&"','"&now()&"','"&randarr&"','"&Formatnumber(yjin,3,true,-1,0)&"','"&Formatnumber(aycaiwuyue,3,true,-1,0)&"','"&Formatnumber(yjin,3,true,-1,0)&"','"&Formatnumber(yjin,3,true,-1,0)&"','解冻VIP')")
'call logadd(request.Cookies("aynameid"),"解冻VIP操作成功",0,0)
'call PopErr2("解冻VIP操作成功","myname")
end if



act=SafeRequestform("act")

if act="kaitong" then

sjstr=split(userinip,".")
if len(sjstr(0))=1 then 
sj1="0"&sjstr(0)
else
sj1=mid(sjstr(0),1,1)&mid(sjstr(0),len(sjstr(0)),len(sjstr(0)))
end if
if len(sjstr(1))=1 then 
sj2="0"&sjstr(1)
else
sj2=mid(sjstr(1),1,1)&mid(sjstr(1),len(sjstr(1)),len(sjstr(1)))
end if
sito=sj1&sj2&mid(sjstr(2),len(sjstr(2)),len(sjstr(2)))&mid(sjstr(3),len(sjstr(3)),len(sjstr(3)))
if err.number<>0 then 
sito="080809"
end if


randarr = "C1"&Right(("00"&Day(Now())),2)&Right(("00"&second(Now())),2)&sito&randarr2

yue=cint(SafeRequestform("yue"))
jin=cint(SafeRequestform("jin"))
feiyong=yue*jin

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then

if ccur(rs("ayyue"))<ccur(feiyong) then 
call logadd(request.Cookies("aynameid"),"开通自定义域名余额不足",0,1)
call PopErr2("账户余额不足，请充值后在进行操作","index")
response.End()
end if 
fsyu=ccur(rs("ayyue"))-ccur(feiyong)
rs("ayyue")=ccur(rs("ayyue"))-ccur(feiyong)
'rs("aydongjie")=ccur(rs("aydongjie"))+ccur(feiyong)
rs("ayxiaofei")=ccur(rs("ayxiaofei"))+ccur(feiyong)
rs.update 
rs.close
conn.Execute("Insert Into "&request.Cookies("cwku")&"(aycaiwuleibie,aycaiwuuser,aycaiwudingdan,aycaiwudate,aycaiwuptjy,aycaiwujine,aycaiwuyue,aycaiwuzhifu,aycaiwupid,aycaiwubody,aycaiwuzt) values('5','"&clng(request.Cookies("aynameid"))&"','"&randarr&"','"&now()&"','"&randarr&"','"&Formatnumber(feiyong,3,true,-1,0)&"','"&Formatnumber(fsyu,3,true,-1,0)&"','99','000','开通自定义域名','1')")
call logadd(request.Cookies("aynameid"),"自定义域名开通成功",0,0)
call PopErr2("开通成功","vip")
end if
end if



if act="xufei" then

sjstr=split(userinip,".")
if len(sjstr(0))=1 then 
sj1="0"&sjstr(0)
else
sj1=mid(sjstr(0),1,1)&mid(sjstr(0),len(sjstr(0)),len(sjstr(0)))
end if
if len(sjstr(1))=1 then 
sj2="0"&sjstr(1)
else
sj2=mid(sjstr(1),1,1)&mid(sjstr(1),len(sjstr(1)),len(sjstr(1)))
end if
sito=sj1&sj2&mid(sjstr(2),len(sjstr(2)),len(sjstr(2)))&mid(sjstr(3),len(sjstr(3)),len(sjstr(3)))
if err.number<>0 then 
sito="080810"
end if


randarr = "C1"&Right(("00"&Day(Now())),2)&Right(("00"&second(Now())),2)&sito&randarr2

yue=cint(SafeRequestform("yue"))
jin=cint(SafeRequestform("jin"))
feiyong=yue*jin

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then

if ccur(rs("ayyue"))<ccur(feiyong) then 
call logadd(request.Cookies("aynameid"),"续费自定义域名余额不足",0,1)
call PopErr2("账户余额不足，请充值后在进行操作","index")
response.End()
end if 
fsyu=ccur(rs("ayyue"))-ccur(feiyong)
rs("ayyue")=ccur(rs("ayyue"))-ccur(feiyong)
'rs("aydongjie")=ccur(rs("aydongjie"))+ccur(feiyong)
rs("ayxiaofei")=ccur(rs("ayxiaofei"))+ccur(feiyong)
rs.update 
rs.close

conn.Execute("Insert Into "&request.Cookies("cwku")&"(aycaiwuleibie,aycaiwuuser,aycaiwudingdan,aycaiwudate,aycaiwuptjy,aycaiwujine,aycaiwuyue,aycaiwuzhifu,aycaiwupid,aycaiwubody,aycaiwuzt) values('5','"&clng(request.Cookies("aynameid"))&"','"&randarr&"','"&now()&"','"&randarr&"','"&Formatnumber(feiyong,3,true,-1,0)&"','"&Formatnumber(fsyu,3,true,-1,0)&"','99','000','续费自定义域名','1')")
call logadd(request.Cookies("aynameid"),"续费自定义域名成功",0,0)
call PopErr2("续费成功","vip")
end if
end if



if act="addyuming" then
yuming=trim(SafeRequestform("yuming"))

if yuming="" then call PopErr("填写有误")

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then

rs.update 
rs.close
call logadd(request.Cookies("aynameid"),"自定义域名信息设置成功",0,0)
call PopErr2("自定义内容设置成功","vip")
end if
end if



if act="tgkaitong22" then

yue=cint(SafeRequestform("yue"))
jin=cint(SafeRequestform("jin"))
feiyong=yue*jin

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then

if ccur(rs("ayyue"))<ccur(feiyong) then 
call PopErr2("账户余额不足，请充值后在进行操作","index")
response.End()
end if 

rs("ayyue")=ccur(rs("ayyue"))-ccur(feiyong)
'rs("aydongjie")=ccur(rs("aydongjie"))+ccur(feiyong)
rs.update 
rs.close
conn.Execute("Insert Into "&request.Cookies("cwku")&"(aycaiwuleibie,aycaiwuuser,aycaiwudingdan,aycaiwudate,aycaiwuptjy,aycaiwujine,aycaiwuyue,aycaiwuzhifu,aycaiwupid,aycaiwubody,aycaiwuzt) values('5','"&clng(request.Cookies("aynameid"))&"','000','"&now()&"','000','"&Formatnumber(feiyong,3,true,-1,0)&"','"&Formatnumber(feiyong,3,true,-1,0)&"','99','000','开通推广业务','1')")
call PopErr2("开通成功","vip")
end if
end if



if act="tgxufei" then

yue=cint(SafeRequestform("yue"))
jin=cint(SafeRequestform("jin"))
feiyong=yue*jin

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then

if ccur(rs("ayyue"))<ccur(feiyong) then 
call PopErr2("账户余额不足，请充值后在进行操作","index")
response.End()
end if 

rs("ayyue")=ccur(rs("ayyue"))-ccur(feiyong)
'rs("aydongjie")=ccur(rs("aydongjie"))+ccur(feiyong)
rs.update 
rs.close

conn.Execute("Insert Into "&request.Cookies("cwku")&"(aycaiwuleibie,aycaiwuuser,aycaiwudingdan,aycaiwudate,aycaiwuptjy,aycaiwujine,aycaiwuyue,aycaiwuzhifu,aycaiwupid,aycaiwubody,aycaiwuzt) values('5','"&clng(request.Cookies("aynameid"))&"','000','"&now()&"','000','"&Formatnumber(feiyong,3,true,-1,0)&"','"&Formatnumber(feiyong,3,true,-1,0)&"','99','000','续费推广业务','1')")
call PopErr2("续费成功","vip")
end if
end if





sql="select ayzdyddfei,isalipayfz,alipayfzxx,alipayfzsx,alipayfzfei,alipayfz1,alipayfz2 from ayquanju" 
rs.open sql,conn,1,1
ayzdyddfei=cint(rs("ayzdyddfei"))
isalipayfz=rs("isalipayfz")   
alipayfzxx=rs("alipayfzxx")   
alipayfzsx=rs("alipayfzsx")      
alipayfzfei=rs("alipayfzfei")   
alipayfz1=rs("alipayfz1")        
alipayfz2=rs("alipayfz2") 
rs.close
%>


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

<%
sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
%>
            <!-------------------------------------- 开始 -------------------------------------->									
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">VIP会员</div>
           	<div class="gexian"></div>
                        <table width="900" class="neitableanquan">

           		  		<tr>
                            <td width="140" align="left">开通VIP</td>
                             <td>
<%if cint(rs("ayisxiaobao"))=0 then%>
<img src="<%=ossurl%>images/renzheng/vip1_2.jpg" height="24" border="0" />
&nbsp;&nbsp;非VIP会员 <span style="color:#009900">【<a style="color: #009900" href="vipbuy?c=xb">立即开通</a>】</span>
<%elseif cint(rs("ayisxiaobao"))=1 then%>
<img src="<%=ossurl%>images/renzheng/vip1.jpg" height="24" border="0" />
&nbsp;&nbsp;VIP会员
<!--
<span style="color:#009900">【<a style="color: #009900" href="vipbuy?c=xb">追加押金】</a>【<a style="color: #009900" onClick="javascript:return confirm('确定要解冻VIP吗？');" href="?c=jd">解冻押金</a>】</span>
-->
<%end if%>
                             </td>
                        </tr>
                    </table>
 

            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            VIP开通费用，不支持退款与提现！<br>
            VIP：商品购买页面会点VIP标示。并点亮可信商家标示，支持加急结算与秒结算。<br>
            VIP标准：<%=xiaobaojine%>元/永久。<br>
            </div>
            <!-------------------------------------- 结束 -------------------------------------->
            
            
            <div class="gexian20"></div>       



                   
                                                     
            <!-------------------------------------- 开始 -------------------------------------->									
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">尊贵VIP</div>
           	<div class="gexian"></div>

                        <table width="900" class="neitableanquan">

           		  		<tr>
                            <td width="140" align="left">尊贵VIP：</td> 
                            <td>
	  <%if rs("isvipid")=0 then
      isvipguoqi="yes"%>
      <img src="<%=ossurl%>images/vip2.gif" alt="非尊贵VIP" width="40" border="0"/>&nbsp;&nbsp;<a href="vipbuy?c=vip" style="color: #009900">【<%=vipj%>元/年开通尊贵VIP】</a>
	  <%else
      
			if DateDiff("d",now(),rs("vipdate"))<1 then '嵌套权限过期
			isvipguoqi="yes"%>
			
            <img src="<%=ossurl%>images/vip2.gif" alt="非尊贵VIP" width="40"  border="0"/>
            &nbsp;&nbsp;到期时间：<%if isnull(trim(rs("vipdate")))=false and trim(rs("vipdate"))<>"" then response.Write DateValue(rs("vipdate"))%>
            &nbsp;&nbsp;<a href="?c=vip" style="color: #009900" onclick="javascript:return confirm('您确定花费<%=vipj%>元开通尊贵会员吗？');">【<%=vipj%>元/年开通尊贵VIP】</a>

			<%else
			isvipguoqi="no"%>
			
            <img src="<%=ossurl%>images/vip1.gif" alt="尊贵VIP" width="40" border="0"/>
            &nbsp;&nbsp;到期时间：<%if isnull(trim(rs("vipdate")))=false and trim(rs("vipdate"))<>"" then response.Write DateValue(rs("vipdate"))%>

			<%end if%>



	  <%end if%>
                            </td>
                        </tr>
                    </table>

                   
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            尊贵VIP年费<%=vipj%>元，开通尊贵VIP后会自动开通内嵌代码功能和不限手机短信通知，并拥有以下特权：<br>
			尊贵VIP特权：可晋升可信商家(加急提现)，1-5位个性短链接(个性链接不限修改次数)，手机短信流量不限，查看代理需求信息，优先为买家推荐，优先结算，投诉宽松处理。<br>
            </div>


            <!-------------------------------------- 结束 -------------------------------------->
                   
            <div class="gexian20"></div>       
                   
                   
            <!-------------------------------------- 开始 -------------------------------------->									
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">秒结算</div>
           	<div class="gexian"></div>
                        <table width="1200" class="neitableanquan">

           		  		<tr>
                            <td width="140" align="left">秒结算</td>
                            <td>
							<%if cint(rs("ayaisalipayfz"))=1 then%> 
                            <a href="?act=fzguan" style="color: #009900; font-weight: bold">已开启[点击关闭]</a>
                            <%else%>
                            <a href="?act=fzkai" style="color: #FF0000; font-weight: bold">已关闭[点击开启]</a>
                            <%end if%>
                            </td>
                        </tr>
                        
           		  		<tr>
                            <td align="left">开通条件：</td>
                            <td>

<a href="/user/vip" style="color:#000">VIP会员</a>  
<%if ccur(rs("ayisxiaojin"))>=ccur(xiaobaojine) then%>
<span style="color:#390; font-weight: bold;">&radic;</span>
<%else%>
<span style="color:#F00; font-weight: bold;">&times;</span> 
<%end if%> 

&nbsp;&nbsp;
<a href="renzheng" style="color:#000">手机认证</a>  
<%if cint(rs("istelrz"))=1 then%>
<span style="color:#390; font-weight: bold;">&radic;</span>
<%else%>
<span style="color:#F00; font-weight: bold;">&times;</span>
<%end if%>

&nbsp;&nbsp;
<span title="【系统自动评定】
需要开通VIP会员
完成手机认证与实名认证，并且有一定交易量
不含有虚假/无效卡密 
可以积极处理收到的投诉
可信商家支持开通代理功能，支持加急提现与秒结算
提示：未能积极处理投诉问题，将取消可信标识">可信商家</span> 

<%if cint(rs("ischengxin"))=1 then%>
<span style="color:#390; font-weight: bold;">&radic;</span>
<%else%>
<span style="color:#F00; font-weight: bold;">&times;</span>
<%end if%>




                            </td>
                        </tr>
           		  		<tr>
                            <td align="left">服务费：</td>
                            <td>每笔交易额<%=Formatnumber(alipayfzfei,2,true,-1,0)%>% 下限<%=alipayfzxx%>元 上限<%=alipayfzsx%>元 (秒结算不支持充值卡交易)</td>
                        </tr>
           		  		<tr>
                            <td align="left">最低交易额：</td>
                            <td>10元 每笔小于10元的交易将不按照秒结结算</td>
                        </tr>
           		  		<tr>
                            <td align="left">适用范围：</td>
                            <td>订单交易入款 收款链接收款</td>
                        </tr>  
           		  		<tr>
                            <td align="left">适用时间：</td>
                            <td><%=alipayfz1%>点-<%=alipayfz2%>点 在此时间内的交易按秒结结算，发生的金额不支持提现！</td>
                        </tr> 
             
                        </table>
<%rs.close%> 
            <!-------------------------------------- 结束 -------------------------------------->
                        
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            秒结算：当每笔订单交易成功后(不含充值卡交易)，平台将扣除手续费后的交易金额<span style="color: #FF0000">1-30分钟</span>付款到商户的结算账户。该功能将大大缩短商户的资金归拢时间。<br>
            可信商家：可信商家为系统自动评定，评定内容包括邮箱/手机认证，是否加入消保，订单累计交易量，不含虚假/无效卡密，积极处理投诉。<br>
			重要提示：未能积极处理投诉问题，将收回可信商家标识！
            </div>
           
            
           

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



</div>








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


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

</body>
</html>