<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<!--#include file="top.asp"-->
<!--#include file="../include/page.asp"-->
<!--#include file="../include/jmail.asp"-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title><%=my_name%>---配送及支付方式</title>
<link href="../../include/css.css" rel="stylesheet" type="text/css">
</head>
<style type="text/css">
<!--
.STYLE1 {font-size: 12}
.STYLE2 {color: #FFFFFF}
-->
</style>
<style type="text/css" media="screen">

@import url("../home/css/sys/detail.php@t=20060522.css");
</style>
<body onLoad="show(D151),show(D152)">

<SCRIPT LANGUAGE="JAVASCRIPT">
function regInput(obj, reg, inputStr)
{
var docSel = document.selection.createRange()
if (docSel.parentElement().tagName != "INPUT") return false
oSel = docSel.duplicate()
oSel.text = ""
var srcRange = obj.createTextRange()
oSel.setEndPoint("StartToStart", srcRange)
var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
return reg.test(str)
}
function checksignup() {

if (document.myform.amount.value=='')
{
window.alert("请输入EMS费用！");
document.myform.amount.focus();
return false;
}

if (document.myform.amount1.value=='')
{
window.alert("请输入平邮费用！");
document.myform.amount1.focus();
return false;
}

if (document.myform.fw.value=='')
{
window.alert("请输入配送范围！");
document.myform.fw.focus();
return false;
}
if (document.myform.fw.value.length>49)
{
window.alert("配送范围不能超过50个字符！");
document.myform.fw.focus();
return false;
}

if (document.myform.suozaidi.value=='')
{
window.alert("请输入商品所在地！");
document.myform.suozaidi.focus();
return false;
}
if (document.myform.suozaidi.value.length>49)
{
window.alert("商品所在地不能超过50个字符！");
document.myform.suozaidi.focus();
return false;
}
if (document.myform.shouhuosj.value=='')
{
window.alert("请输入预计收货时间！");
document.myform.shouhuosj.focus();
return false;
}
if (document.myform.shouhuosj.value.length>49)
{
window.alert("预计收货不能超过50个字符！");
document.myform.shouhuosj.focus();
return false;
}
if (document.myform.amount2.value=='')
{
window.alert("请输入快递费用！");
document.myform.amount2.focus();
return false;
}

if ( document.myform.zhifubao.checked == true ) {
	if (document.myform.zhifubaoid.value == ''){
		window.alert('请输入支付宝帐号!!');
		document.myform.zhifubaoid.focus();
		return false;
				}
}
if ( document.myform.wangyinzaixian.checked == true ) {
	if (document.myform.wangyinzaixianid.value == ''){
		window.alert('请输入网银在线帐号!!');
		document.myform.wangyinzaixianid.focus();
		return false;
		}
	if (document.myform.wangyinzaixianjiaoyanma.value == ''){
		window.alert('请输入网银在线校验码!!');
		document.myform.wangyinzaixianjiaoyanma.focus();
		return false;
		}
}
if ( document.myform.egold.checked == true ) {
	if (document.myform.egoldaccount.value == ''){
		window.alert('请输入E-gold Account!!');
		document.myform.egoldaccount.focus();
		return false;
		}
	if (document.myform.egoldname.value == ''){
		window.alert('请输入Account Name!!');
		document.myform.egoldname.focus();
		return false;
		}
}
if ( document.myform.youjuhuikuan.checked == true ) {
	if (document.myform.huikuandizhi.value == ''){
		window.alert('请输入汇款地址!!');
		document.myform.huikuandizhi.focus();
		return false;
		}
	if (document.myform.huikuanname.value == ''){
		window.alert('请输入汇款人姓名!!');
		document.myform.huikuanname.focus();
		return false;
		}
	if (document.myform.youbian.value == ''){
		window.alert('请输入邮编!!');
		document.myform.youbian.focus();
		return false;
		}
}
if ( document.myform.jiaotongyinhang.checked == true ) {
	if (document.myform.jiaotongyinhangname.value == ''){
		window.alert('请输入交通银行姓名!!');
		document.myform.jiaotongyinhangname.focus();
		return false;
		}
	if (document.myform.jiaotongyinhangid.value == ''){
		window.alert('请输入交通银行帐号!!');
		document.myform.jiaotongyinhangid.focus();
		return false;
		}
	if (document.myform.jiaotongyinhangdizhi.value == ''){
		window.alert('请输入交通银行地址!!');
		document.myform.jiaotongyinhangdizhi.focus();
		return false;
		}
}
if ( document.myform.zhaoshangyinhang.checked == true ) {
	if (document.myform.zhaoshangyinhangname.value == ''){
		window.alert('请输入招商银行姓名!!');
		document.myform.zhaoshangyinhangname.focus();
		return false;
		}
	if (document.myform.zhaoshangyinhangid.value == ''){
		window.alert('请输入招商银行帐号!!');
		document.myform.zhaoshangyinhangid.focus();
		return false;
		}
	if (document.myform.zhaoshangyinhangdizhi.value == ''){
		window.alert('请输入招商银行地址!!');
		document.myform.zhaoshangyinhangdizhi.focus();
		return false;
		}
}
if ( document.myform.gongshangyinhang.checked == true ) {
	if (document.myform.gongshangyinhangname.value == ''){
		window.alert('请输入工商银行姓名!!');
		document.myform.gongshangyinhangname.focus();
		return false;
		}
	if (document.myform.gongshangyinhangid.value == ''){
		window.alert('请输入工商银行帐号!!');
		document.myform.gongshangyinhangid.focus();
		return false;
		}
	if (document.myform.gongshangyinhangdizhi.value == ''){
		window.alert('请输入工商银行地址!!');
		document.myform.gongshangyinhangdizhi.focus();
		return false;
		}
}
if ( document.myform.jiansheyinhang.checked == true ) {
	if (document.myform.jiansheyinhangname.value == ''){
		window.alert('请输入建设银行姓名!!');
		document.myform.jiansheyinhangname.focus();
		return false;
		}
	if (document.myform.jiansheyinhangid.value == ''){
		window.alert('请输入建设银行帐号!!');
		document.myform.jiansheyinhangid.focus();
		return false;
		}
	if (document.myform.jiansheyinhangdizhi.value == ''){
		window.alert('请输入建设银行地址!!');
		document.myform.jiansheyinhangdizhi.focus();
		return false;
		}
}
if ( document.myform.zhongguoyinhang.checked == true ) {
	if (document.myform.zhongguoyinhangname.value == ''){
		window.alert('请输入中国银行姓名!!');
		document.myform.zhongguoyinhangname.focus();
		return false;
		}
	if (document.myform.zhongguoyinhangid.value == ''){
		window.alert('请输入中国银行帐号!!');
		document.myform.zhongguoyinhangid.focus();
		return false;
		}
	if (document.myform.zhongguoyinhangdizhi.value == ''){
		window.alert('请输入中国银行地址!!');
		document.myform.zhongguoyinhangdizhi.focus();
		return false;
		}
}
if ( document.myform.visa.checked == true ) {
	if (document.myform.visaname.value == ''){
		window.alert('请输入visa姓名!!');
		document.myform.visaname.focus();
		return false;
		}
	if (document.myform.visaid.value == ''){
		window.alert('请输入visa帐号!!');
		document.myform.visaid.focus();
		return false;
		}
	if (document.myform.visadizhi.value == ''){
		window.alert('请输入visa地址!!');
		document.myform.visadizhi.focus();
		return false;
		}
}
if ( document.myform.nongyeyinhang.checked == true ) {
	if (document.myform.nongyeyinhangname.value == ''){
		window.alert('请输入农业银行姓名!!');
		document.myform.nongyeyinhangname.focus();
		return false;
		}
	if (document.myform.nongyeyinhangid.value == ''){
		window.alert('请输入农业银行帐号!!');
		document.myform.nongyeyinhangid.focus();
		return false;
		}
	if (document.myform.nongyeyinhangdizhi.value == ''){
		window.alert('请输入农业银行地址!!');
		document.myform.nongyeyinhangdizhi.focus();
		return false;
		}

}
if (( document.myform.nongyeyinhang.checked == false )&&( document.myform.visa.checked == false )&&( document.myform.zhongguoyinhang.checked == false )&&( document.myform.jiansheyinhang.checked == false )&&( document.myform.gongshangyinhang.checked == false )&&( document.myform.zhaoshangyinhang.checked == false )&&( document.myform.jiaotongyinhang.checked == false )&&( document.myform.youjuhuikuan.checked == false )&&( document.myform.egold.checked == false )&&( document.myform.wangyinzaixian.checked == false )&&( document.myform.zhifubao.checked == false )) {
		window.alert('请至少选择一种支付方式!!');
		return false;
		

}
return true;
}
</script>
<%
if request("add")="yes" then
Set rs = Server.CreateObject("ADODB.Recordset")
        sql="select * from fukuan where userid =" & myuserid
        rs.open sql,conn,3,2
		if rs.eof and rs.bof then
end if
rs("userid")=myuserid
rs("suozaidi")=shopnet("suozaidi")
rs("maijia")=shopnet("maijia")
rs("amount")=shopnet("amount")
rs("amount1")=shopnet("amount1")
rs("amount2")=shopnet("amount2")
rs("fw")=shopnet("fw")
rs("fahuofangshi")=shopnet("fahuofangshi")
rs("shouhuosj")=shopnet("shouhuosj")
rs("zhifubao")=shopnet("zhifubao")
rs("zhifubaoid")=shopnet("zhifubaoid")
rs("zhifubaojiaoyanma")=shopnet("zhifubaojiaoyanma")
rs("wangyinzaixian")=shopnet("wangyinzaixian")
rs("wangyinzaixianid")=shopnet("wangyinzaixianid")
rs("wangyinzaixianjiaoyanma")=shopnet("wangyinzaixianjiaoyanma")
rs("xibuzhifu")=shopnet("xibuzhifu")
rs("xibuzhifuid")=shopnet("xibuzhifuid")
rs("visa")=shopnet("visa")
rs("visaid")=shopnet("visaid")
rs("visaname")=shopnet("visaname")
rs("visadizhi")=shopnet("visadizhi")
rs("egold")=shopnet("egold")
rs("egoldaccount")=shopnet("egoldaccount")
rs("egoldname")=shopnet("egoldname")
rs("youjuhuikuan")=shopnet("youjuhuikuan")
rs("huikuandizhi")=shopnet("huikuandizhi")
rs("huikuanname")=shopnet("huikuanname")
rs("youbian")=shopnet("youbian")
rs("jiaotongyinhang")=shopnet("jiaotongyinhang")
rs("jiaotongyinhangid")=shopnet("jiaotongyinhangid")
rs("jiaotongyinhangname")=shopnet("jiaotongyinhangname")
rs("jiaotongyinhangdizhi")=shopnet("jiaotongyinhangdizhi")
rs("zhaoshangyinhang")=shopnet("zhaoshangyinhang")
rs("zhaoshangyinhangid")=shopnet("zhaoshangyinhangid")
rs("zhaoshangyinhangname")=shopnet("zhaoshangyinhangname")
rs("zhaoshangyinhangdizhi")=shopnet("zhaoshangyinhangdizhi")
rs("gongshangyinhang")=shopnet("gongshangyinhang")
rs("gongshangyinhangid")=shopnet("gongshangyinhangid")
rs("gongshangyinhangname")=shopnet("gongshangyinhangname")
rs("gongshangyinhangdizhi")=shopnet("gongshangyinhangdizhi")
rs("zhongguoyinhang")=shopnet("zhongguoyinhang")
rs("zhongguoyinhangid")=shopnet("zhongguoyinhangid")
rs("zhongguoyinhangname")=shopnet("zhongguoyinhangname")
rs("zhongguoyinhangdizhi")=shopnet("zhongguoyinhangdizhi")
rs("nongyeyinhang")=shopnet("nongyeyinhang")
rs("nongyeyinhangid")=shopnet("nongyeyinhangid")
rs("nongyeyinhangname")=shopnet("nongyeyinhangname")
rs("nongyeyinhangdizhi")=shopnet("nongyeyinhangdizhi")
rs("jiansheyinhang")=shopnet("jiansheyinhang")
rs("jiansheyinhangid")=shopnet("jiansheyinhangid")
rs("jiansheyinhangname")=shopnet("jiansheyinhangname")
rs("jiansheyinhangdizhi")=shopnet("jiansheyinhangdizhi")
rs.update
rs.close
set rs=nothing

Set fk=server.CreateObject("adodb.recordset")
sql="select mail from huiyuan where id="&Request.Cookies(rikee)("id")
fk.open sql,conn,1,1
If fk.eof Then
response.write("<script>alert(""该会员不存在！"");window.location='?abc=add';</script>")
response.End 
else
dzyx=LCase(fk("mail"))

End If 
fk.close
Set fk=nothing
If shopnet("maijia")="1" Then
fkf="买家负担费用"
Else
fkf="卖家负担费用"
End If 
'判断是否使用了代理
if Request.ServerVariables("HTTP_X_FORWARDED_FOR") = ""  then
ip=Request.ServerVariables("REMOTE_ADDR")
else
ip=Request.ServerVariables("HTTP_X_FORWARDED_FOR")
end if
html="<html><head><title>感谢您的注册</title><meta http-equiv=Content-Type content=text/html;charset=gb2312></head><body bgcolor=#FFFFFF text=#000000>"
html=html&"亲爱的"&request.Cookies(Rikee)("huiyuan")&",您好！<br><br>　 您在"&my_name&"申请的个人网店的配送支付方式于"&Now()&"更改,所用IP为<b>"&ip&"</b>,详情请<a href=""http://"&my_url&"/user/login.asp"" target=_blank>登录"&my_name&"</a>查询.<br><br>"
html=html&"<a href=""http://"&my_url&""" target=_blank>"&my_name&"</a>"
nr=html&"<br><br>"&email_bd&"</body></html>"
bt= ""&my_name&"配送支付方式修改"
email=dzyx
if mailserver="0" then
smtp email,bt,nr
elseif mailserver="1" then
Call jmail1(email,bt,nr)

end if 



response.Write("<Script>alert('提交成功！');window.location='?';</script>")
end if
%>

<table width="762" border="0" align="center" cellpadding="2" cellspacing="0" style='BORDER-COLLAPSE: collapse;MARGIN: 3px'>
  <tr> 
    <td height="22" colspan="2">您的位置： <A href="../index.asp">首页</A> &gt;&gt; <a href="index.asp">会员中心</a>&nbsp;&gt;&gt; <span class="STYLE1"><a href="?"> 配送及付款方式</a><a href="?"></a></span></td>
  </tr>
  <tr> 
    <td width="180" valign="top"> 
      <!--#include file="left.asp"-->
    </td>
    <td width="582" height="280" valign="top"><form action="?add=yes" method="post" name="myform" id="myform">
<%if shopnet("abc")="add" then
Set rs=Server.CreateObject("ADODB.Recordset") 
set rs= conn.execute("select * from fukuan where userid="&myuserid&"")
if not rs.eof then%>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><table border="0" align="left" cellpadding="0" cellspacing="0">
              <tr>
                <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
                <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><span class="STYLE2">添加修改</span></td>
                <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
              </tr>
            </table>
              <table border="0" align="left" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="1"><IMG SRC="../images/mytaobaobj1_8.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
                  <td width="120" align="center" background="../images/mytaobaobj1_9.gif"><span class="STYLE1"><a href="?">配送及付款方式</a><a href="?"></a></span></td>
                  <td width="1"><IMG SRC="../images/mytaobaobj1_11.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
                </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="4" bgcolor="1E88C1"></td>
        </tr>
      </table>
      <br>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="5" valign="middle" ></td>
        </tr>
      </table>
      <%
	  msg="请仔细填写正确核对,以免造成不必要的麻烦."
	  wmsg()%>
      <br>
      
	  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#efefef">
        <tr bgcolor="#FFFFFF"><td colspan="2"  background="../image/bk.gif" height="21"></td></tr>
        <tr bgcolor="#FFFFFF">
          <td width="94" align="center"> 配送费用</td>
          <td width="394"><input name="maijia" type="radio" value="1" checked="checked" />
              <label for="whopsSeller">卖家承担运费</label>
              <br />
              <input id="whopsBuyer" type="radio" value="2" name="maijia" />
              <label for="whopsBuyer">买家承担运费</label>
              <br />
            &nbsp;&nbsp;&nbsp; EMS:&nbsp;
            <input name="amount" type="text" class="wenbenkuang" id="amount" value="25" size="5" maxlength="10" onkeypress = "return regInput(this, /^\d{1,3}$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^\d{1,3}$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^\d{1,3}$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
            元 
            平邮：
            <input name="amount1" type="text" class="wenbenkuang" id="amount1" value="10" size="5" maxlength="10" onkeypress = "return regInput(this, /^\d{1,3}$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^\d{1,3}$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^\d{1,3}$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
            元
            快递：
            <input name="amount2" type="text" class="wenbenkuang" id="amount2" value="15" size="5" maxlength="10" onkeypress = "return regInput(this, /^\d{1,3}$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^\d{1,3}$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^\d{1,3}$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
            元 </td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td align="center"> 配送范围</td>
          <td><input name="fw" type="text" class="wenbenkuang" id="fw" value="<%=rs("fw")%>" size="45" maxlength="100" />
            50字内</td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td align="center">商品所在地</td>
          <td><input name="suozaidi" type="text" class="wenbenkuang" id="suozaidi" value="<%=rs("suozaidi")%>" size="15" maxlength="30" />
            如：浙江杭州</td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td align="center">发货方式</td>
          <td><input id="pm1" type="radio" value="款到发货" name="fahuofangshi" />
              <label for="pm1">款到发货</label>
              <input name="fahuofangshi" type="radio" id="pm2" value="货到付款" checked="checked" />
              <label for="pm2">货到付款</label>
              <input id="pm3" type="radio" value="见商品描述" name="fahuofangshi" />
              <label for="pm3">见商品描述
                <input id="radio" type="radio" value="送货上门" name="fahuofangshi" />
                送货上门</label></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td align="center">预计收货时间</td>
          <td><input name="shouhuosj" type="text" class="wenbenkuang" id="shouhuosj" value="<%=rs("shouhuosj")%>" size="20" maxlength="20" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td rowspan="22" align="center"><p>支</p>
            <p>付</p>
            <p>方</p>
            <p>式</p></td>
          <td><input name="zhifubao" type="checkbox" id="zhifubao"  onclick="myshow('zhifubao','zfb')" value="支付宝" checked/>            
          &nbsp;<img src="../image/zhifubao.gif" />&nbsp;&nbsp;&nbsp;  &nbsp;</td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY' id=zfb>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">支付宝帐号</div></td>
              <td><div align="center">校验码（如无请留空）</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="zhifubaoid" class="wenbenkuang" type="text" id="zhifubaoid" value="<%=rs("zhifubaoid")%>" size="20" maxlength="30" /></div>              </td>
              <td><div align="center">
                  <input name="zhifubaojiaoyanma" class="wenbenkuang" type="text" id="zhifubaojiaoyanma" value="<%=rs("zhifubaojiaoyanma")%>" size="20" maxlength="60" /></div>			  </td>
            </tr>
          </table>
		   </div>		  </td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="wangyinzaixian" type="checkbox" id="wangyinzaixian" value="网银在线" onClick="myshow('wangyinzaixian','wyzx')"/>
            <img src="../image/wangyinlogo.gif" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=wyzx>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">支付ID</div></td>
              <td><div align="center">校验码</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="wangyinzaixianid" class="wenbenkuang" type="text" id="wangyinzaixianid" value="<%=rs("wangyinzaixianid")%>" size="20" maxlength="30" />
              </div></td>
              <td><div align="center">
                  <input name="wangyinzaixianjiaoyanma" class="wenbenkuang" type="text" id="wangyinzaixianjiaoyanma" value="<%=rs("wangyinzaixianjiaoyanma")%>" size="20" maxlength="60" />
              </div></td>
            </tr>
          </table>
		  </div></td>
        </tr>
        
        
        <tr bgcolor="#FFFFFF">
          <td><input name="egold" type="checkbox" id="egold" value="E-gold" onClick="myshow('egold','egd')"/>
            <img src="../image/egold.gif" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=egd><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">E-gold Account </div></td>
              <td><div align="center">Account Name </div></td>
              </tr>
            <tr>
              <td><div align="center">
                  <input name="egoldaccount" type="text" id="egoldaccount" value="<%=rs("egoldaccount")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="egoldname" type="text" id="egoldname" value="<%=rs("egoldname")%>" size="20" size="12" maxlength="10" />
              </div></td>
              </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="youjuhuikuan" type="checkbox" id="youjuhuikuan" value="邮局汇款" onClick="myshow('youjuhuikuan','yjhk')"/>
            <img src="../image/post.gif" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=yjhk><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="66%"><div align="center">汇款地址</div></td>
              <td width="20%"><div align="center">姓名</div></td>
              <td width="14%"><div align="center">邮编</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="huikuandizhi" type="text" id="huikuandizhi" value="<%=rs("huikuandizhi")%>" size="20" maxlength="30" />
              </div></td>
              <td><div align="center">
                  <input name="huikuanname" type="text" id="huikuanname" value="<%=rs("huikuanname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="youbian" type="text" id="youbian" value="<%=rs("youbian")%>" size="8" maxlength="6" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="jiaotongyinhang" type="checkbox" id="jiaotongyinhang" value="交通银行" onClick="myshow('jiaotongyinhang','jtyh')"/>            <img src="../image/bank_jt.gif" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=jtyh><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">银行帐号</div></td>
              <td><div align="center">姓名</div></td>
              <td><div align="center">银行所在地</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="jiaotongyinhangid" type="text" id="jiaotongyinhangid" value="<%=rs("jiaotongyinhangid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="jiaotongyinhangname" type="text" id="jiaotongyinhangname" value="<%=rs("jiaotongyinhangname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="jiaotongyinhangdizhi" type="text" id="jiaotongyinhangdizhi" value="<%=rs("jiaotongyinhangdizhi")%>" size="20" maxlength="30" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="zhaoshangyinhang" type="checkbox" id="zhaoshangyinhang" value="招商银行" onClick="myshow('zhaoshangyinhang','zsyh')"/>            <img src="../image/bank_cmb.gif" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td>
		  <div style='DISPLAY: none' id=zsyh><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">银行帐号</div></td>
              <td><div align="center">姓名</div></td>
              <td><div align="center">银行所在地</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="zhaoshangyinhangid" type="text" id="zhaoshangyinhangid" value="<%=rs("zhaoshangyinhangid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="zhaoshangyinhangname" type="text" id="zhaoshangyinhangname" value="<%=rs("zhaoshangyinhangname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="zhaoshangyinhangdizhi" type="text" id="zhaoshangyinhangdizhi" value="<%=rs("zhaoshangyinhangdizhi")%>" size="20" maxlength="30" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="gongshangyinhang" type="checkbox" id="gongshangyinhang" value="工商银行" onClick="myshow('gongshangyinhang','gsyh')"/>            
          <img src="../image/bank_cbc.gif" /></td>
        </tr>
        
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=gsyh><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">银行帐号</div></td>
              <td><div align="center">姓名</div></td>
              <td><div align="center">银行所在地</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="gongshangyinhangid" type="text" id="gongshangyinhangid" value="<%=rs("gongshangyinhangid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="gongshangyinhangname" type="text" id="gongshangyinhangname" value="<%=rs("gongshangyinhangname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="gongshangyinhangdizhi" type="text" id="gongshangyinhangdizhi" value="<%=rs("gongshangyinhangdizhi")%>" size="20" maxlength="30" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="jiansheyinhang" type="checkbox" id="jiansheyinhang" value="建设银行" onClick="myshow('jiansheyinhang','jsyh')"/>            
          <img src="../image/bank_ccb.gif" height="20" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=jsyh><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">银行帐号</div></td>
              <td><div align="center">姓名</div></td>
              <td><div align="center">银行所在地</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="jiansheyinhangid" type="text" id="jiansheyinhangid" value="<%=rs("jiansheyinhangid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="jiansheyinhangname" type="text" id="jiansheyinhangname" value="<%=rs("jiansheyinhangname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="jiansheyinhangdizhi" type="text" id="jiansheyinhangdizhi" value="<%=rs("jiansheyinhangdizhi")%>" size="20" maxlength="30" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="zhongguoyinhang" type="checkbox" id="zhongguoyinhang" value="中国银行" onClick="myshow('zhongguoyinhang','zgyh')"/>            <img src="../image/bank_headbg.gif" width="102" height="24" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=zgyh><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">银行帐号</div></td>
              <td><div align="center">姓名</div></td>
              <td><div align="center">银行所在地</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="zhongguoyinhangid" type="text" id="zhongguoyinhangid" value="<%=rs("zhongguoyinhangid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="zhongguoyinhangname" type="text" id="zhongguoyinhangname" value="<%=rs("zhongguoyinhangname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="zhongguoyinhangdizhi" type="text" id="zhongguoyinhangdizhi" value="<%=rs("zhongguoyinhangdizhi")%>" size="20" maxlength="30" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="visa" type="checkbox" id="visa" value="VISA" onClick="myshow('visa','visa1')"/>            
            <img src="../image/bank_visa.gif" height="20" /></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=visa1>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">银行帐号</div></td>
              <td><div align="center">姓名</div></td>
              <td><div align="center">银行所在地</div></td>
            </tr>
            <tr>
              <td><div align="center">
                  <input name="visaid" type="text" id="visaid" value="<%=rs("visaid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
              </div></td>
              <td><div align="center">
                  <input name="visaname" type="text" id="visaname" value="<%=rs("visaname")%>" size="10" maxlength="10" />
              </div></td>
              <td><div align="center">
                  <input name="visadizhi" type="text" id="visadizhi" value="<%=rs("visadizhi")%>" size="20" maxlength="30" />
              </div></td>
            </tr>
          </table></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td><input name="nongyeyinhang" type="checkbox" id="nongyeyinhang" value="农业银行" onClick="myshow('nongyeyinhang','nyyh')"/>            <img src="../image/bank_abc.gif" height="20" /></td>
        </tr>
        
        <tr bgcolor="#FFFFFF">
          <td><div style='DISPLAY: none' id=nyyh>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><div align="center">银行帐号</div></td>
                <td><div align="center">姓名</div></td>
                <td><div align="center">银行所在地</div></td>
              </tr>
              <tr>
                <td><div align="center">
                  <input name="nongyeyinhangid" type="text" id="nongyeyinhangid" value="<%=rs("nongyeyinhangid")%>" size="20" maxlength="30" onkeypress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))"
style="ime-mode:Disabled"/>
                </div></td>
                <td><div align="center">
                  <input name="nongyeyinhangname" type="text" id="nongyeyinhangname" value="<%=rs("nongyeyinhangname")%>" size="10" maxlength="10" />
                </div></td>
                <td><div align="center">
                  <input name="nongyeyinhangdizhi" type="text" id="nongyeyinhangdizhi" value="<%=rs("nongyeyinhangdizhi")%>" size="20" maxlength="30" />
                </div></td>
              </tr>
            </table>
			</div></td>
        </tr>
        
        <tr bgcolor="#FFFFFF">
          <td colspan="2" align="center"><input name="Submit" type="submit" class="go-wenbenkuang" value="提交" ONCLICK="javascript:return checksignup()"/>
            &nbsp;
            <input name="Submit2" type="reset" class="go-wenbenkuang" value="重 置" /></td>
        </tr>
        <tr bgcolor="#FFFFFF"><td colspan="2"  background="../image/bk1.gif" height="21"></td></tr>
		</form>
</table>
<%rs.close
set rs=nothing
End if%>
<%else
Set rs = Server.CreateObject("ADODB.Recordset")
        sql="select * from fukuan where userid =" & myuserid
        rs.open sql,conn,3,2
		if rs.eof and rs.bof then%>
<div align="center" id="UserAgreement" style="color: #FF0000">		
您还没有设置配送及支付方式 ！</div>
<%my_nr="<meta http-equiv=refresh content=5;url=psfssave.asp?abc=add &nbsp;</font><br>·您还没有设置配送支付方式，系统将在5秒后进入设置页面，如果没有自动进入设置页面，<a href='psfssave.asp?abc=add' target='_top'>请点击这里进入</a>！"%>
 <br><table width="420" height="24" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#efefef">
                            <tr>
                            <td height="4" bgcolor="#FFFFFF"><%=my_nr%></td>
                            </tr>
                          </table>
<%else%>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><table border="0" align="left" cellpadding="0" cellspacing="0">
              <tr>
                <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
                <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF">配送及付款方式</font></td>
                <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
              </tr>
            </table>
              <table border="0" align="left" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="1"><IMG SRC="../images/mytaobaobj1_8.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
                  <td width="120" align="center" background="../images/mytaobaobj1_9.gif"><a href="psfs.asp?abc=add">添加修改</a></td>
                  <td width="1"><IMG SRC="../images/mytaobaobj1_11.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
                </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="4" bgcolor="1E88C1"></td>
        </tr>
      </table>
<br><br>
      <table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#cccccc">
                <tr valign="middle" >
          <td height="21" colspan="2" background="../image/bk.gif"></td>
        </tr>

        <tr>
          
          <td  bgcolor="#FFFFFF" height="30" valign="middle">商品所在地：</td>
          <td bgcolor="#FFFFFF"><%=rs("suozaidi")%></td>
        </tr>
        <tr>
          
          <td width="19%"  bgcolor="#FFFFFF" height="30" valign="middle">配送费用:</td>
          <td width="72%" bgcolor="#FFFFFF"><%if rs("maijia")=1 then%>
            卖家承担运费
            <%else%>
            EMS:<%=rs("amount")%>元&nbsp;&nbsp;平邮<%=rs("amount1")%>元&nbsp;&nbsp;快递：<%=rs("amount2")%>元
            <%end if%>          </td>
          </tr>
        <tr>
          
          <td  bgcolor="#FFFFFF"height="30" valign="middle">配送范围:</td>
          <td bgcolor="#FFFFFF"><%=rs("fw")%></td>
          </tr>
        <tr>
          
          <td  bgcolor="#FFFFFF" height="30" valign="middle">发货方式:</td>
          <td bgcolor="#FFFFFF"><%=rs("fahuofangshi")%></td>
        </tr>
        <tr>
         
          <td  bgcolor="#FFFFFF" height="30" valign="middle">预计收货时间:</td>
          <td bgcolor="#FFFFFF"><%=rs("shouhuosj")%></td>
        </tr>
        <tr>
          <td colspan="2" bgcolor="#FFFFFF" height="30" valign="middle" >付款方式:
            <div align="center">
              <%If rs("zhifubao")<>"" Then response.write "<img src=../image/zhifubao.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("wangyinzaixian")<>"" Then response.write "<img src=../image/wangyinlogo.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("egold")<>"" Then response.write "<img src=../image/egold.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("youjuhuikuan")<>"" Then response.write "<img src=../image/post.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("jiaotongyinhang")<>"" Then response.write "<img src=../image/bank_jt.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("zhaoshangyinhang")<>"" Then response.write "<img src=../image/bank_cmb.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("zhongguoyinhang")<>"" Then response.write "<img src=../image/bank_headbg.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("jiansheyinhang")<>"" Then response.write "<img src=../image/bank_ccb.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("nongyeyinhang")<>"" Then response.write "<img src=../image/bank_abc.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("gongshangyinhang")<>"" Then response.write "<img src=../image/bank_cbc.gif>" End if%>
  &nbsp;&nbsp;
  <%If rs("visa")<>"" Then response.write "<img src=../image/bank_visa.gif>" End if%>
  <br>
            </div></td>
        </tr>
        <tr>
          <td colspan="2" bgcolor="#FFFFFF" height="100" valign="top"><div align="center"></div>          </td>
        </tr>
        
        <tr>
          <td height="21" colspan="3" background="../image/bk1.gif">&nbsp;</td>
        </tr>
      </table>
   </td>

  </tr>
</table>
<%end if
end if%>
</table></table></table><!--#include file="../bottom.asp"-->


<script language="javascript">
function myshow(s1,s2){
var s1;
var s2;
obj1=eval("document.myform."+s1);
obj=eval(s2);
if (obj1.checked == true){
		obj.style.display = '';
	}else{
		obj.style.display = 'none';
}
}
</script>
