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

📄 borrowbook.asp

📁 借阅系统,可以很方便的管理书籍
💻 ASP
字号:
<%response.buffer=true
response.expires=0%> 
 <html>
 <head>
<meta http-equiv="Content-Language" content="zh-cn">
<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>
</head>

<body bgcolor="#000000">

<% 

dim temp
     temp=Request("borrow")
          if temp="" then
       Response.Write " <p align=center><font color=red>您没有选择所要借的图书信息</font></p>"
      else 
      session("bookid")=temp
               %>
  <script language=vbscript>
  sub check()
  if isnumeric(frm5.studentname.value)  then
  msgbox("您输入的姓名必须是中文")
  frm5.studentname.value=""
  frm5.studentname.focus()
  exit sub
  end if
  if frm5.studentname.value=empty or frm5.studentid.value=empty or frm5.class1.value=empty then
  msgbox("您必须完整的输入您的个人资料")
  exit sub
  end if
  frm5.submit
  frm5.studentname.value=empty
  frm5.studentid.value=empty
  frm5.class1.value=empty
  end sub
  
  </script>

<div align="center">
  <form method=post action="borrowbook2.asp" name=frm5>
  <table border="0" width="380" height="86" cellspacing="0" cellpadding="0">
    <tr>
      <td width="190" height="17">
        <p align="left"><b><font color="#008000">@</font><font color="#FF0000">请输入您的学号:</font></b></p>
      </td>
  <center>
      <td width="174" height="17"><input type=text name=studentid ></td>
    </tr>
    <tr>
      <td width="190" height="27"><b><font color="#008000">@</font><font color="#FF0000">输入您的姓名:</font></b></td>
      <td width="174" height="27"><input type=text name=studentname></td>
    </tr>
    <tr>
      <td width="191" height="26">
        <b><font color="#008000">@</font><font color="#FF0000">请输入您的班级</font></b>
      </td>
      <td width="173" height="26">
<input type=text name=class1 >      </td>
    </tr>
    <tr>
      <td width="191" height="43">
        <p align="center"><input type=button value="提交借阅" onclick="check()"></p>
      </td>
      <td width="173" height="43">
        <p align="center"><input type=button value="不借返回" onclick =" javascript:document.location= '显示页面.asp'"></p>
      </td>
    </tr>
  </table></form>
  </center>
</div>

</body>
</html><% end if %>

⌨️ 快捷键说明

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