📄 first.asp
字号:
<!--#include file="../config.asp"-->
<!--#include file="../common/conn.asp"-->
<!--#include file="../common/function.asp"-->
<!--#include file="../common/md5code.asp"-->
<%
if session("users")="" then
response.write "<script language=JavaScript>" & chr(13) & "alert('你还没有登入!');" & "location.href='../index.asp'" & "</script>"
end if
action=Request.QueryString("action")
pwd=trim(Request.form("pwd"))
pwd1=trim(Request.form("pwd1"))
if action="modi" and (pwd1<>"" or pwd<>"") then
if pwd=pwd1 then
if selectDatabase=1 then'标准调用,以同时支持两种数据库
call Modify("bug_user","pwd",MD5(pwd1),"username",session("users"),connstrMSSQL)
else
call Modify("bug_user","pwd",MD5(pwd1),"username",session("users"),connstrAccess)
end if
response.write "<script language=JavaScript>" & chr(13) & "alert('密码修改成功!');" & "location.href='index.asp'" & "</script>"
else
response.write "<script language=JavaScript>" & chr(13) & "alert('两次输入不一致!');" & "location.href='index.asp'" & "</script>"
end if
end if
%>
<html>
<head>
<title> <%=Title%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #993300}
-->
</style>
</head>
<body>
<table width="770" border="0" align="center" cellpadding="3" cellspacing="0">
<!--#include file="../top.asp"-->
<tr>
<td width="143" height="350" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5c8ff">
<tr>
<td valign="top" bgcolor="#FFFFFF" class="12p"> <!--#include file="navmember.asp"--></td>
</tr>
</table></td>
<td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="12p"><%if selectDatabase=1 then'标准调用,以同时支持两种数据库
response.write getValueByValue("proName","bug_project","proId",session("proId"),connstrMSSQL)
else
response.write getValueByValue("proName","bug_project","proId",session("proId"),connstrAccess)
end if
%></td>
</tr>
<tr>
<td height="1" bgcolor="#b5c8ff" class="12p"></td>
</tr>
</table>
<table width="96%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td valign="top" class="12p"><p class="12wide"><%=Title%><br>
<br>
<img src="../images/arrow_5.gif" width="10" height="7"> 所有功能根据需求定制,需要改变其用途及功能结构请积极与作者取得联系,获许后方可行使其相应授权。<br>
<img src="../images/arrow_5.gif" width="10" height="7"> 登陆系统后用户事件5分钟未作响应,登陆缓存信息自动擦除,请重新登陆以保证信息安全。<br>
<img src="../images/arrow_down.gif" width="16" height="15"> 欢迎项目成员登陆 [
<font color="#993300"><%if selectDatabase=1 then'标准调用,以同时支持两种数据库
response.write getValueByValue("name","bug_user","username",session("users"),connstrMSSQL)
else
response.write getValueByValue("name","bug_user","username",session("users"),connstrAccess)
end if%></font> ]<br><img src="../images/arrow_down.gif" width="16" height="15"> 现在时间是 [ <font color="#993300"><span id="webasp_time"></span></font> ] </p><script>setInterval("webasp_time.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt (new Date().getDay());",1000);</script>
<form action="index.asp?action=modi" method="post" name="myform">
<table width="95%" border="0" align="center" cellpadding="2" cellspacing="0" class="12wide">
<tr>
<td>姓 名: <%if selectDatabase=1 then'标准调用,以同时支持两种数据库
response.write getValueByValue("name","bug_user","username",session("users"),connstrMSSQL)
else
response.write getValueByValue("name","bug_user","username",session("users"),connstrAccess)
end if%></td>
</tr>
<tr style="display:none">
<td>用户名:
<input name="username" disabled class="flet-input" value="<%=session("users")%>" size=12 maxlength="20">
</td>
</tr>
<tr>
<td>更新密码:
<input name="pwd" type="password" class="flet-input" size=12>
</td>
</tr>
<tr>
<td>确认密码:
<input name="pwd1" type="password" class="flet-input" size=12>
<input name="submit" type="submit" value="更新密码"> </td>
</tr>
<tr>
<td height="1" background="../images/kropki_poziom_naBialym.gif"></td>
</tr>
</table>
</form>
</td>
</tr>
</table></td>
</tr><!--#include file="../bottom.asp"-->
</table>
</body>
</html>
<?}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -