📄 edit.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="chkuser.asp" -->
<%
IF request.cookies(Forcast_SN)("KEY")="" THEN
Show_Err("对不起,您权限不够!")
response.end
else
usernamecookie=CheckStr(request.cookies(Forcast_SN)("name"))
passwdcookie=replace(trim(Request.cookies(Forcast_SN)("password")),"'","''")
KEYcookie=replace(trim(request.cookies(Forcast_SN)("KEY")),"'","''")
%>
<html><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%> <%=ver%> - 个人资料修改完美设计网络科技有限公司 完美政府网站管理系统 http://www.wmgov.cn</title>
<style type=text/css>
body { background:#555555; margin:0px; font-family: Verdana, Arial, sans-serif, 宋体; font-size: 9pt; text-decoration: none; color:#555555;
SCROLLBAR-FACE-COLOR: #55919A;
SCROLLBAR-HIGHLIGHT-COLOR: #cccccc;
SCROLLBAR-SHADOW-COLOR: #cccccc;
SCROLLBAR-3DLIGHT-COLOR: #cccccc;
SCROLLBAR-ARROW-COLOR: #555555;
SCROLLBAR-TRACK-COLOR: #555555;
SCROLLBAR-DARKSHADOW-COLOR: #cccccc;}
table { border:0px; }
td { font:normal 12px; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px; color:#555555; text-decoration:none; }
a:hover { color:#ff6600;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#eeeeee; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#555555; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#ff6600; font-weight:bold; }
</style>
<script LANGUAGE="javascript">
<!--
function FrmAddLink_onsubmit() {
if (document.FrmAddLink.password.value=="")
{
alert("对不起,请您输入密码!")
document.FrmAddLink.password.focus()
return false
}
else if (document.FrmAddLink.password.value.length < 4)
{
alert("为了安全,您的密码应该长一点!")
document.FrmAddLink.password.focus()
return false
}
else if (document.FrmAddLink.password.value.length > 16)
{
alert("您的密码太长了吧!")
document.FrmAddLink.password.focus()
return false
}
else if (document.FrmAddLink.name.value==document.FrmAddLink.password.value)
{
alert("为了安全,用户名与密码不应该相同!")
document.FrmAddLink.password.focus()
return false
}
else if (document.FrmAddLink.passwd2.value=="")
{
alert("对不起,请您输入验证密码!")
document.FrmAddLink.passwd2.focus()
return false
}
else if (document.FrmAddLink.passwd2.value !== document.FrmAddLink.password.value)
{
alert("对不起,您两次输入的密码不一致!")
document.FrmAddLink.passwd2.focus()
return false
}
else if (document.FrmAddLink.question.value=="")
{
alert("对不起,请您输入提示问题!")
document.FrmAddLink.question.focus()
return false
}
else if (document.FrmAddLink.answer.value=="")
{
alert("对不起,请您输入问题答案!")
document.FrmAddLink.answer.focus()
return false
}
else if (document.FrmAddLink.question.value==document.FrmAddLink.answer.value)
{
alert("为了安全,提示问题与问题答案不应该相同!")
document.FrmAddLink.answer.focus()
return false
}
else if (document.FrmAddLink.fullname.value=="")
{
alert("对不起,请输入您的真实姓名!")
document.FrmAddLink.fullname.focus()
return false
}
else if (document.FrmAddLink.depid.value=="")
{
alert("对不起,请输入您的工作单位!")
document.FrmAddLink.depid.focus()
return false
}
else if (document.FrmAddLink.sex.value=="")
{
alert("对不起,请输入您的性别!")
document.FrmAddLink.sex.focus()
return false
}
else if (document.FrmAddLink.tel.value=="")
{
alert("对不起,请输入您的联系电话!")
document.FrmAddLink.tel.focus()
return false
}
else if (document.FrmAddLink.email.value=="")
{
alert("对不起,请输入您的电子邮件!")
document.FrmAddLink.email.focus()
return false
}
else if (document.FrmAddLink.email.value.indexOf("@",0)== -1||document.FrmAddLink.email.value.indexOf(".",0)==-1)
{
alert("对不起,您输入的电子邮件有误!")
document.FrmAddLink.email.focus()
return false
}
}
//-->
</script>
<!--生日选择日期处理开始-->
<SCRIPT language=JavaScript src="inc/User_Info_Modify.js"></SCRIPT>
<!--生日选择日期处理结束-->
</head>
<body topmargin="0">
<!--#include file="Admin_Top.asp"-->
<table border="1" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber1">
<form method="POST" name="FrmAddLink" LANGUAGE="javascript" onSubmit="return FrmAddLink_onsubmit()" action="Save.asp" >
<%dim logins
dim sql
dim rs
sql="select * from "& db_User_Table &" where "& db_User_Name &"='"&usernamecookie&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,ConnUser,1,1
logins=rs(db_User_LoginTimes)
if UserTableType = "Dvbbs" then
photowidth=rs(db_User_FaceWidth) ''取论坛设定的图片宽度
photoheight=rs(db_User_FaceHeight) ''取论坛设定的图片高度
end if
%>
<tr>
<td width="100%" class="TDtop" colspan="2" height=25>
<p align="center" >
<%if logins=1 then%>
<font color=red>这是您首次使用本系统,为了安全,请立即修改您的个人资料后再执行管理操作。</font><br>
<%end if%>
<%=request.cookies(Forcast_SN)("fullname")%>修改资料
</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -