📄 entxldetail.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<%
Response.ExpiresAbsolute=now()-1
Response.CacheControl="no-cache"
%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="../../index.asp"
MM_grantAccess=false
If Session("userssdfgfhtrh") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<!--#include file="../../Connections/oavbsconn.asp" -->
<%
Dim r__MMColParam
r__MMColParam = "1"
If (request("id") <> "") Then
r__MMColParam = request("id")
End If
%>
<%dim ip
ip = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If ip = "" Then ip = Request.ServerVariables("REMOTE_ADDR") '获得真实IP这样的话在本地,在服务器测试都没有问题了
Dim r
Dim r_numRows
Set r = Server.CreateObject("ADODB.Recordset")
r.ActiveConnection = MM_oavbsconn_STRING
r.Source = "SELECT *,相片地址 FROM 通讯录 inner join usertertggbng on usertertggbng.usersdsfg56=通讯录.个人帐号 WHERE 通讯录.id = " + Replace(r__MMColParam, "'", "''") + " and 用户临时提交否='否'"
r.CursorType = 0
r.CursorLocation = 2
r.LockType = 3
r.Open()
r_numRows = 0
%>
<% if not r.eof or not r.bof then
dim c
c=r("用户临时提交否")
p=r("相片地址")
end if%>
<%
function HTMLEncode(fString)
fString = replace(fString, ">", ">")
fString = replace(fString, "<", "<")
fString = Replace(fString, CHR(13), "")
fString = replace(fString,chr(32)," ")
fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
fString = Replace(fString, CHR(10), "<BR>")
HTMLEncode = fString
end function
%>
<style type="text/css">
<!--
.style1 { color: #FFFFFF;
font-weight: bold;
font-size: 13px;
}
.style2 {font-size: 12px}
.style2 {font-size: 12px}
.style3 {color: #FFFFFF}
-->
</style>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-top: 0px;
}
-->
</style><div align="center">
<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="39%"><div align="right"></div></td>
<td width="3%"><div align="center"><img src="../../img/txl/29.gif" width="16" height="16"></div></td>
<td width="8%"><a href="writexunlu.asp">单位通讯录</a></td>
<td width="2%"><img src="../../img/txl/28.gif" width="16" height="16"></td>
<td width="8%"><div align="center"><a href="mytongxunlu.asp">我的通讯录</a></div></td>
<td width="2%"><div align="center"><img src="../../img/txl/15.gif" width="16" height="16"></div></td>
<td width="8%"><div align="center"><a href="addselfinfo.asp">添加联系人</a></div></td>
<td width="2%"><div align="center"><img src="../../img/txl/26.gif" width="16" height="16"></div></td>
<td width="7%"><div align="center"><a href="addgroup.asp">组别管理</a></div></td>
<td width="2%"><div align="right"><img src="../../img/txl/From.gif" width="16" height="16"></div></td>
<td width="11%"><div align="center">
<%if r.eof and r.bof then%>
<a href="addentertongxunlu.asp">提交办公通讯录</a>
<%else%>
<a href="adminmyselfforen.asp">管理办公通讯录</a>
<%end if%>
</div></td>
<td width="2%"><div align="right"><img src="../../img/txl/hn2_sunny.gif" width="19" height="19"></div></td>
<td width="6%"><div align="center"><a href="../bbs/updatimgpath.asp">上传头像</a></div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
<tr>
<td width="6" height="21"><img src="../../img/bbs/leftlin1.gif" width="6" height="21"></td>
<td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style1">通 讯 录</span></span></div></td>
<td width="6" height="21"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#5AAE18">
<tr bgcolor="#FFFFFF">
<td width="61"><div align="right">姓 名:</div></td>
<td width="322"><%=(r.Fields.Item("姓名").Value)%> </td>
<td width="206">单 位:<%=(r.Fields.Item("单位").Value)%> </td>
<td width="131" height="120" rowspan="5" valign="top"><a href="<%=p%>" target="_blank"><img src="<%=p%>" width="100" height="120" border="0"></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">部 门:</div></td>
<td><%=(r.Fields.Item("部门").Value)%> </td>
<td>职 务:<%=(r.Fields.Item("职务").Value)%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">手 机:</div></td>
<td><%=(r.Fields.Item("手机1").Value)%> 小灵通:<%=(r.Fields.Item("小灵通").Value)%> 集群号:<%=(r.Fields.Item("集群号").Value)%></td>
<td>办公电话:<%=(r.Fields.Item("办公电话").Value)%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">分 机:</div></td>
<td><%=(r.Fields.Item("分机").Value)%> </td>
<td>直拨电话:<%=(r.Fields.Item("直拨电话").Value)%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">传 真:</div></td>
<td colspan="2"><%=(r.Fields.Item("传真").Value)%> Email: <%=(r.Fields.Item("email").Value)%> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">Q Q:</div></td>
<td colspan="3"><%=(r.Fields.Item("QQ").Value)%>
Msn: <%=(r.Fields.Item("MSN").Value)%> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">地 址:</div></td>
<td colspan="3"><%=(r.Fields.Item("地址1").Value)%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">备 注:</div></td>
<td colspan="3"><%=HTMLEncode(r.Fields.Item("备注").Value)%></td>
</tr>
</table>
<br>
<table width="224" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="22"><img src="../../img/xls.gif" width="18" height="18"></td>
<td width="34"><a href="../gw/out/outforenid.asp?id=<%=request("id")%>&n=<%=(r.Fields.Item("姓名").Value)%>">导出</a></td>
<td width="23" valign="baseline"> <img src="../../img/prints.gif" width="16" height="13"> </td>
<td width="56"><a href="javascript:window.print()">确定打印</a></td>
<td width="89"><a href="javascript:history.go(-1)">返回</a></td>
</tr>
</table>
<p> </p>
</div>
<%
r.Close()
Set r = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -