📄 read.asp
字号:
<!--#include file="../includes/keepHouse.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
</head>
<body>
<center>
<table border="0" width="100%" height="50" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"></td>
</tr>
</table>
<%
call insureID()
dim DECISION_ID
dim DECISION_TITLE
dim DECISION_CONTENT
dim COMPOSE_DATE
dim CONFIRMED
dim Composer_Id
dim Content
dim action
DECISION_ID=request("DECISION_ID")
if DECISION_ID="" then
call trigErr()
end if
action=request("action")
sql="SELECT DeptDecision.DECISION_TITLE, DeptDecision.DECISION_CONTENT, DeptDecision.COMPOSE_DATE, " _
&"DeptDecision.CONFIRMED, DeptDecision.CONFIRM_DATE, Personnel.PERSON_NAME AS Composer, " _
&"Personnel.PERSONNEL_ID AS Composer_Id " _
&"FROM DeptDecision CROSS JOIN Personnel " _
&"WHERE (Personnel.POSITION_ID = 4) AND (DeptDecision.DECISION_ID = "&DECISION_ID&") "
call openDB()
rs.open sql,conn,1,1
if rs.eof then
call trigErr()
end if
COMPOSE_DATE=rs("COMPOSE_DATE")
DECISION_TITLE=rs("DECISION_TITLE")
DECISION_CONTENT=rs("DECISION_CONTENT")
DECISION_TITLE=replaceBack(DECISION_TITLE)
DECISION_CONTENT=replaceBack(DECISION_CONTENT)
CONFIRMED=rs("CONFIRMED")
Composer_Id=rs("Composer_Id")
call closeDB()
%>
<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("DEPARTMENT")%>部门的部门决策</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="20%" bgcolor="#FCFCFC" >撰写日期:</td>
<td width="55%" bgcolor="#FCFCFC" ><%=COMPOSE_DATE%></td>
</tr>
<tr>
<td width="20%" bgcolor="#FCFCFC">题目:</td>
<td width="55%" bgcolor="#FCFCFC" ><%=DECISION_TITLE%></td>
</tr>
<tr>
<td width="20%" bgcolor="#FCFCFC" valign=top>内容:</td>
<td width="55%" bgcolor="#FCFCFC" ><%=DECISION_CONTENT%></td>
</tr>
<tr>
<td width="75%" colspan="2" bgcolor="#EFEFEF" height="50" align=center>
<%
if ( session("PERSONNEL_ID")=Composer_Id and rsCONFIRMED=0 ) then
response.write "[<a href=""SaveCECS.asp?DECISION_ID="&DECISION_ID&"&action=Confirm"">通过审核</a>] "
response.write "[<a href=""Edit.asp?DECISION_ID="&DECISION_ID&""">编辑</a>] "
response.write "[<a href=""Delete.asp?DECISION_ID="&DECISION_ID&""">删除</a>] "
end if
%>
[<a href="javascript:history.back()">返回</a>]
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -