⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 temuserlist.asp

📁 一个公司营销系统
💻 ASP
字号:
<%
if session("username")="" or session("password")="" then
   session.timeout=5
   response.write "<script language='javascript'>"
   response.write "alert('账号或密码错误!');"
   response.write "history.go(-1);"
   response.write "</script>"
   response.end
end if
%>
<!--#include file="../conn.asp"-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>显示用户信息</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<link rel="stylesheet" type="text/css" href="../css.css">
</head>
<SCRIPT>
<!--
function openwindow(url) {
   window.open(url,'new','toolbar=no,scrollbars=yes,width=200,height=120');
    }
//-->
</SCRIPT>
<%
   const MaxPerPage=10
   dim totalPut   
   dim CurrentPage
   dim TotalPages
   dim i,j

   if not isempty(request("page")) then
      currentPage=cint(request("page"))
   else
      currentPage=1
   end if
   
%>

<body bgcolor="#7bb5de">
<div align="center">

  <table border="0" cellspacing="1" width="101%" bgcolor="#7bb5de">
    <tr>
      <td width="100%" height="28"> 
        <p align="center"><font color="#000000" style="font-size: 14px"><strong> 
          临 时 会 员 信 息</strong></font>
      </td> 
  </tr> 
   
 
  <tr> 
      <td width="100%" bgcolor="#7bb5de"><br>
        <% 
dim sql 
dim rs 
sql="select * from user where key1 like '0' or key2 like '0' or key3 like '0'or key4 like '0' or key5 like '0' order by regid desc" 
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1 
  if rs.eof and rs.bof then 
       response.write "<p align='center'> 还 没 有 临 时 用 户 !</p>" 
   else 
	  totalPut=rs.recordcount 
      totalPut=rs.recordcount 
      if currentpage<1 then 
          currentpage=1 
      end if 
      if (currentpage-1)*MaxPerPage>totalput then 
	   if (totalPut mod MaxPerPage)=0 then 
	     currentpage= totalPut \ MaxPerPage 
	   else 
	      currentpage= totalPut \ MaxPerPage + 1 
	   end if 
 
      end if 
       if currentPage=1 then 
           showpage totalput,MaxPerPage,"temuserlist.asp" 
            showContent 
            showpage totalput,MaxPerPage,"temuserlist.asp" 
       else 
          if (currentPage-1)*MaxPerPage<totalPut then 
            rs.move  (currentPage-1)*MaxPerPage 
            dim bookmark 
            bookmark=rs.bookmark 
           showpage totalput,MaxPerPage,"temuserlist.asp" 
            showContent 
             showpage totalput,MaxPerPage,"temuserlist.asp" 
        else 
	        currentPage=1 
           showpage totalput,MaxPerPage,"temuserlist.asp" 
           showContent 
           showpage totalput,MaxPerPage,"temuserlist.asp" 
	      end if 
	   end if 
   rs.close 
   end if 
	         
   set rs=nothing   
   conn.close 
   set conn=nothing 
   
 
   sub showContent 
       dim i 
	   i=0 
   
%>
        <div align="center"><center>
            <table border="0" cellspacing="0" width="96%" bgcolor="#F6F6EC" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
              <tr>
                <td height="229">┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓<br>
                ┃ 国内最先进的网络营销专业系统&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                ┃<br>
                ┃ 现在版本:Money178_2.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                ┃<br>
                ┃ 版权所有: 天意网络(tiyi.net)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                ┃<br>
                ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫<br>
                ┃ 本系统现在免费测试使用&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                ┃<br>
                ┃ 天意网为广大网友100元制作精美主页,专业的程序提供,现在活动中&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                ┃<br>
                ┃ 联系方式:QQ:4959489 Email:tiyinet@yahoo.com.cn Tel:13520592042(短信) 
                ┃<br>
                ┃ http://www.tiyi.net/web/geren.htm 程序定做,国内最低价&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                ┃<br>
                ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛<p>
                <font size="5" color="#FF00FF">此为免费版本,不提供这个功能,需要定制功能请联系</font></p>
                <p> </td>
              </tr>
              <tr bgcolor="#7bb5de"> 
                <td width="8%" align="center" height="28"> <font color="#BB0000" face="Arial"><strong>ID</strong></font></td>
                <td width="8%" align="center" height="28"> <font color="#BB0000"><strong>用户名</strong></font></td>
                <td width="8%" align="center" height="28"> <font color="#BB0000"><strong>密码</strong></font></td>
                <td width="8%" align="center" height="28"> <font color="#BB0000"><strong>姓名</strong></font></td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><font color="#BB0000"><b>银行</b></font></div>
                </td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><b><font color="#BB0000">银行卡</font></b></div>
                </td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><b><font color="#BB0000" face="Arial">证件</font></b></div>
                </td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><b><font color="#BB0000" face="Arial">E-mail</font></b></div>
                </td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><b><font color="#BB0000" face="Arial">QQ</font></b></div>
                </td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><font color="#BB0000"><b>地址</b></font></div>
                </td>
                <td width="8%" align="center" height="28"> 
                  <div align="center"><b><font color="#BB0000">邮编</font></b></div>
                </td>
                <td width="8%" align="center" height="28"><b> <font color="#BB0000">操作</font></b></td>
              </tr>
              <%do while not rs.eof%>
              <tr bgcolor="#7bb5de"> 
                <td height="23" style="border-bottom: 1px solid #C9D8AD"> 
                  <p align="center"><%=rs("regid")%> 
                </td>
                <td style="border-bottom: 1px solid #C9D8AD"> 
                  <p align="center"><%=rs("username")%> 
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <p align="center"><%=rs("password")%>   
                </td>
                <td style="border-bottom: 1px solid #C9D8AD"> 
                  <p align="center"><%=rs("name")%>  
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("bank")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("card")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("egold")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("email")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("qq")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("address")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"> 
                  <div align="center"><%=rs("postcard")%></div>
                </td>
                <td align="center" style="border-bottom: 1px solid #C9D8AD"><a href="javascript:openwindow('deluser.asp?regid=<%=rs("regid")%>')">删除</a></td>
              </tr>
              <% i=i+1 
	      if i>=MaxPerPage then exit do 
	      rs.movenext 
	   loop 
		  %>
            </table> 
    </center></div><% 
   end sub  
 
function showpage(totalnumber,maxperpage,filename) 
  dim n 
  if totalnumber mod maxperpage=0 then 
     n= totalnumber \ maxperpage 
  else 
     n= totalnumber \ maxperpage+1 
  end if 
  response.write "<form method=Post action="&filename&">" 
  response.write "<p align='center'>&gt;&gt;分页&nbsp;" 
  if CurrentPage<2 then 
    response.write "<font color='999966'>首页 上一页</font>&nbsp;" 
  else 
    response.write "<a href="&filename&"?page=1&>首页</a>&nbsp;" 
    response.write "<a href="&filename&"?page="&CurrentPage-1&">上一页</a>&nbsp;" 
  end if 
  if n-currentpage<1 then 
    response.write "<font color='999966'>下一页 尾页</font>" 
  else 
    response.write "<a href="&filename&"?page="&(CurrentPage+1) 
    response.write ">下一页</a> <a href="&filename&"?page="&n&">尾页</a>" 
  end if 
   response.write "&nbsp;页次:<strong><font color=red>"&CurrentPage&"</font>/"&n&"</strong>页 " 
    response.write "&nbsp;共<b>"&totalnumber&"</b>条 <b>"&maxperpage&"</b>条/页 " 
   response.write " 转到:<input type='text' name='page' size=4 maxlength=10 class=smallInput value="&currentpage&">" 
   response.write "<input class=buttonface type='submit'  value=' Goto '  name='cndok'></span></p></form>" 
        
end function 
 
  
%> 
<p> </td> 
  </tr> 
</table> 
</div> 
</body> 
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -