rizhiinfo.asp

来自「网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点」· ASP 代码 · 共 72 行

ASP
72
字号
<!--#include file="../config/config.asp"-->
<%Set conn=Server.CreateObject("ADODB.CONNECTION")
'Set rs=Server.CreateObject("ADODB.RecordSet")
connstr=Application("hg_connstr")
conn.open connstr
action=request.querystring("action")
if request.querystring("id")="" then
response.write "没有正确的ID号"
else
NUMBER=clng(request.querystring("id"))
loginname=session("hxf_u_nickname")
ljldj=Session("hxf_u_grade")
if action=30 then
set rst=conn.execute("select  * from 工作日志 where id=" &NUMBER)
end if
if action=35 then
set rst=conn.execute("select  * from 记事本 where id=" &NUMBER)
end if
if action=41 then
set rst=conn.execute("select  * from 值班 where id=" &NUMBER)
end if
if action=42 then
set rst=conn.execute("select  * from 档案 where id=" &NUMBER)
end if
end if
%>

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../setup.css">
<title>oa</title>
</head>

<body>

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="536" id="AutoNumber1" height="294">
    <tr>
      <td height="8" width="534" colspan="2" bgcolor="#EEFFEE">
      <p align="center"><font color="#FF0000">详细信息&nbsp;&nbsp; [<a target="_self" href="rizhilist.asp?action=<%=action%>">返回</a>]</font></td>
    </tr>
    <tr>
      <td height="6" width="70" align="center" bgcolor="#EEFFEE">标&nbsp;&nbsp; 题</td>
      <td height="6" width="457" bgcolor="#EEFFEE"><span lang="en-us">&nbsp;</span><%=rst("a1")%><font color="#C0C0C0"><%=rst("a3")%>[记录人:<%if action=42 then%><%=rst("a7")%><%else%><%=rst("a4")%><%end if%>]</font></td>
    </tr>
    <tr>
      <td height="231" width="527" align="center" colspan="2">
      <br>
      <textarea rows="17" name="S1" cols="73"><%if action=42 then%>档案编号:<%=rst("a2")%>档案类别:<%=rst("a3")%>存档时间:<%=rst("a4")%>涉及人员:<%=rst("a6")%>档案概要:<%=rst("a5")%><%else%><%=rst("a2")%><%end if%></textarea></td>
    </tr>
    </table>
  </center>
</div>

</body>

</html>
<%conn.close   
set conn=nothing   
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?