📄 nb_show.asp
字号:
<!--#include file="passinc.asp" -->
<%
id = trim(Request("id"))
if id = "" then
response.redirect "nb_brow.asp?" & getGRSN()
end if
if IsNumeric(id) = false then
response.redirect "nb_brow.asp?" & getGRSN()
end if
id = CInt(id)
dim nb
set nb = server.createobject("easymail.NoteBooksManager")
nb.Load Session("wem")
nb.Get id, title, text
%>
<html>
<head>
<title>Corp.Email</title>
<LINK href="images\hwem.css" rel=stylesheet>
</head>
<SCRIPT LANGUAGE=javascript>
<!--
function back_onclick() {
location.href = "nb_brow.asp?page=<%=trim(request("page")) %>&<%=getGRSN() %>";
}
//-->
</SCRIPT>
<body>
<br>
<br>
<P>
<center>
<INPUT id=button2 type=button value="Return" LANGUAGE=javascript onclick="back_onclick()" class="Bsbttn">
</center>
</P>
<table width="90%" border="0" align="center" cellspacing="0" style="border-left:1px #8CA5B5 solid; border-top:1px #8CA5B5 solid;border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
<tr>
<td width="16%" height="25" style="border-bottom:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid;" bgcolor="#dbeaf5"><p align="center"><font class="s" color="#104A7B"><b>Title</b></font></p></td>
<td width="74%" style="border-bottom:1px #8CA5B5 solid;"><%= server.htmlencode(title) %> </td>
</tr>
<tr>
<td style="border-right:1px #8CA5B5 solid;" bgcolor="#dbeaf5"><p align="center"><font class="s" color="#104A7B"><b>Content</b></font></p></td>
<td><%
t = server.htmlencode(text)
t = replace(t, Chr(10), "<br>")
t = replace(t, Chr(32), " ")
response.write t
%> </td>
</tr>
</table>
<P>
<center>
<INPUT id=button2 type=button value="Return" LANGUAGE=javascript onclick="back_onclick()" class="Bsbttn">
</center>
<br>
</body>
</html>
<%
title = NULL
text = NULL
set nb = nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -