<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/top.asp"-->
<% chk_log()%>
<%
chk_newpwr 4,25,5
dim distpe(2)
distpe(0)="<font color=#ff0000>模糊匹配</font>"
distpe(1)="完全匹配"
perpage=20
ThePage=0
conn.open constr
perpage=SafeRequest("perpage")
if chk_int(perpage)=false then
perpage=12
end if 
perpage=clng(perpage)
ThePage=0
page=0
rcount=0
thepage=0
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

		
 query="select * from disusr  order by u_nme"
 '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    rs.open query,conn,1,1
    if rs.RecordCount<=0 then
          ErrMsg=ErrMsg+"<font color=#ff0000>对不起，</font>没有找到记录！..."
	else
	      ifshow=1
	       rcount=rs.recordcount
	      rs.pagesize=perpage
		  ThePage=rs.pagecount
		  if Chk_Int(SafeRequest("page"))=false then
		  page=1
		  else
		   page=cint(SafeRequest("page"))
		    if page<=0  then
		       page=1
		    elseif page>ThePage then
		       page=ThePage
		    end if	  
		  end if
		    rs.absolutepage=page
    end if 
%>
<script language=javascript>
function tofirst()
{searchform.page.value=1;
searchform.submit();
 }
  function toprev()
{searchform.page.value-=1;
searchform.submit();
 }
  function tonext()
{
searchform.page.value=<%=page%>-1+2;
searchform.submit();
 }
  function tolast()
{searchform.page.value=<%=ThePage%>;
searchform.submit();
 }
 function toorder(ordn)
{searchform.ordernum.value=ordn;
searchform.page.value=1;
searchform.submit();
 }
 function delall()
{
if(confirm("是否确认删除?"))
document.usr_frm.submit();
}

function checkAll()
  {
    for (var i=0;i<document.usr_frm.elements.length;i++)
    {
      var e = document.usr_frm.elements[i];
      var boolValue = document.usr_frm.selectAll.checked;
      if (e.name != 'selectAll')
	  {
        e.checked = boolValue;
	  }
    }
  }

</script>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>不允许申请的会员用户名</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="../../sys_mng/pdt_tpe.asp"></a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="28"> 
      <div align="center"> 
        <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tbody> 
          <form action=ftp_lst.asp method=post name=searchform2>
            <tr> 
              <td height=20 width="119">&nbsp;共计 <b> <%=rcount%> </b>条记录 </td>
              <td height=20> 
                <div align="center"><%=page_turn%><input type=button name=deldall2 value="删 除" class=btxx onClick="javascript: delall();">
                </div>
              </td>
              <td height=20 width="120"> 
                <div align="right">转第 
                  <select name="page" onChange="javascript:document.searchform2.submit();">
                    <option selected value=<%=page%>><%=page%></option>
                    <%
				   for i=1 to thepage
				   response.write "<option value="&i&">"&i&"</option>"
				   next
				   %>
                  </select>
                  页</div>
              </td>
            </tr>
          </form>
          </tbody> 
        </table>
        <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr> 
            <td height=12></td>
          </tr>
        </table>
        <table border=0 cellpadding=0 
                        cellspacing=0 width="60%"  align="center" class=datalist>
          <tbody> 
          <form action="sys_mng.asp" method=post name="usr_frm">
            <tr> 
              <th width="12%"  class=datalistheader height=20> 序号 </th>
              <th width="30%" align="center" class=datalistheader >会员用户名</th>
              <th width="15%" align="center" class=datalistheader >类型</th>
              <th width="30%"  class=datalistheader > 添加时间 
                <input type="hidden" name="module" value="disusr_del">
              </th>
              <th  class=datalistheader > 删除 
                <input type="checkbox" NAME="selectAll" onClick="return checkAll();" value="ON">
              </th>
            </tr>
            <%
  i=1
   do while not rs.eof %>
            <tr   > 
              <td height="20" class=datalistgridb align=center  style="cursor:hand;"><u>&nbsp;<%=i+perpage*(page-1)%>&nbsp;</u></td>
              <td  align=center class=datalistgridb ><%=trim(Rs("u_nme"))%></td>
              <td  align=center class=datalistgridb ><%=distpe(Rs("u_tpe"))%></td>
              <td  align=center class=datalistgridb ><%=trim(Rs("u_addtme"))%></td>
              <td  align=center class=datalistgridb > 
                <input type="checkbox" name="delid" value="<%=rs("u_id")%>">
              </td>
            </tr>
            <%
  rs.movenext
i=i+1
if i>perpage then
exit do
end if

  loop 
  %>
          </form>
          </tbody> 
        </table>
        <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr> 
            <td height=8></td>
          </tr>
        </table>
        <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tbody> 
          <form action=ftp_lst.asp method=post name=searchform>
            <tr> 
              <td height=20 width="120">&nbsp;共计 <b> <%=rcount%> </b>条记录 </td>
              <td height=20> 
                <div align="center"><%=page_turn%><input type=button name=deldall value="删 除" class=btxx onClick="javascript: delall();">
                </div>
              </td>
              <td height=20 width="120"> 
                <div align="right">转第 
                  <select name="page" onChange="javascript:document.searchform.submit();">
                    <option selected value=<%=page%>><%=page%></option>
                    <%
				   for i=1 to thepage
				   response.write "<option value="&i&">"&i&"</option>"
				   next
				   %>
                  </select>
                  页</div>
              </td>
            </tr>
          </form>
          </tbody> 
        </table>
        <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr> 
            <td height=8></td>
          </tr>
        </table>
        <br>
        <table border=0 cellpadding=0 
                        cellspacing=0 width="60%"  align="center" class=datalist>
          <tbody> 
          <tr> 
            <th width="55%" align="center" class=datalistheader height="20" >添加不允许申请的会员用户名</th>
            <th width="20%" align="center" class=datalistheader >类型</th>
            <th  class=datalistheader > 添加</th>
          </tr>
          <form action="sys_mng.asp" method=post>
            <tr   > 
              <td  align=center class=datalistgridb > 
                <input type="text" name="u_nme">
                <input type="hidden" name="module" value="disusr_add">
              </td>
              <td  align=center class=datalistgridb > 
                <select name="u_tpe">
                  <option value="1">完全匹配</option>
                  <option value="0">模糊匹配</option>
                </select>
              </td>
              <td  align=center class=datalistgridb > 
                <input type="submit" name="Submit32" value="添  加" class=btxx   >
              </td>
            </tr>
          </form>
          </tbody> 
        </table>
      </div>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="20"> 
      <p><br>
        <br>
      </p>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->

