📄 addentertongxunlu.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" -->
<%function DbCombox()
Dim Recordset1__MMColParam
Recordset1__MMColParam = "对所有人群发"
If (Request("MM_EmptyValue") <> "") Then
Recordset1__MMColParam = Request("MM_EmptyValue")
End If
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT 部门 FROM sms部门表 WHERE 部门 <> '对所有人群发' and 开关='开' ORDER BY 排序 ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
while not Recordset1.eof
msg = msg & "<option value=""" &Recordset1("部门") & """>" & Recordset1("部门") & "</option>"
Recordset1.movenext
wend
Recordset1.close
set Recordset1 = nothing
DbCombox = msg
End function
Recordset1_numRows = 0
%>
<%
Dim r__MMColParam
r__MMColParam = "1"
If (session("userssdfgfhtrh") <> "") Then
r__MMColParam = session("userssdfgfhtrh")
End If
%>
<%on error resume next
Dim r
Dim r_numRows
Set r = Server.CreateObject("ADODB.Recordset")
r.ActiveConnection = MM_oavbsconn_STRING
r.Source = "SELECT * FROM 通讯录 WHERE 个人帐号 = '" + Replace(r__MMColParam, "'", "''") + "'"
r.CursorType = 0
r.CursorLocation = 2
r.LockType = 1
r.Open()
r_numRows = 0
%>
<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
font-size: 13px;
}
.style3 {color: #FFFFFF}
-->
</style>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {font-size: 12px}
.style2 {font-size: 12px}
body {
margin-top: 0px;
}
-->
</style>
<div align="center">
<script>
<!--
function dis(){
document.form1.submit.value=' 提交..'
document.form1.submit.disabled=true;
return true;
}
//-->
</SCRIPT>
<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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -