?? disptext.asp
字號:
<%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")
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="../inc/css.asp" -->
<% '定義變量
dim Number,opFlag,title,image
'過濾錯誤
on error resume next
'獲取輸入參數:記錄號和操作標志
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/meeting.gif"
%>
</head>
<script language=javascript>
//歸檔
function guidang(id)
{
if(confirm("您確認要把此會議紀要歸檔嗎?")) window.location="../document/edit.asp?opFlag=cmdgd&style=會議紀要&Number="+id;
}
</script>
<body id=all>
<!-- #include file="../inc/title.asp" -->
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center" class=vtext>
<tr>
<td><a href="javascript:guidang(<%=Number%>);">文件歸檔</a> </td>
</tr>
</table><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></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=javascript:history.go(-1);><img src="../images/back.gif" align="absmiddle"> 返回</button>
</p>
</td>
</tr>
</table>
<% '關閉記錄源
rs.close
set rs=nothing
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -