⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 outline_show.asp

📁 OFFICE办公自动化
💻 ASP
字号:
<%
'OA 表单生成器1.0
'功能:离线状态浏览
%>

<!--#include file="../inc/Secure.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/Const.asp"-->

<%
'response.buffer=false
'------------------------------------------------设置参数
LoginID=trim(session("LoginID")) : if LoginID="" then LoginID=0 '当前用户ID
strid=request("strid") '浏览用户ID
'------------------------------------------------
'------------------------------------------------修改记录
table="tbioaOutline" '表名
'--------------------------------------------取记录
	set rs=Server.CreateObject("ADODB.RecordSet")
	sql="select * from " & table & " where UserID="&strid
	rs.open sql,oConn,1,1
'------------------------------------------------
%>


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/main.css" type=text/css>
<title>main</title>
<script src="../js/Popup.js"></script>
<script src="../js/front_chec.js"></script>
</head>

<body topmargin="10" leftmargin="10">

<div align="center">
<table width="500" cellspacing="1" cellpadding="2" class="tab">
  <tr>
    <td width="100%" class="tdTop">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="tdTop">
            <p align="left"><img border="0" src="../images/icon_title.gif" align="left">离线状态</p>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="25%" class="td1">
    
    <form name="eventfrm" method="POST" action="" enctype="POST" onSubmit="return require(this)">
      <input type=hidden name="addedit_subed" value="true">
      <table border="0" width="100%" cellspacing="10" cellpadding="0">
        <tr>
          <td width="100" align="right" valign="top" nowrap>用户姓名:</td>
          <td width="400" nowrap><%=GetUserName(strid)%></td>
        </tr>
        <tr>
          <td width="100" align="right" valign="top" nowrap>离线原因:</td>
          <td width="400" nowrap><%=HtmlOut(rs("lxyy"))%></td>
        </tr>
        <tr>
          <td width="100" align="right" valign="top" nowrap>预计回来时间:</td>
          <td width="400" nowrap><%=HtmlOut(rs("yjhlsj"))%></td>
        </tr>
        <tr>
          <td width="100" align="right" valign="top" nowrap>离线说明:</td>
          <td width="400" nowrap><%=HtmlOut(rs("lxsm"))%></td>
        </tr>
        <tr>
          <td width="100" align="right" valign="top" nowrap>联系方式:</td>
          <td width="400" nowrap><%=HtmlOut(rs("lxfs"))%></td>
          </td>
        </tr>
      </table>

    </form>

    </td>
  </tr>
  <tr>
    <td width="25%" class="tdBottom">
    </td>
  </tr>
</table>
</div>
</body>

</html>

<%'释放对象变量
rs.close
oConn.close
%> 

⌨️ 快捷键说明

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