📄 read.asp
字号:
<!--#include file="../../includes/keepHouse.asp"-->
<%
call insureID()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
</head>
<body>
<center>
<%
dim NOTE_ID
NOTE_ID=request("NOTE_ID")
if NOTE_ID="" then
call trigErr()
end if
sql="SELECT * FROM PersonalNotes WHERE NOTE_ID= "&NOTE_ID&" AND PERSONNEL_ID="&session("PERSONNEL_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 border="0" width="75%" cellspacing="0" cellpadding="0">
<tr>
<td width="5%" bgcolor="#0000FF" height="35" align=left><img border="0" src="../../images/back.gif"></td>
<td width="65%" bgcolor="#0000FF" height="35" align=center>
<b><font color="#FFFFFF"><%=session("PERSON_NAME")%>的个人记事本</font></b></td>
<td width="5%" bgcolor="#0000FF" height="35" align=right><img border="0" src="../../images/Close2.gif"></td>
</tr>
</table>
<table border="1" width="75%" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
<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="saveCED.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 + -