<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<%
if request.Cookies("bjx")("username")="" then
response.Redirect "user.asp"
response.End
end if
%> 
<html><head><title><%=webname%>--佣金计划</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
    <TR>
      <TD class=b width=7 background=image/b-l.gif>&nbsp;</TD>
      <TD class=b vAlign=top align=left width=764><table width="760" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou" bordercolor="#CCCCCC">
        <tr>
          <td width="100%" valign="top" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td background="images/class_bg.jpg" height=50>　<img src="images/ring02.gif" width="23" height="15" align="absmiddle"> <a href=index.asp><%=webname%></a> >> 支付平台</td>
              </tr>
            </table>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><table width=100% border="0" cellpadding="5" cellspacing="0" class="table-xia" bgColor=#f1f1f1>
                            <TR>
                              <TD bgColor=#ffffff colspan=19 height=1></TD>
                            <tr>
                              <td width="88%" colspan="8"><script language="JavaScript">
<!--
//-->
        </script>
                                  <form method="post" action="checkpay.asp" name="E_FORM">
                                    <center>
                                      <table width="80%">
<%
	set bjx=server.CreateObject("adodb.recordset")
	bjx.open "select * from [user] where username='"&request.Cookies("bjx")("username")&"' ",conn,1,1
	
%>
                                        <tr>
                                          <td width="20%" align="right"> 付款人姓名</td>
                                          <td width="80%"><input name="v_rcvname" type="text" value="<%=bjx("userzhenshiname")%>" size="50">
                                          </td>
                                        </tr>
                                        <tr>
                                          <td align="right"> 付款人地址</td>
                                          <td><input name="shouhuorendizhi" type="text" value="<%=bjx("shouhuodizhi")%>" size="50">
                                          </td>
                                        </tr>
                                        <tr>
                                          <td align="right"> 付款人电话</td>
                                          <td><div align="left">
                                              <input name="shouhuorendianhua" type="text" value="<%=bjx("usertel")%>" size="50">
                                          </div></td>
                                        </tr>
                                        <tr>
                                          <td align="right"> 付款人邮编</td>
                                          <td><input name="shouhuorenyoubian" type="text" value="<%=bjx("youbian")%>" size="50">
                                          </td>
                                        </tr>
                                        <tr>
                                          <td align="right"> 付款人商家ID</td>
                                          <td><input name="dinghuorenxingming" type="text" value="<%=bjx("username")%>" size="50">
                                              <span class="style1">您的商家登陆帐号</span> </td>
                                        </tr>
                                        <tr>
                                          <td align="right">付款总金额（元）</td>
                                          <td><input name="v_amount" type=text value="365.01" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                                  譬如：<font color="#FF0000">365.01</font></td>
                                        </tr>
                                      </table>
                                    </center>
                                    <center>
                                      <p>
                                        <input type=submit name=v_action value="提交" onClick="MM_validateForm('v_rcvname','','R','shouhuorendizhi','','R','shouhuorendianhua','','R','shouhuorenyoubian','','RisNum','dinghuorenxingming','','R');return document.MM_returnValue">
                                      </p>
                                    </center>
                                  </form>
                                  <p>&nbsp;</p>
                            </tr>
                        </table></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
        </tr>
      </table></TD>
      <TD class=b width=7 background=image/b-r.gif><IMG height=1 
      src="image/tm.gif" width=1></TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="service.asp"-->
<!--#include file="copyright.asp"-->
</body>
</html>