⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 my_userpassword_modi.asp

📁 一套集网上购物和商品管理为一体的强大的网上商店(商城)系统
💻 ASP
字号:
<!-- #include file="conn.asp" -->
<!--#include file="webconfig.asp"-->
<%
'url=request.servervariables("HTTP_REFERER")
if  session("userid")="" then
  //response.write "<script>alert('你还未登陆,或登陆已超时,请重新登陆!!');</script>"
  response.write "<script>this.location.href='login_window.asp';</script>"
  response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webname%></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="include/top.asp" -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="top"> 
    <td width="1" bgcolor="#cccccc"></td>
    <td width="160" height="100"> 
      <!--#include file="include/left1.asp" -->
    </td>
    <td width="1" bgcolor="cccccc"></td>
    <td align="center"> 
      <!--#include file="include/search.asp" -->
      <%
if session("userid")="" then
response.redirect "login_window.asp"
else
sql="select * from Net008_user where userid='"&session("userid")&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,2
%>
      <table width="98%" border="0" cellspacing="0" cellpadding="3">
        <tr> 
          <td align="center">&nbsp;</td>
        </tr>
        <tr> 
          <td align="center"><b><font color=ff0000> 
            <%
					  if rs("guestname")<>" " then 
					  response.write rs("guestname")
					  else 
					  response.write session("userid")
					  end if
					  %>
            </font></b>,您好!欢迎您第 <b><font color=ff0000><%=rs("loginnumber")%></font></b> 
            次光临本站!</td>
        </tr>
      </table>
      <table width="70%" border=0 cellpadding=5 cellspacing=1 class="table_front">
        <form action="my_userpassword_modiok.asp" method="post" name="registername" onSubmit="return chechreg()">
          <tr align="center" class="th_front1"> 
            <td colspan=2 ><div align="center"><b><font size="3">修改密码</font><font class="th_front2"> 
                <script language=javascript1.2>
<!--
function chechreg()
{
if(registername.old_password.value==""){registername.old_password.focus();
alert("请输入旧密码!");
return false;
}
if(registername.new_password.value==""){registername.new_password.focus();
alert("请输入你的新密码!");
return false;
}
if(registername.new_password1.value==""){registername.new_password1.focus();
alert("请输入你的新确认密码!");
return false;
}
}
//-->
</script>
                </font></b></div></td>
          </tr>
          <tr> 
            <td width=96 align="right" bgcolor="#FFFFFF">会员代号:</td>
            <td width=286 bgcolor="#FFFFFF"><font color="#999999"><%=session("userid")%>&nbsp;&nbsp;[这是您的注册用户名,不能修改]</font> 
              <b><font color="#ff0099" class="fontshadow"> </font></b> </td>
          </tr>
          <tr> 
            <td width=96 align="right" bgcolor="#FFFFFF"><font color=#e71c17>*</font>旧密码:</td>
            <td width=286 bgcolor="#FFFFFF"> 
              <input 
            name=old_password type="password">
            </td>
          </tr>
          <tr> 
            <td width=96 align="right" bgcolor="#FFFFFF"><font color=#e71c17>*</font>新密码:</td>
            <td width=286 bgcolor="#FFFFFF"> <b> 
              <input name=new_password type="password">
              </b> </td>
          </tr>
          <tr> 
            <td width=96 align="right" bgcolor="#FFFFFF"><font color=#e71c17>*</font>新密码确认:</td>
            <td width=286 bgcolor="#FFFFFF"> 
              <input name=new_password1 type="password">
            </td>
          </tr>
          <tr> 
            <td height="19" colspan=2 align="center" bgcolor="#FFFFFF"> 
              <input class=sinput type=submit value=确 定 认 name=button1>
                 
              <input class=sinput id=button2 type=reset value=重 填 填 name=reset>
            </td>
        </form>
      </table>
      <%end if%>
    </td>
    <td width="1" bgcolor="cccccc"></td>
  </tr>
</table>
<!-- #include file="include/bottom.asp" -->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -