<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<!--#include file="top.asp"-->
<style type="text/css" media="screen">
@import url("../home/css/global/v1.2.css@t=20060512.css");
@import url("../home/css/component.php@t=20060315.css");
@import url("../home/css/sys/detail.php@t=20060522.css");
</style>
<table width="762" border="0" align="center" cellpadding="2" cellspacing="0" style='BORDER-COLLAPSE: collapse;MARGIN: 3px'>
  <tr> 
    <td height="25" colspan="2">您的位置： <a href="../index.asp">首页</a> &gt;&gt; <a href="index.asp">会员中心</a>&nbsp;&gt;&gt;身份认证管理</td>
  </tr>
  <tr> 
    <td width="180" valign="top">
<!--#include file="left.asp"-->    </td>
<td width="582" valign="top">
<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></td>
  </tr>
</table>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="4" bgcolor="1E88C1"></td>
    </tr>
  </table>

<div align="center">
<%dim rz
set rz = conn.execute("select rzjb,yz from rz where username='"&Request.Cookies(Rikee)("huiyuan")&"'")
if not rz.eof then
if rz("yz")<>1 then
response.Write("<Script>alert('您已经提交身份认证！');window.location='index.asp';</script>")
rz.close
set rz=nothing
Response.end
end if
end if
Dim Rs
set Rs=server.createobject("adodb.recordset")
sql="select * from huiyuan where huiyuan='"&myhuiyuan&"'"
Rs.open sql,conn,1,1
if rs("dz")="" or rs("tel")="" or rs("name")="" or rs("yb")="" or rs("idcard")="" or rs("shouji")="" then 
response.Write("<Script>alert('您的注册资料没有填写完整.请先填写完整的注册资料后再进行身份认证');window.location='index.asp?abc=info';</script>")
else
%></div>
  <div id="UserAgreement">请选择您需要的身份认证类型,认证前请确认您所填写的个人资料都是真实有效的,<br>否则.认证流程将 不能继续!</div>
 <script language="javascript">
function checkup() {
if ( document.myform.xt.value ==0 ) {
window.alert('请上传图片!');
document.myform.xt.focus();
return false;}

return true;}
</script> 
 
 <form id="myform" name="myform" method="post" action="sfrz.asp?add=addrz">


  <div align="center"><br />
    <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#cccccc">
        <tr valign="middle" bgcolor="#CCCCCC">
          <td height="21" colspan="3" background="../image/bk.gif" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td background="../bbs/skins/bg_bj.gif" bgcolor="#FFFFFF"><span style="font-size: 13px">个人身份认证 </span></td>
          <td width="12%" height="25" align="center" valign="middle" bgcolor="#FFFFFF"><img src="../image/shenfenzheng.gif" width="34" height="20" /></td>
          <td width="68%" valign="middle" bgcolor="#FFFFFF"><span style="font-size: 13px">
          <input name="rz" type="radio" value="1" checked="checked" />
上传有效的身份证件,如身份证\驾驶证\护照.(只需其中一样)</span></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td background="../bbs/skins/bg_bj.gif" bgcolor="#FFFFFF"><span style="font-size: 12px">个人商家身份认证</span></td>
          <td height="25" align="center" valign="middle" bgcolor="#FFFFFF"><img src="../image/shenfenzheng.gif" width="34" height="20" /></td>
          <td height="25" valign="middle" bgcolor="#FFFFFF"><span style="font-size: 12px">
          <input type="radio" name="rz" value="2" />
上传有效的身份证件,如身份证\驾驶证\护照.(只需其中一样)</span></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td background="../bbs/skins/bg_bj.gif" bgcolor="#FFFFFF"><span style="font-size: 12px">企业商家身份认证</span></td>
          <td height="25" align="center" valign="middle" bgcolor="#FFFFFF"><img src="../image/yingyezhizhao.gif" width="34" height="20" /></td>
          <td height="25" valign="middle" bgcolor="#FFFFFF"><span style="font-size: 12px">
        <input type="radio" name="rz" value="3" />
上传法人身份证件及企业营业执照</span></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td  bgcolor="#FFFFFF">&nbsp;用户名</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF"> &nbsp;<%=myhuiyuan%></td>
        </tr>
        
        <tr valign="middle" bgcolor="#CCCCCC">
          <td width="20%"  bgcolor="#FFFFFF">&nbsp;真实姓名</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("name")%></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td  bgcolor="#FFFFFF">&nbsp;身份证</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("idcard")%></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td  bgcolor="#FFFFFF">&nbsp;联系电话</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("tel")%></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td  bgcolor="#FFFFFF">&nbsp;手 机</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("shouji")%></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td  bgcolor="#FFFFFF">&nbsp;联系地址</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("dz")%></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td bgcolor="#FFFFFF">&nbsp;邮政编码</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("yb")%></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td  bgcolor="#FFFFFF">&nbsp;邮 箱</td>
          <td height="25" colspan="2" valign="middle" bgcolor="#FFFFFF">&nbsp; <%=rs("mail")%></td>
        </tr>
        
        <tr valign="middle" bgcolor="#CCCCCC">
          <td rowspan="2" bgcolor="#FFFFFF"><div align="center">上传文件</div></td>
          <td height="25" colspan="2" bgcolor="#FFFFFF"><input name="xt" type="text" class="wenbenkuang" id="xt" size="30" maxlength="60" />
            图片大小请限定在100KB以下</td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td colspan="2" bgcolor="#FFFFFF"><iframe name="ad" frameborder=0 width=100% height=20 scrolling=no src=../up/uploadrz.asp></iframe></td>
        </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td colspan="3" align="center" bgcolor="#FFFFFF">
		        <input name="mail" type="hidden" id="mail" value="<%=rs("mail")%>" />
      <input name="yb" type="hidden" id="yb" value="<%=rs("yb")%>" />
      <input name="dz" type="hidden" id="dz" value="<%=rs("dz")%>" />
      <input name="tel" type="hidden" id="tel" value="<%=rs("tel")%>" />
      <input name="name" type="hidden" id="name" value="<%=rs("name")%>" />
	  <input name="idcard" type="hidden" id="name" value="<%=rs("idcard")%>" />
	  <input name="shouji" type="hidden" id="name" value="<%=rs("shouji")%>" />
      <input name="username" type="hidden" id="username" value="<%=myhuiyuan%>" />
      <input name="userid" type="hidden" id="userid" value="<%=rs("id")%>" />
      <input type="submit" name="Submit" value="提 交"  onClick="javascript:return checkup()"/>		  </td>
          </tr>
        <tr valign="middle" bgcolor="#CCCCCC">
          <td height="21" colspan="3" background="../image/bk.gif" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
      </table>
      <br />

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