<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_user_company_payedit" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<script type="Text/JavaScript" language="'JavaScript'">
function CheckForm()
{
  if (document.myform.banktitle.value=="")
  {
    alert("开户行名称不能为空！");
	document.myform.banktitle.focus();
	return false;
  }
  if (document.myform.banknumber.value=="")
  {
    alert("银行帐号或支付宝帐号不能为空");
	document.myform.banknumber.focus();
	return false;
  }
  if (document.myform.bankname.value=="")
  {
    alert("用户帐户名不能为空！");
	document.myform.bankname.focus();
	return false;
  }
    if (document.myform.Banktype.value=="")
  {
    alert("请选择银行！");
	document.myform.Banktype.focus();
	return false;
  }
}
</script>
</head>
<body>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
  <tr>
    <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>修 改 支 付 方 式</strong></span></strong></td>
    <td class="bottom"> <div align="right">带*号为必填项</div></td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
  <tr>
    <td style="background-color:#FFFFFF"><table style="width:100%; height:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
      <tr>
        <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%" border="0" align="center" cellpadding="1" cellspacing="1" class="border">
          <form name="myform" onsubmit="return CheckForm();" method="POST" action="User_company_payedit.aspx?id=<%=rs("id").Value%>">
            <tr>
              <td style="height:-2; width:18%" align="center"><strong><font color="red">*</font> 开户行名称:</strong></td>
              <td style="width:82%"><input name="banktitle" type="text" id="banktitle" style="width:300" size="20" value="<%=rs("banktitle").Value%>" /></td>
            </tr>
            <tr class="tdbg">
              <td style="height:-1; width:18%" align="center"><strong><font color="red">*</font>银行帐号:</strong></td>
              <td><input name="banknumber" type="text" id="banknumber" style="width:300" size="20" value="<%=rs("banknumber").Value%>" /></td>
            </tr>
            <tr class="tdbg">
              <td style="height:-1; width:18%" align="center"><strong><font color="red">*</font>用户帐户:</strong></td>
              <td><input name="bankname" type="text" id="bankname" style="width:300" size="20" value="<%=rs("bankname").Value%>" /></td>
            </tr>
            <tr class="tdbg">
              <td style="height:-1; width:18%" align="center"><strong><font color="red">*</font>银行类型:</strong></td>
              <td><label>
              <select name="Banktype" id="Banktype">
                <option value="1" selected="selected">支付宝支付</option>
                <option value="3">中国工商银行</option>
                <option value="4">招商银行</option>
                <option value="5">中国农业银行</option>
                <option value="6">中国建设银行</option>
                <option value="7">中国银行</option>
                <option value="8">交通银行</option>
                <option value="9">兴业银行</option>
                <option value="10">中国民生银行</option>
                <option value="11">上海浦东发展银行</option>
                <option value="12">广东发展银行</option>
                <option value="13">深圳发展银行</option>
                <option value="14">中信银行</option>
                <option value="15">中国光大银行</option>
                <option value="16">华夏银行</option>
              </select>
              请选择你使用的银行</label>
              </td>
              <script>document.all.Banktype.value='<%=rs("Banktype").Value%>';</script>
            </tr>
            <tr class="tdbg">
              <td align="center"><strong>是否默认：</strong></td>
              <td><input name="istrue" type="checkbox" id="istrue" value="1" <%If IsTrue(rs("istrue").Value) Then%>checked<%End if%> />
                是</td>
            </tr>
            <tr class="tdbg">
              <td><input name="Action" type="hidden" id="Action" value="SaveAdd" /></td>
              <td><input name="Submit" type="submit" id="Submit" value=" 修 改 " /></td>
            </tr>
          </form>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<br>
</body><%Page_Loaded()%>
</html>
