<!--#include virtual="/show/adminhead.asp"-->
<!--#include file="adminleft.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title><%=webname%>-最高权限-新增会员</title>
<link rel="stylesheet" href="/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="/kindeditor/lang/zh-CN.js"></script>

<%
call chkwurl()
call logquanxian("b2",1)
%>

<DIV>
<%
id=SafeRequest("id")
act=SafeRequestform("act")


if SafeRequest("act")="took" then
id=SafeRequest("id")
if trim(id)="" then call PopErr("缺少ID")

sql="select * from ayname where aynameid="&id&"" 
rs.open sql,conn,1,3
rs("sfzisok")=1
rs.update
rs.close
call PopErr2("操作成功","adminuserpicsfz.asp?id="&id&"")
end if





if SafeRequest("act")="tobad" then
id=SafeRequest("id")
if trim(id)="" then call PopErr("缺少ID")

sql="select * from ayname where aynameid="&id&"" 
rs.open sql,conn,1,3
rs("sfzisok")=3
rs.update
rs.close
call PopErr2("操作成功","adminuserpicsfz.asp?id="&id&"")
end if
%>

<DIV id=main1200> 
<%call webleft()%>

<DIV id=main_right>
<DIV id=main_right_content>
<STYLE>.apply_style {
	POSITION: absolute
}
.right_title A {
	LINE-HEIGHT: 27px; WIDTH: 126px; DISPLAY: inline-block; BACKGROUND: url(<%=ossurl%>images/bg22.gif) no-repeat; HEIGHT: 27px
}
.right_title A.current {
	BACKGROUND: url(<%=ossurl%>images/main_right_title_bg.gif) no-repeat; COLOR: #fff; FONT-WEIGHT: bold
}
.table_style_1 TD {
	HEIGHT: 38px
}
.table_style_home_info TD {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; HEIGHT: 30px; PADDING-TOP: 0px
}
</STYLE>

<%
sql="select * from ayname where aynameid="&clng(id)&"" 
rs.open sql,conn,1,3

%>
<DIV class=right_titleadmin>&nbsp;&nbsp;<%=trim(rs("aytrueuser"))%>-<%=id%>-商户实名认证</DIV>
<DIV class=main><br>
  <br><br>
  <table width="99%" border="0" cellpadding="0" cellspacing="0" class="table_style_a1">
     <form action="" method="post" name="myform" id="myform">
      <tr>
        <td width="254" align="center" class="border_right border_bottom">商家姓名：</td>
        <td width="1159" class="border_bottom"><a href="adminuseredit.asp?id=<%=rs("aynameid")%>" target="_blank"><%=trim(rs("aytrueuser"))%></a></td>
      </tr>
      <tr>
        <td align="center" class="border_right border_bottom">身份证号：</td>
        <td width="1159" class="border_bottom">
		<%
		
		
						For ssum=1 To len(trim(rs("ayshenfenzheng")))
						response.Write mid(trim(rs("ayshenfenzheng")),ssum,1)
						if ssum=6 then response.Write("&nbsp;")
						if ssum=14 then response.Write("&nbsp;")
						next
		%>

        </td>
      </tr>
      <%if cint(rs("sfzisok"))<>0 then%>
      <tr>
        <td align="center" class="border_right border_bottom">身份证正面：</td>
        <td width="1159" class="border_bottom"><a href=<%=trim(rs("sfz1"))%> target=_blank><img src=<%=trim(rs("sfz1"))%> width=280 /></a></td>
      </tr>
      <tr>
        <td align="center" class="border_right border_bottom">身份证背面：</td>
        <td w
        idth="1159" class="border_bottom"><a href=<%=trim(rs("sfz2"))%> target=_blank><img src=<%=trim(rs("sfz2"))%> width=280 /></a></td>
      </tr>
      <%end if%>
      <tr>
        <td align="center" class="border_right border_bottom">审核状态：</td>
        <td width="1159" class="border_bottom">
        <%
		if cint(rs("sfzisok"))=0 then response.Write "[未提交]"
		if cint(rs("sfzisok"))=1 then response.Write "<span style=color:#693>[审核通过]</span>"
		if cint(rs("sfzisok"))=2 then response.Write "<span style=color:#F93>[审核中]</span>"
		if cint(rs("sfzisok"))=3 then response.Write "<span style=color:#F00>[审核失败]</span>"
		%> 
        
        <%
		if cint(rs("sfzisok"))=1 then
		%>
        <a style="color:#F60" href="adminuseredit.asp?id=<%=id%>" target="_blank">【商品认证成功送50元加急提现免佣金流量】</a>
        <%
		end if
        %>
          </td>
      </tr>
      <%if cint(rs("sfzisok"))=2 then%>
      <tr>
        <td align="center" class="border_right border_bottom">审核操作：</td>
        <td width="1159" class="border_bottom">
        <a href="?act=took&id=<%=id%>">【成功】</a>&nbsp;&nbsp;&nbsp;
        <a href="?act=tobad&id=<%=id%>">【失败】</a>
        </td>
      </tr>
      <%end if%>

<%
rs.close
%>

      </form>
    </table>
</DIV>


</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>
<SCRIPT>
$(function(){
$('.left_title').each(function(){
   $(this).click(function(){
	   var index=$('.left_title').index(this);
	   if($(this).next().hasClass('hide_m')){
		   $(this).next().removeClass('hide_m');
           $(this).next().show();		 
		   $(this).find('img').attr('src','<%=ossurl%>images/expansion.gif');
		   $.cookie('m_index_'+index,'',{expires:0});
	   } else {
	       $(this).next().hide();
		   $(this).next().addClass('hide_m');
		   $(this).find('img').attr('src','<%=ossurl%>images/shrank.gif');		   
		   $.cookie('m_index_'+index,'none',{expires:365});
	   }
   })
})

$('.left_title').each(function(){
	var index=$('.left_title').index(this);
    $(this).next().css('display',$.cookie('m_index_'+index) ? $.cookie('m_index_'+index) : '');
	if($.cookie('m_index_'+index)){
	    $(this).next().addClass('hide_m');
	}
	$(this).find('img').attr('src',$.cookie('m_index_'+index) ? '<%=ossurl%>images/shrank.gif' : '<%=ossurl%>images/expansion.gif');
})
})

</SCRIPT>

<!--#include virtual="/show/footadmin.asp"-->

