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

📄 登陆查询.htm

📁 借阅系统,可以很方便的管理书籍
💻 HTM
字号:
<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">
<title>管理员登陆</title>
<base target="main">
</head>
<script language="VBScript">
sub check()
if frm1.username.value=empty then
msgbox "请输入您的用户名!"
frm1.username.focus()
exit sub
end if 
if instr(frm1.username.value,"'")<>0 then
msgbox("您输入了非法字符!")
frm1.username.value=""
frm1.username.focus
exit sub
end if
if instr(frm1.password.value,"'")<>0 then
msgbox("您输入了非法字符!")
frm1.password.value=""
frm1.password.focus
exit sub
end if

if frm1.password.value=empty then
msgbox "请输入您的密码!"
frm1.password.focus()
exit sub
end if
frm1.submit
frm1.username.value=empty
frm1.password.value=empty
end sub
sub check1
if frm6.findname.value="" then
msgbox("您没有输入您的学号或姓名")
frm6.findname.focus()
exit sub
end if
if instr(frm6.findname.value,"'")<>0 then
msgbox("您输入了非法字符!")
frm6.findname.value=""
frm6.findname.focus
exit sub
end if
frm6.submit
end sub
sub check2
if instr(frm7.bookname.value,"'")<>0 then
msgbox("您输入了非法字符!")
frm7.bookname.value=""
frm7.bookname.focus
exit sub
end if
frm7.submit
end sub
</script>
<body bgcolor="#CCFFFF">
<b><font face="新宋体" size="3" color="#0000FF">管理员登陆</font></b>
<div align="left">
<form action="checkuser.asp" method="post" name=frm1>
  <table border="0" width="156" height="75" bgcolor="#008000">
    <tr>
      <td width="58" height="30"><b><font face="新宋体" size="3" color="#008000"><img border="0" src="images/75-1.gif" width="32" height="32"></font></b></td>
      <td width="85" height="30"><input type=text name=username size="12"></td>
    </tr>
    <tr>
      <td width="62" height="25"><img border="0" src="images/72000003.gif" width="32" height="32"></td>
      <td width="81" height="25"><input type=password name=password size="12"></td>
    </tr>
    <tr>
      <td width="134" height="23" colspan="2">

            
      初始用户名:<font size="3" color="#FF0000">xyz</font>

            
      </td>
    </tr>
    <tr>
      <td width="134" height="29" colspan="2">

            
      <font size="3" color="#000000">初始密码:</font><font size="3" color="#FF0000">123</font>

            
      </td>
    </tr>
    <tr>
      <td width="134" height="29" colspan="2">

            
      <p align="center"><input type=button value="进入管理员工作区" onclick="check()">

      </p>

            
      </td>
    </tr>
  </table></form>
</div>
<marquee bgcolor="#000000" direction="up" width="164" height="55" scrollamount="3" scrolldelay="100" style="color: #FF0000; font-weight: bold">请用户进入管理员工作区,修改用户名和密码,并且妥善保管好用户名和密码,以便以后维护</marquee>
<div align="left">
<form method=post action="newbook.asp" >
  <table border="0" width="129" height="239" bgcolor="#C0C0C0" cellspacing="0" cellpadding="0">
    <tr><td width="81" height="20" bgcolor="#CCFFFF" colspan="3"><font color="#0000FF"><b>新书通报</b></font></td>
      <td width="84" height="20" bgcolor="#CCFFFF"><font color="#FF0000" size="2">&nbsp;</font></td>
    </tr>
    <tr>
      <td width="162" height="25" colspan="3">
        <p align="left"><select size="1" name="select3">
            <option selected>军事类</option>
            <option>现代小说类</option>
            <option>计算机类</option>
          <option>语言文学类</option>
          <option>建筑类</option>
          <option>报刊杂志类</option>
          <option>国外文化类</option>
            <option>经济类</option>
            <option>古代小说类</option>
        </select>
      </td>
    </tr>
    <tr>
      <td width="81" height="27" colspan="3">
        <select size="1" name="select4">
          <option selected>本日刚到书</option>
          <option>本星期刚到书</option>
          <option>本月刚到书</option>
        </select>
      </td>
      <td width="84" height="27"><input type=submit value="查阅"></form></td>
    </tr>
    <tr>
      <td width="165" height="18" colspan="4" bgcolor="#CCFFFF">
        <font face="新宋体" size="3" color="#0000FF"><b>书籍查询和借阅</b></font></td>
    </tr>
    <tr>
      <td width="165" height="18" colspan="4">
        <font color="#800000">请选择要查询的方式</font></td>
    </tr>
    <tr>
      <td width="165" height="26" colspan="4"><form method=post action="findbook.asp" name=frm7><select size="1" name="select1">
            <option selected>按索书号查询</option>
            <option>按图书名称查询</option>
            <option>按图书类型查询</option>
            <option>按出版社查询</option>
          </select>
    <tr>
      <td width="165" height="22" colspan="4">    <font color="#800000">请选择要查询的类别</font>    </tr>
    <tr>
      <td width="165" height="33" colspan="4">   
        <p align="left"><select size="1" name="select2">
            <option selected>军事类</option>
            <option>现代小说类</option>
            <option>计算机类</option>
          <option>语言文学类</option>
          <option>建筑类</option>
          <option>报刊杂志类</option>
          <option>国外文化类</option>
            <option>经济类</option>
            <option>古代小说类</option>
        </select>
    <tr>
      <td width="165" height="33" colspan="4">   
        <input type="text" name="bookname" size="20" value="为空将进行模糊查询">    
    <tr>
      <td width="165" height="33" colspan="4">   
        <p align="center">   
        <input type=button value="进入图书库查询" onclick="check2()"></tr></form>
    <tr><form method=post action="findreader.asp" name="frm6">
      <td width="165" height="17" colspan="4" bgcolor="#CCFFFF">   
        <b><font color="#0000FF">读者查询</font></b>
    <tr>
      <td width="58" height="33">   
        <p align="right"><select size="1" name="select5">
          <option selected>学号</option>
          <option>姓名</option>
          </select><td width="143" height="33" colspan="3">   
         
    <tr>
      <td width="83" height="33" colspan="2">   
        <input type="text" name="findname" size="15" >    
      <td width="82" height="33" colspan="2">   
             
        <tr><td width="165" height="33" colspan="4"> 
<p align="center"> 
<input type=button value="查询读者" onclick="check1()"> </form>   
          </div>


<hr>
<div align="left">
  <table border="0" width="161" height="56">
    <tr>
      <td width="74" height="56">
        <p align="left"><img border="0" src="images/snap.gif" width="64" height="64"></td>
      <td width="77" height="56">
        <img border="0" src="images/chick1.gif" align="right" width="64" height="64"></td>
    </tr>
  </table>
</div>


</body>

</html>

⌨️ 快捷键说明

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