<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<!--#include file="top.asp"-->
<table width="762" border="0" align="center" cellpadding="2" cellspacing="0" style='BORDER-COLLAPSE: collapse;MARGIN: 3px'>
<tr> 
<td width="180" valign="top">
<!--#include file="left.asp"-->
</td>
<td height="280" valign="top">
<%
sql="select * from huiyuan where id="&cookieid
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,3
if shopnet("add")="yes" then
a=shopnet("Alipay_Account")
b=shopnet("securityCode")
pass=md5(shopnet("password"))
if a="" or b="" or pass="" then
response.Write("<Script>alert('请填写正确数据再提交！');window.location='jkshopalipay.asp';</script>")
end if
if pass<>rs("password") then
response.Write("<Script>alert('请检查您的密码！');window.location='jkshopalipay.asp';</script>")
end if
rs("Alipay_Account")=a
rs("securityCode")=b
rs.update
response.Write("<Script>alert('提交成功！');window.location='jkshopalipay.asp';</script>")
end if
%>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
  <tr>
    <td width="5">&nbsp;</td>
    <td align="left" valign="top">
	<%if rs("securityCode")="" or rs("Alipay_Account")="" then%>
       <table width="96%" height="295" border="0" cellpadding="0" cellspacing="1" background="images/bgline.gif" bgcolor="#FFFFFF">
        <form name=Form1 action="?add=yes" method="post">
          
          <tr align="center" bgcolor="#FFFFFF"> 
            <td height="108" colspan="2"> 
              <p>如果您想让您的商品支持支付宝支付，请在这里设置好您的帐号信息
              <br><br>
                如果您还没有支付宝帐号，请点击<a href="https://www.alipay.com/user/user_register.htm"><font color="#FF0000">注册</font></a></p></tr>
          <tr> 
            <td width="50%" height="60" bgcolor="#FFFFFF"><font color="#FF0000" id="f1">*</font>支付宝帐号： 
       			  <input name="Alipay_Account" type="text" class="wenbenkuang" id="Alipay_Account" size="20" maxlength="50">           </td>
            <td width="55%" bgcolor="#FFFFFF">
<p><font color="#FF0000" id="f1">*</font>安全校验码： 
                
				<input name="securityCode" type="password" class="wenbenkuang" id="securityCode" size="20" maxlength="50">
            </td>
          </tr>
          <tr> 
            <td height="61" bgcolor="#FFFFFF">请设置您的支付宝帐号</td>
            <td width="55%" bgcolor="#FFFFFF">如果您在支付宝中设置了安全校验码的话就必须添，没有可以不添</td>
          </tr>
          <tr align="center" bgcolor="#FFFFFF"> 
            <td height="36" colspan="2"> 
              <input type="submit" name="Submit" value="提交"> 
              &nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" name="Submit2" value="重置">            </td>
          </tr>
        </form>
      </table> <%else%><table width="96%" height="269" border="0" cellpadding="0" cellspacing="1" background="images/bgline.gif" bgcolor="#FFFFFF">
        <form name=Form1 action="?add=yes" method=post>
          
          <tr align="center" bgcolor="#FFFFFF"> 
            <td height="108" colspan="2"> 
              <p>您已经提交支付宝，如需要修改请再次在下面填入：<a href="https://www.alipay.com/user/user_register.htm"><font color="#FF0000"></font></a></p>            </tr>
          <tr>
            <td height="60" colspan="2" bgcolor="#FFFFFF"><div align="center">请输入您的登陆密码：
              <input name="password" type="password" class="wenbenkuang" id="password" size="20" maxlength="50" />
            </div></td>
            </tr>
          <tr> 
            <td width="50%" height="60" bgcolor="#FFFFFF"><font color="#FF0000" id="f1">*</font>支付宝帐号： 
              <input name="Alipay_Account" type="text" class="wenbenkuang" id="Alipay_Account" value="<%=rs("Alipay_Account")%>" size="20" maxlength="50" /></td>
            <td width="55%" bgcolor="#FFFFFF">
<p><font color="#FF0000" id="f1">*</font>安全校验码： 
                <input name="securityCode" type="password" class="wenbenkuang" id="securityCode" value="<%=rs("securityCode")%>" size="20" maxlength="50" />
            </td>
          </tr>
          <tr align="center" bgcolor="#FFFFFF"> 
            <td height="36" colspan="2"> 
              <input type="submit" name="Submit" value="修改"> 
              &nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" name="Submit2" value="重置">            </td>
          </tr>
        </form>
      </table>
      <%end if%>   </td>
  </tr>
</table>
<%rs.close
set rs=nothing%></td>
  </tr>
</table>

<!--#include file="../bottom.asp"-->
