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

📄 show.asp

📁 自己做的毕业设计
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>图书馆管理系统</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	background-color: #E7EEF5;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE2 {
	font-size: 16px;
	font-family: "黑体";
	color: #FFFFFF;
}
.tb2{
	margin-top: 3px;
	margin-right: 0px;
	margin-bottom: 3px;
	margin-left: 0px;
}
.style4 {font-size: 16px; font-family: "黑体"; color: #000000; }
-->
</style>
</head>
<!--#include file="conn.asp"-->
<%
id=trim(request("id"))
if id<>"" then
sql="select * from [book] where id="&Id
set rs=conn.execute(sql)
else
response.write"<script language='javascript'>alert('操作错误!');window.location.href='index.asp';</script>"
response.end
end if
%>
<body>
<form name="form1" method="post" action="">
<center>
<table width="800" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="150"><!--#include file="top.asp"--></td>
  </tr>
  <tr>
    <td align="center" valign="top"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#C5D5E4" class="tb2">
<tr>
                            <td height="38" valign="top"><table width="100%"  border="0">
                                <tr></tr>
                              </table>
                                <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td width="94%" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0" >
<tr>
                                            <td height="30" align="center" valign="middle" background="img/T_bg.gif" class="title_bg"><span class="style4">详细信息</span></td>
                                      </tr>
                                          <tr>
                                            <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#0099CC">
                                              <tr bgcolor="#FFFFFF">
                                                <td width="22%" height="25" align="right" valign="middle"><strong>书名:</strong></td>
                                                <td width="18%" height="25" align="left"><%=rs("b_name")%>                                                </td>
                                                <td width="20%" height="25" align="right" valign="middle"><strong>ISBN:</strong></td>
                                                <td width="40%" height="25" align="left"><%=rs("b_isbn")%> </td>
                                              </tr>
                                              <tr bgcolor="#FFFFFF">
                                                <td height="25" align="right" valign="middle"><strong>作者:</strong></td>
                                                <td height="25" align="left"><%=rs("b_WRITER")%> </td>
                                                <td height="25" align="right" valign="middle"><strong>出版社:</strong></td>
                                                <td height="25" align="left"><%=rs("b_CONCERN")%></td>
                                              </tr>
                                              <tr bgcolor="#FFFFFF">
                                                <td height="25" align="right" valign="middle"><strong>出版日期:</strong></td>
                                                <td height="25" align="left"><%=rs("b_DATE")%></td>
                                                <td height="25" align="right" valign="middle"><strong>上架日期:</strong></td>
                                                <td height="25" align="left"><%=rs("b_CHECK_DATE")%></td>
                                              </tr>
                                              <tr align="center" valign="middle" bgcolor="#FFFFFF">
                                                <td height="30" colspan="4"><p><strong>库存数量:</strong><font color="#FF0000"><%=rs("b_num")%></font>&nbsp; <strong>外借数量:</strong><font color="#FF0000"><%n_wj=conn.execute("select count(*) as ct from jieyue where book_id="&id)("ct")
												response.Write n_wj%></font>&nbsp; <strong>可借数量:</strong><font color="#FF0000"><%=(rs("b_num")-n_wj)%></font></p>                                                </td>
                                              </tr>
                                              <tr bgcolor="#FFFFFF">
                                                <td height="25" align="right" valign="middle"><strong>简介:</strong></td>
                                                <td height="50" colspan="3" align="left" valign="top"><%=rs("b_REMARK")%></td>
                                              </tr>
                                              <tr align="center" bgcolor="#FFFFFF">
                                                <td height="30" colspan="4" valign="middle"><a href="#" onclick="history.back();"><font color="#FF0000">返回</font></a>&nbsp;&nbsp; <a href="javascript:window.close();"><font color="#FF0000">关闭窗口</font></a>&nbsp;&nbsp; <%if session("id")<>"" then%><a href="yd2.asp?id=<%=rs("id")%>" target="_self"><font color="#FF0000">预定该图书</font></a>
                                                  <%end if%></td>
                                              </tr>
                                            </table>
											
                               

                                            </td>
                                          </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
  </tr>
                          <tr></tr>
</table></td>
  </tr>
  <tr>
    <td height="60"><!--#include file="bottom.asp"--></td>
  </tr>
</table>
</center>
</form>
</body>
</html>

⌨️ 快捷键说明

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