📄 read.asp
字号:
<!--#include file="../includes/keepHouse.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
<LINK href="../conn/style.css" rel=stylesheet>
</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_CONTENT
dim Content
dim action
DECISION_ID=request("DECISION_ID")
action=request("action")
sql="SELECT CompanyDecision.DECISION_TITLE, CompanyDecision.DECISION_CONTENT, CompanyDecision.COMPOSE_DATE, " _
&"CompanyDecision.CONFIRMED, CompanyDecision.CONFIRM_DATE, Personnel.PERSONNEL_ID, Personnel.PERSON_NAME " _
&"FROM CompanyDecision INNER JOIN Personnel ON " _
&"CompanyDecision.PERSONNEL_ID = Personnel.PERSONNEL_ID " _
&"WHERE (CompanyDecision.DECISION_ID = "&DECISION_ID&") "
call openDB()
rs.open sql,conn,1,1
if rs.eof then
call closeDB()
call trigErr()
end if
DECISION_TITLE=rs("DECISION_TITLE")
DECISION_CONTENT=rs("DECISION_CONTENT")
DECISION_TITLE =replaceBack(DECISION_TITLE)
DECISION_CONTENT=replaceBack(DECISION_CONTENT)
%>
<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">公司决策</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" ><%=rs("COMPOSE_DATE")%></td>
</tr>
<tr>
<td width="20%" bgcolor="#FCFCFC">题目:</td>
<td width="55%" bgcolor="#FCFCFC" align=center><%=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="20%" bgcolor="#FCFCFC" >撰写者:</td>
<td width="55%" bgcolor="#FCFCFC" ><%=rs("PERSON_NAME")%></td>
</tr>
<tr>
<td width="75%" colspan="2" bgcolor="#EFEFEF" height="50" align=center>
[<a href="javascript:history.back()">返回</a>]
<%
if ( session("PERSONNEL_ID")=rs("PERSONNEL_ID") and rs("CONFIRMED")=False ) then
response.write " [<a href=""Edit.asp?DECISION_ID="&DECISION_ID&""">编辑</a>] "
response.write " [<a href=""saveCECD.asp?DECISION_ID="&DECISION_ID&"&action=Delete"">删除</a>] "
end if
if (session("POSITION_ID")=1 and rs("CONFIRMED")=False) then
response.write " [<a href=""SaveCECD.asp?DECISION_ID="&DECISION_ID&"&action=Confirm"">通过审核</a>]"
end if
call closeDB()
%>
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -