📄 read.asp
字号:
<!--#include file="../includes/db.asp"-->
<%
call insureID()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>办公自动化系统</title>
<style type="text/css">
<!--
.style1 {
color: #000000;
font-weight: bold;
}
-->
</style>
</head>
<body>
<center>
<%
dim Note_id
Note_id=request("Note_id")
if Note_id="" then
call trigErr()
end if
sql="SELECT * FROM Notes WHERE Note_id= "&Note_id&" AND User_id="&session("User_id")
call openDB()
rs.open sql,conn,1,1
Note_id=rs("Note_id")
Note_title=rs("Note_title")
Note_content=rs("Note_content")
Note_title = replaceBack(Note_title)
Note_content=replaceBack(Note_content)
call closeDB()
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="50">
<tr>
<td width="100%"> </td>
</tr>
</table>
<table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5A8BCE">
<tr>
<td height="35" align=left bgcolor="#E6F7FF">
<div align="center" class="style1"><%=session("Name")%>个人记事本</div></td>
</tr>
</table>
<table width="75%" border="0" cellpadding="4" cellspacing="1" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" bgcolor="#5A8BCE">
<tr>
<td width="139" bgcolor="#FCFCFC"> 标题:</td>
<td width="443" bgcolor="#FCFCFC"><%=Note_title%>
</td>
</tr>
<tr>
<td bgcolor="#FCFCFC" width="140" valign=top>内容:
</td>
<td bgcolor="#FCFCFC" width="444"><%=Note_content%>
</td>
</tr>
<tr>
<td width="584" bgcolor="#EFEFEF" colspan="2" height="50" align=center>
[<a href="Edit.asp?Note_id=<%=Note_id%>">编辑</a>]
[<a href="save.asp?action=Delete&Note_id=<%=Note_id%>">删除</a>]
[<a href="javascript:history.back()">返回</a>]
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -