?? bookinfo.asp
字號(hào):
<!--#include file="conn.asp"-->
<!--#include file="checkuser.asp" -->
<%
bookid=cint(request.QueryString("bookid"))
if bookid="" then
response.write "<script>"
response.write "alert('參數(shù)錯(cuò)誤!');"
response.write "window.close();"
response.write "</script>"
response.end
end if
Set rs=conn.execute("select * from ebook where id="&bookid&"")
if rs.eof then
response.write "<script>"
response.write "alert('該書(shū)籍不存在!');"
response.write "window.close();"
response.write "</script>"
response.end
end if
%>
<style>
BODY{
font-family:verdana,arial,helvetica;
margin:0;
}
td {
font-family:Tahoma,Verdana, Arial;
font-size:11px;
border: 1px solid #CCCCCC;
}
A:link, A:active,A:visited
{
color: #CCCCCC;
text-decoration: none;
padding-left:6px;
padding-right:6px;
}
A:hover
{
color: #FF3300;
text-decoration: none;
padding-left:6px;
padding-right:6px;
}
</style>
<title>圖書(shū)入庫(kù)::::::<%=rs("shuming")%></title>
<body onLoad="tiaoxingma();">
<form id="form1" name="form1" method="post" action="?action=add" >
<p> </p>
<table width="640" border="0" align="center">
<tr>
<td width="70" bgcolor="#CCCCCC">條形碼:</td>
<td width="400"> <%=rs("tiaoxingma")%></td>
<td width="156"> </td>
</tr>
<tr>
<td width="70" bgcolor="#CCCCCC">書(shū)籍類(lèi)別:</td>
<td width="400">
<%
Set rs1=conn.execute("select * from folder where folderid="&rs("folderid")&"")
%>
<%=rs1("foldername")%></td>
<td width="156" bgcolor="#CCCCCC"><div align="center">縮略圖</div></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">書(shū)籍名稱(chēng):</td>
<td> <%=rs("shuming")%></td>
<td rowspan="6" align="center" valign="middle"><img src="<%=rs("bookpic")%>" width="120" height="150" border="0" /></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">主編/作者:</td>
<td> <%=rs("zhubian")%></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">出版社:</td>
<td> <%=rs("chubanshe")%></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">冊(cè)數(shù):</td>
<td> <%=rs("ceshu")%></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">定價(jià):</td>
<td> <%=rs("dingjia")%> 元</td>
</tr>
<tr>
<td bgcolor="#CCCCCC">書(shū)籍簡(jiǎn)介:</td>
<td> <%=rs("jianjie")%></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">書(shū)籍狀況:</td>
<td> <%=rs("beizhu")%></td>
<td> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC">購(gòu)置時(shí)間:</td>
<td><%=rs("shijian")%></td>
<td> </td>
</tr>
<tr>
<td colspan="3" align="center"><input type="button" name="Submit" value="關(guān)閉" onClick="window.close();"></td>
</tr>
</table>
</form>
</body>
<%
rs.close
set rs=nothing
rs1.close
set rs1=nothing
%>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -