<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
|
<%Session.CodePage=65001%>
|
<!--#include virtual="/inc/chkadmin.gds"-->
|
<!--#include virtual="/inc/function.gds"-->
|
<%
|
userID=session("adminID")
|
if trim(Request("userID"))<>"" then userID=trim(Request("userID"))
|
if userID="" then response.redirect "/"
|
|
'各种返回信息
|
SystemMessageType=trim(Request("SystemMessageType"))
|
SMT=trim(Request("SMT"))
|
if SystemMessageType<>"" then
|
if SMT="1" then
|
SystemMessageTXT="数据不完整!!"
|
elseif SMT="2" then
|
SystemMessageTXT="原密码错误!!"
|
elseif SMT="3" then
|
SystemMessageTXT="两次新密码输入不同!!"
|
elseif SMT="4" then
|
SystemMessageTXT="密码修改完成"
|
elseif SMT="5" then
|
SystemMessageTXT="您的密码太简单了,请尽快修改!!"
|
end if
|
end if
|
|
|
Set rs = Server.CreateObject("ADODB.Recordset")
|
%>
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<title><%=LindemanAdmin%></title>
|
<!--#include virtual="/inc/ccs.gds"-->
|
|
<style type="text/css">
|
.selectItemcont{padding:8px;}
|
#selectItem{background:#FFF;position:absolute;top:0px;left:center;border:1px solid #000;overflow:hidden;width:600px;z-index:1000;}
|
.selectItemtit{line-height:30px;height:30px;margin:1px;padding-left:12px;}
|
.bgc_ccc{background:#336699;}
|
.selectItemleft{float:left;margin:0px;padding:0px;font-size:12px;font-weight:bold;color:#fff;}
|
.selectItemright{float:right;cursor:pointer;color:#fff;}
|
.selectItemcls{clear:both;font-size:0px;height:0px;overflow:hidden;}
|
.selectItemhidden{display:none;}
|
</style>
|
<script type="text/javascript" src="resources/scripts/jquery.bgiframe.js"></script>
|
<script>
|
|
jQuery.fn.selectCity = function(targetId) {
|
var _seft = this;
|
var targetId = $(targetId);
|
|
this.click(function(){
|
var A_top = $(this).offset().top + $(this).outerHeight(true); // 1
|
var A_left = $(this).offset().left;
|
targetId.bgiframe();
|
targetId.show().css({"position":"absolute","top":A_top+"px" ,"left":A_left+"px"});
|
});
|
|
targetId.find("#selectItemClose").click(function(){
|
targetId.hide();
|
});
|
|
targetId.find("#selectSub :checkbox").click(function(){
|
targetId.find(":checkbox").attr("checked",false);
|
$(this).attr("checked",true);
|
_seft.val( $(this).val() );
|
targetId.hide();
|
});
|
|
$(document).click(function(event){
|
if(event.target.id!=_seft.selector.substring(1)){
|
targetId.hide();
|
}
|
});
|
|
targetId.click(function(e){
|
e.stopPropagation(); // 2
|
});
|
|
return this;
|
}
|
|
$(function(){
|
//test1:
|
$("#Admin_Companies").selectCity("#selectItem");
|
});
|
|
|
|
</script>
|
<script LANGUAGE="javascript">
|
function AdminTypeJS(){
|
var Admin_Type=form1.Admin_Type.value;
|
//alert(form1.Admin_Type.value);
|
form1.Admin_Companies.value="";
|
document.all.selectItemCount1.style.display="none";
|
document.all.selectItemCount2.style.display="none";
|
document.all.selectItemCount3.style.display="none";
|
eval("document.all.selectItemCount3.style.display='none';");
|
eval("document.all.selectItemCount"+Admin_Type+".style.display='';");
|
}
|
</script>
|
</head>
|
<body onkeydown="xKeyEvent(event)">
|
<!--#INCLUDE FILE="menu_header.gds" -->
|
<!-- content -->
|
<div id="content">
|
<%h_menu1="1"
|
h_menu2=""%>
|
<!--#INCLUDE FILE="User_menu_left.gds" -->
|
<!-- content / right -->
|
<div id="right">
|
<!-- messages -->
|
<%sql="select * from OA_User where OA_User_ID="&userID
|
rs.open sql,objConn,1,1
|
if not rs.eof then
|
OA_User_ID = rs("OA_User_ID")
|
OA_User = rs("OA_User")
|
OA_Name = rs("OA_Name")
|
OA_execLevel= rs("OA_execLevel")
|
Endtime = rs("Endtime")
|
end if
|
rs.close()
|
%>
|
<!-- forms -->
|
<div class="box">
|
<!-- box / title -->
|
<div class="title">
|
<h5>修改 密码 <%=OA_Name%></h5>
|
<ul class="links">
|
<%
|
if PositionURLID="1" then PositionURLID=11
|
ReturnURL=session("PositionURL"&PositionURLID-1)
|
if InStr(ReturnURL,"?")<1 then
|
ReturnURL=ReturnURL&"?ReturnURLID="&(PositionURLID-1)
|
else
|
ReturnURL=ReturnURL&"&ReturnURLID="&(PositionURLID-1)
|
end if
|
%>
|
<li><a href="<%=ReturnURL%>">返回</a></li>
|
</ul>
|
</div>
|
<!-- end box / title -->
|
<!--#include virtual="/inc/SystemMessages.gds" -->
|
<form name="form1" method="post" action="admin_save.gds">
|
<input name="admin_save" type="hidden" value="1">
|
<input name="OA_User_ID" type="hidden" value="<%=OA_User_ID%>">
|
<div class="form">
|
<div class="fields">
|
<div class="field field-first">
|
<div class="label1">
|
<label for="input-small">用户账号:</label>
|
</div>
|
<div class="input">
|
<%=OA_User%>
|
</div>
|
</div>
|
|
<div class="field">
|
<div class="label">
|
<label for="input-small">原密码:</label>
|
</div>
|
<div class="input">
|
<input type="password" id="Old_Pass" name="Old_Pass" value="" class="small" />
|
</div>
|
</div>
|
|
<div class="field">
|
<div class="label">
|
<label for="input-small">新密码:</label>
|
</div>
|
<div class="input">
|
<input type="password" id="New_Pass" name="New_Pass" value="" class="small" />
|
</div>
|
</div>
|
|
<div class="field">
|
<div class="label">
|
<label for="input-small">重复密码:</label>
|
</div>
|
<div class="input">
|
<input type="password" id="New_Pass_2" name="New_Pass_2" value="" class="small" />
|
</div>
|
</div>
|
|
<div class="buttons">
|
<div class="highlight">
|
<input type="submit" name="submit" value="提交" />
|
</div>
|
</div>
|
</div>
|
</div>
|
</form>
|
</div>
|
<!-- end forms -->
|
</div>
|
<!-- end content / right -->
|
</div>
|
<!-- end content -->
|
<!--#include FILE="vicgame.asp"-->
|
</body>
|
</html>
|