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

📄 search.asp

📁 一个关于网站权限管理的经典例子,适合初学者
💻 ASP
字号:
<% Option explicit %>
<!-- #Include file="./connects.inc"-->
<!-- #Include file="../globals.inc"-->

<html>
<head>
  <title></title>
  <link href="../style/style.css" rel="stylesheet" type="text/css">
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  <meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)">
  <meta http-equiv="Page-Exit" content="blendTrans(Duration=1.0)">
  <SCRIPT LANGUAGE=JavaScript>
  <!--
  function reset_or_not()
  { return confirm("真的要擦除重写吗?"); }

  function check()
  {  }
  //-->
  </SCRIPT>
</head>

 <%
  Dim sSQL, rs1, i
 %>

<body topmargin=20 leftmargin=0 background="../images/bg.gif">

<Form name="frmSearch" method=post action="search_result.asp" OnSubmit="return check();" onReset="return reset_or_not();">
<input name=istoSearch type=hidden value="YES">
<input name=topicid type=hidden value="">
   <table border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
      <td align="center" height="30" colspan="2"> <b>查 找</b> </td>
    </tr>
    <tr>
      <td width="28%" align="center" height="30">【帐户名】</td>
      <td width="72%" align="left" height="30"><input name="accountname" size=25></td>
    </tr>
    <tr>
      <td width="28%" align="center" height="30">【用户姓名】</td>
      <td width="72%" align="left" height="30"><input name="username" size=25></td>
    </tr>
    <tr>
      <td width="28%" align="center" height="30">【备注】</td>
      <td width="72%" align="left" height="30"><input name="remark" size=25></td>
    </tr>
    <tr>
      <td width="100%" colspan="2" align="center" height="40">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type=submit value="查 询">&nbsp;&nbsp;&nbsp;<input type=reset value="重 置">
      </td>
    </tr>
   </table><br>

</body>
</html>

⌨️ 快捷键说明

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