📄 updateenforone.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 Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (session("userssdfgfhtrh") <> "") Then
Recordset1__MMColParam = session("userssdfgfhtrh")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT * FROM 通讯录 WHERE 个人帐号 = '" + Replace(Recordset1__MMColParam, "'", "''") + "'"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim r
Dim r_numRows
Set r = Server.CreateObject("ADODB.Recordset")
r.ActiveConnection = MM_oavbsconn_STRING
r.Source = "SELECT * FROM txlfouruser"
r.CursorType = 0
r.CursorLocation = 2
r.LockType = 1
r.Open()
r_numRows = 0
%>
<% if not Recordset1.eof or not Recordset1.bof then
if Recordset1("锁定否")="否" then
dim c
c=Recordset1("用户临时提交否")
%>
<script>
<!--
function dis(){
document.form1.submit.value=' 更新..'
document.form1.submit.disabled=true;
return true;
}
//-->
</SCRIPT>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 { color: #FFFFFF;
font-weight: bold;
font-size: 13px;
}
.style3 {color: #FFFFFF}
body {
margin-top: 0px;
}
-->
</style>
<div align="center">
<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="24%"><div align="right"></div></td>
<td width="3%"><img src="../../img/txl/12.gif" width="16" height="16"></td>
<td width="8%"><a href="listtxlfiles.asp">公共通讯录</a></td>
<td width="3%"><div align="center"><img src="../../img/txl/29.gif" width="16" height="16"></div></td>
<td width="9%"><a href="writexunlu.asp">单位通讯录</a></td>
<td width="2%"><img src="../../img/txl/28.gif" width="16" height="16"></td>
<td width="9%"><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="3%"><div align="center"><img src="../../img/txl/26.gif" width="16" height="16"></div></td>
<td width="6%"><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="13%"><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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -