<!--#Include File="Connection.Asp"-->
<!--#include file="pay/MD5.asp" -->
<!--#include file="pay/PaySetting.asp" -->
<!--#include file="pay/PayKey.asp" -->
<html>
<head>
<title>myzone-互动-个性交友-装扮小屋</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="Qz/css.css" type="text/css">
</head>
<%
if Request.QueryString("action")="do" then
 Dim JaM,v_amount,dtNow,v_oid,text,v_md5info,PayUrl
JaM = Cint(trim(Request.Form("MM")))
v_amount=JaM*percent
dtNow=now()
v_oid=year(dtNow) & right("0" & month(dtNow),2) & right("0" & day(dtNow),2) & right("0" & hour(dtNow),2) & right("0" & minute(dtNow),2) & right("0" & second(dtNow),2) '生成定单号
text = v_amount&v_moneytype&v_oid&v_mid&v_url&key
v_md5info=Ucase(trim(md5(text)))
PayUrl="https://pay.chinabank.com.cn/select_bank?"&"v_md5info="&v_md5info&"&v_mid="&v_mid&"&v_oid="&v_oid&"&v_amount="&v_amount&"&v_moneytype="&v_moneytype&"&v_url="&v_url
 Conn.ExeCute("INSERT INTO [JaNeed](JaUid,JaMM,V_oid)VALUES('"&SESSION("VicNum")&"',"&JaM&",'"&v_oid&"')")
  Response.Write "<script language=javascript>alert('充值申请已经发送，请进行下一步付款!');"
  Response.Write "top.location.href='"&PayUrl&"';</script>"
  Response.End() 
 End If
Dim JaZ,C
Set JaZ = new q_zone
C=Split(JaZ.GetHeadElement("*",SESSION("VicNum"),"JaUser",""),"<><><>")
%>
<script language="javascript">
function CheckNum(){
   percent=<%=percent%>;
   if((event.keyCode<48||event.keyCode>57)&&event.keyCode!=46) event.returnValue=false; 
   }
function chk(theForm){
       if (theForm.mm.value == ""){                
       alert("请输入要充值H币!");                
       theForm.mm.focus();                
       return (false);        
       }   
       else
       {
	   
	   if(confirm('您这次所需支付金额为'+(parseFloat(theForm.mm.value)*percent)+'元\r\r您确认您有网上银行帐号吗?\r\r如果您经常网上支付或者有网上银行帐号，请点击确定，进行网上支付。\r\r如果您没有的话，请不要确定,赶快去开通网上银行吧。')){
	   document.form1.submit();
	   }

        }      
}
</script>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background-color:transparent;">
 

<table width="90" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="Qz/account1.gif" width="531" height="138"></td>
  </tr>
  <tr>
    <td><table width="516" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="Qz/accountbg.gif" align="center"><table width="80%" border="0" cellspacing="5" cellpadding="0">
              <tr>
                <td><p>亲爱的 <%=Trim(C(2))%>（<%=Trim(C(0))%>）：</p>
                  <p>您是myzone  <%If Trim(C(11))>0 then Response.Write "VIP包月用户" else Response.Write "普通用户"%>  </p>
				  <p>申请vip会员，享受更多优惠！（在线与您心仪的会员聊天，购买网站饰品半折优惠！）详情请联系本站客户服！</p>
				  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td background="Qz/line.gif"></td>
                          </tr>
                  </table>
				  <p>您目前个人帐户里的H币余额为：<font color="#FF3366"> <%=Trim(Replace(C(15),"$",""))%> 
                    </font>（元） <br>
                    <br>
                    <br>
                  </p>

                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="34">
				   <tr>
                      <td colspan="2" align="center"><table width="73%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>网上银行支付，方便快捷 <font color="#FF0000"><%=1/percent%></font>H币/<font color="#FF0000">1元</font>人民币</td>
                    </tr>
                  </table></td>
                    </tr>
                    <tr>
                      <td align="center">
					  <form action="?action=do" name=form1 method="post" onSubmit="return chk(this)">
					  <table width="90%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><div align="center">我要充值H币： 
                                <input name="mm" type=text size="15" onKeyPress="javascript:CheckNum();">
                            </div></td>
                            <td><img src="Qz/account3.gif" width="71" height="21" border="0" onClick="chk(form1);" style="cursor:hand;"></td>
                          </tr>

                        </table>
</form>
                      </td>
                    </tr>
                </table>
                </td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="Qz/account2.gif" width="516" height="73"></td>
  </tr>
</table>
</body>
</html>
