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

📄 2fly_look.asp

📁 功能简单的图书管理系统基本实现了图书管理借阅览等功能模块完成相关组件的实现
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
booktypeid=request.querystring("booktypeid")
feiqi=request.querystring("feiqi")
set rs=server.createobject("adodb.recordset")
if booktypeid<>"" then
sql="SELECT book.*, booktype.booktype FROM book INNER JOIN booktype ON book.booktypeid = booktype.booktypeid where book.booktypeid="&booktypeid&" and onno<>1 order by id desc"
elseif feiqi="feiqi" then
sql="SELECT book.*, booktype.booktype FROM book INNER JOIN booktype ON book.booktypeid = booktype.booktypeid where onno=1 order by id desc"
else
sql="SELECT book.*, booktype.booktype FROM book INNER JOIN booktype ON book.booktypeid = booktype.booktypeid where onno<>1 order by id desc"
end if
rs.open sql,db,1,3
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>2Fly列表</title>
<style type="text/css">
<!--
table {
	font-size: 9pt;
	text-decoration: none;
	border: 1px solid #000000;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style>
</head>

<body>
<table width="88%" border="1" align="center" cellspacing="0" bordercolor="#F4F5F7">
  <tr align="center" valign="middle" bgcolor="#006699"> 
    <td width="28%" height="25"><font color="#FFFFFF">书籍名称</font></td>
    <td width="15%"><font color="#FFFFFF">分类</font></td>
    <td width="22%"><font color="#FFFFFF">出版社</font></td>
    <td width="8%"><font color="#FFFFFF">作者</font></td>
    <td width="18%"><font color="#FFFFFF">出版日期</font></td>
    <td width="9%"><font color="#FFFFFF">借书</font></td>
  </tr>
  <%do while not rs.eof%>
  <tr align="center">
    <td height="26">&nbsp;<a href="2fly_book_read.asp?id=<%=rs("id")%>"><%=rs("bookname")%></a></td>
    <td height="26">&nbsp;<%=rs("booktype")%></td>
    <td height="26">&nbsp;<%=rs("publishing")%></td>
    <td height="26"><font color="#FF0000">&nbsp;<%=rs("writer")%></font></td>
    <td height="26">&nbsp;<%=rs("bookdate")%></td>
    <td height="26">&nbsp;<a href="2fly_boroow_in.asp?bookbh=<%=rs("bookbianhao")%>">借书</a></td>
  </tr>
  <%
  rs.movenext
  loop
  %>
</table>
<p align="center"><!--#include file="2fly_wei.asp"--></p>
</body>
</html>

⌨️ 快捷键说明

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