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

📄 search.asp

📁 鄂尔多斯建站网全站程序(冬季修正版)
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../include/code.asp"-->
<%
'**********************************
'版本:host_free 3.0               *
'官方网站:http://www.850518.com   *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版)     *
'msn: steven_bass@msn.com         *
'手机:(0)13632779827              *
'mail:wtez@vip.163.com            *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 4.0">
<meta name="progid" content="frontpage.editor.document">
<link href="style.css" rel=stylesheet>
</head>

<body style="background-color: #eeeeee">

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="1" width="600" bgcolor="#626262">
    <tr>
      <td height="20">&nbsp;&nbsp;<%call user_title%></td>
    </tr>
    <tr>
      <td bgcolor="#ffffff" height="500" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td width="100%">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
              <form method="post" action="search.asp?action=search_user">
                <tr>
                  <td width="100%" height="50">
                    <p align="center">帐号输入: <input type="text" name="d_webname" size="20">     
                    <input type="submit" value=" 搜索 " name="b3"></td>    
                </tr>
                </form>
              </table>
            </td>
          </tr>
<%if request("action")="search_user" then
d_webname=request("d_webname")
if d_webname="" then
response.write("<script>alert('没有输入用户名');history.go(-1)</script>")
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from duser where d_webname='"&d_webname&"'"
rs.open sql,conn,1,3
if rs.eof then
response.write("<script>alert('没有这个用户名');history.go(-1)</script>")
else
%>         
          <tr>
            <td width="100%">
              <div align="center">
                <table border="0" cellpadding="0" cellspacing="0" width="95%">
                  <tr>
                    <td width="100%"> </td>
                  </tr>
                  <tr>
                    <td width="100%">						<table border="0" cellpadding="0" cellspacing="1" width="100%" id="table2" bgcolor="#626262">
							<tr>
								<td height="20" align="center" width="64">
								<font color="#ffffff">会员编号</font></td>
								<td height="20" align="center">
								<font color="#ffffff">用户名</font></td>
								<td height="20" align="center" width="209">
								<font color="#ffffff">注册时间</font></td>
								<td height="20" align="center" width="102">
								<font color="#ffffff">操作管理</font></td>
							</tr>
							<tr>
								<td height="20" bgcolor="#ffffff" align="center" width="64"><%=rs("id")%></td>
								<td height="20" bgcolor="#ffffff" align="center"><%=rs("d_webname")%></td>
								<td height="20" bgcolor="#ffffff" align="center" width="209"><%=rs("d_time")%></td>
								<td height="20" bgcolor="#ffffff" align="center" width="102">
								<a class="red" href="save_user.asp?id=<%=rs("id")%>">修改</a> | <a class="red" href="del.asp?id=<%=rs("id")%>&action=del_user" onclick="return confirm('确定要删除吗?\n\n该操作不可恢复!')">删除</a></td> 
							</tr>
						</table></td>
                  </tr>
                  <tr>
                    <td width="100%"> </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
<%
end if
rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>         
        </table>
      </td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>
<%
'**********************************
'版本:host_free 3.0               *
'官方网站:http://www.850518.com   *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版)     *
'msn: steven_bass@msn.com         *
'手机:(0)13632779827              *
'mail:wtez@vip.163.com            *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>

⌨️ 快捷键说明

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