📄 disp.asp
字号:
<%@LANGUAGE="VBScript"%>
<%response.expires=0%>
<%Response.Buffer=true%>
<!-- #include file="../conn_lr.asp"-->
<!-- #include file="../css.asp"-->
<%
oabusyname=session("oabusyname")
oabusyusername=session("oabusyusername")
oabusyuserdept=session("oabusyuserdept")
oabusyuserlevel=session("oabusyuserlevel")
session("id")=session("oabusyname")
if oabusyusername="" then
response.write("<script language=""javascript"">")
response.write("window.top.location.href='../../default.asp';")
response.write("</script>")
response.end
end if
%>
<html>
<head>
<title>备忘录</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<!-- #include file="../main/css.asp" -->
<%
on error resume next
dim Number,opFlag,title,image
'获取输入参数:记录号和操作标志
Number=request("Number")
if Number="" then Number="0"
Number=Cint(Number)
opFlag=request("opFlag")
'创建记录访问对象
Set rs = Server.CreateObject("ADODB.Recordset")
'打开记录源,并定位到输入参数决定的记录号
rs.Open Session("SQL"),Session("conn"),1,3
rs.move Number
title="个人备忘录"
image="../images/memo.gif"
%>
</head>
<body id=all>
<!-- #include file="../public/title.asp" -->
<table align="center" width="95%" cellpadding="0" border="0" cellspacing="1" bgcolor="<%=session("vtablebordercolor")%>">
<tr valign="top" class=vtext>
<td bgcolor=<%=Session("vtabletitlebackcolor")%> height="25" align="left" valign="middle">
<b>个人备忘录:</b><%=rs("vtitle")%></td>
</tr>
<tr valign="top">
<td bgcolor="#ffffff" height="300">
<%=rs("vtext")%>
</td>
</tr>
</table>
<table class=p9 cellspacing=0 cellpadding=0 width=90% border=0 align="center">
<tr>
<td>
<p align=center>
<br>
<button class=vinputbutton style="height=24" onClick="window.location.href='print.asp?Number=<%=Number%>'"><img src="../images/print.gif" align="absmiddle"> 打印</button>
<button class=vinputbutton name="Submit6" style="height=24" onClick=javascript:history.go(-1);><img src="../images/back.gif" align="absmiddle"> 返回</button>
</p>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -