add_bookmark.asp
资源名称:图书管理系统.rar [点击查看]
上传用户:llrg7406
上传日期:2007-03-02
资源大小:654k
文件大小:3k
源码类别:
教育系统应用
开发平台:
Delphi
- <%@ Language=VBScript %>
- <!--#include file ="identify.asp"-->
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link rel="stylesheet" type="text/css" href="xcss.css">
- <meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
- </head>
- <body background="images/zapsmbknd.gif">
- <%
- b_bookid = Request.QueryString("bookid")
- set conn = server.CreateObject("adodb.connection")
- conn.Open Application("dsn")
- sql = "select bookid,name,author,dir from BookDetail where bookid=" & b_bookid
- set rs = server.CreateObject("adodb.recordset")
- rs.Open sql,conn
- if rs.EOF then
- rs.Close
- set rs = nothing
- conn.Close
- set conn = nothing
- Response.Write "找不到您要的文件!"
- Response.End
- end if
- dir = rs("dir")
- b_name = rs("name")
- author = rs("author")
- rs.Close
- set rs = nothing
- conn.Close
- set conn = nothing
- dir = replace(dir,"","/")
- %>
- <form action="add_bmaction0.asp" method="post" id="form1" name="form1">
- <h3>添加一个新书签:</h3>
- <p><b>用户名:</b><%=session("username")%></p>
- <p><b>书名:</b><%=b_name%></p>
- <p><b>作者:</b><%=author%></p>
- <p><b>选择书签图标:</b></p>
- <p>
- <img src="images/a08.jpg"><input type="radio" name="imgname" value="a08" checked>
- <img src="images/a01.jpg"><input type="radio" name="imgname" value="a01">
- <img src="images/a02.jpg"><input type="radio" name="imgname" value="a02">
- <img src="images/a03.jpg"><input type="radio" name="imgname" value="a03">
- <img src="images/a04.jpg"><input type="radio" name="imgname" value="a04">
- <br>
- <img src="images/a05.jpg"><input type="radio" name="imgname" value="a05">
- <img src="images/a06.jpg"><input type="radio" name="imgname" value="a06">
- <img src="images/a07.jpg"><input type="radio" name="imgname" value="a07">
- <img src="images/a09.jpg"><input type="radio" name="imgname" value="a09">
- <img src="images/a10.jpg"><input type="radio" name="imgname" value="a10">
- <br>
- <img src="images/a11.jpg"><input type="radio" name="imgname" value="a11">
- <img src="images/a12.jpg"><input type="radio" name="imgname" value="a10">
- <img src="images/a13.jpg"><input type="radio" name="imgname" value="a13">
- <img src="images/a14.jpg"><input type="radio" name="imgname" value="a14">
- </p>
- <p valign="top"><b>给书签的描述:</b><br>
- <input type="hidden" name="username" value="<%=session("username")%>">
- <input type="hidden" name="bookid" value="<%=b_bookid%>"><textarea id="detail" name="detail" style="HEIGHT: 38px; WIDTH: 250px" valign="top"></textarea></p>
- <table WIDTH="250" BORDER="0" CELLSPACING="1" CELLPADDING="1">
- <tr>
- <td align="middle"><input type="submit" value="添加" id="submit1" name="submit1"> <input type="button" value="取消" onclick="javascript:window.close();" id="button1" name="button1"></td>
- </tr>
- </table>
- </form>
- </body>
- </html>