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

📄 edit_info.asp

📁 asp游戏点卡销售系统,基本东西,代码+实现
💻 ASP
字号:

<!--#include file="conn.asp"-->
<%

userid=replace(trim(request("userid")),"'","")
password=replace(trim(Request("password")),"'","")
if session("userid")=""then

response.write"<script>alert('非法操作!');</Script>"
response.write"<script Language=Javascript>location.href = 'index.asp';</script>"
response.end
end if

%>
<HTML><HEAD><TITLE>网趣数字卡在线销售系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="images/css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style4 {color: #0000FF}
.style7 {color: #6600FF}
.style8 {color: #000000}
-->
</style>
</HEAD>

          <%  
userid=session("userid")
set rs=server.createobject("adodb.recordset")  
sql="select * from users where userid='"&userid&"'"  
rs.open sql,conn,1,1%>
<body topmargin="0" leftmargin="0" bgcolor="#336699">
<!--#include file="top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=735 border=0 align=center>
  <TBODY> 
  <tr> 
    <TD vAlign=top width=196 bgcolor="#EDDEA0" align="center">&nbsp;</TD>
    <TD width=266 bgcolor="#FFFFFF"><img src="images/ico.gif" width="18" height="15"></TD>
    <TD width=267 bgcolor="#FFFFFF" align="right"><img src="images/ico1.gif" width="18" height="15"></TD>
    <TD vAlign=top width=6 align="center" bgcolor="#EDDEA0">&nbsp;</TD>
  </tr>
  <TR> 
    <TD vAlign=top width=196 bgcolor="#EDDEA0" align="center"> 
      <table width="168" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/b_bg.gif"> 
            <table cellspacing=0 cellpadding=0 width="100%" border=0 align=center>
              <tr> 
                <td height=7 colspan="2"><img src="images/b_top.gif" width="168" height="7"></td>
              </tr>
              <tr align="center"> 
                <td colspan="2"><img src="images/zx.gif" width="123" height="39"></td>
              </tr>
              <tbody> 
              <tr> 
                <td align=right height="20"> 用户名:</td>
                <td height="20"><font color="#3333CC"><strong><%=rs("name")%></strong></font></td>
              </tr>
              <tr> 
                <td width="50%" align="right" height="20">用户ID:</td>
                <td height="20"><font color=#999900><%=rs("id")%></font></td>
              </tr>
              <tr> 
                <td align="right" height="20">用户级别:</td>
                <td height="20"> 
                  <%if rs("oklook")=0 then                         
oklook="未审核"                        
elseif rs("oklook")=1 then                        
oklook="普通会员"                        
elseif rs("oklook")=2 then                        
oklook="VIP会员"                        
                        
end if                        
%>
                  <font color=green><%=oklook%></font></td>
              </tr>
              <tr> 
                <td align="right" height="20">帐户存款:</td>
                <td height="20"><font color=#ff0000><%=rs("qian")%></font> 元</td>
              </tr>
              <tr> 
                <td align="center" colspan="2">&nbsp;</td>
              </tr>
              <tr> 
                <td align="center" colspan="2" height="20"> 
                  <table width="132" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="24" background="images/jxinfo_button.gif" align="center">请注意帐号安全!</td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td align="center" colspan="2">&nbsp;</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="cuser.asp" >商品列表</a>]</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="edit_info.asp" >修改资料</a>]</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="jiaofei.asp" >存款记录</a>]</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="mylog.asp?lb=<%=session("userid")%>" >购物记录</a>]</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="tousu.asp" >投诉意见</a>]</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="lianxi.asp" >联系我们</a>]</td>
              </tr>
              <tr>
                <td colspan="2" align="center" height="20">[<a href="tongzhi.asp" >汇款通知</a>]</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20">[<a href="out.ASP">安全退出</a>]</td>
              </tr>
              <tr> 
                <td align="center" colspan="2">&nbsp;</td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="20"><img src=images/wa1.gif></td>
              </tr>
              <tr> 
                <td height=8 colspan="2" background="images/dh_bottom.gif"></td>
              </tr>
              </tbody> 
            </table>
          </td>
        </tr>
        <tr> 
          <td align="center" colspan="2">&nbsp;</td>
        </tr>
      </table>
    </TD>
    <TD vAlign=top width=533 align="center" bgcolor="#FFFFFF" colspan="2"> 
      <TABLE cellSpacing=0 cellPadding=0 width=513 border=0>
        <TBODY> 
        <TR> 
          <TD width=533 height="30">当前位置:
            我的个人资料</TD>
        </TR>
        <TR> 
          <TD width="533"> <br>
            <%
 userid=session("userid")    
 set rs11=server.createobject("adodb.recordset")    
 sql="select * from users where userid='"&userid&"'"      
 rs11.open sql,conn,1,3    
    
%>
            <form method="POST" action="seve_edit_info.asp?id=<%=rs("id")%>">
              <table width="466" cellspacing="1" align="center" bgcolor=#666666 cellpadding="5">
                <tr bgcolor="#EDDEA0"> 
                  <td align="center" height="23" colspan="2"><font color="#663300"><b><%=rs("name")%>的个人资料</b></font></td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td width="30%" align="right" height="20">帐号:</td>
                  <td><%=userid%></td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">密码:</td>
                  <td> 
                    <input type="password" name="password" size="20">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">真实姓名:</td>
                  <td> 
                    <input type="text" name="name" size="20" value="<%=rs11("name")%>">
                  </td>
                </tr bgcolor=#ffffff>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">性别:</td>
                  <td> 
                    <input name="sex" size="20" value="<%=rs11("sex")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">密码问题:</td>
                  <td> 
                    <input type="text" name="wenti" size="29" value="<%=rs11("wenti")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">答案:</td>
                  <td> 
                    <input type="text" name="daan" size="29" value="<%=rs11("daan")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">E-mail:</td>
                  <td> 
                    <input type="text" name="email" size="29" value="<%=rs11("email")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">地址:</td>
                  <td> 
                    <input type="text" name="dz" size="29" value="<%=rs11("dz")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">电话:</td>
                  <td> 
                    <input type="text" name="tel" size="29" value="<%=rs11("tel")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20">身份证号码:</td>
                  <td> 
                    <input type="text" name="zip" size="29" value="<%=rs11("zip")%>">
                  </td>
                </tr>
                <tr bgcolor=#FBF7E6> 
                  <td align="right" height="20"> </td>
                  <td><font color=#ff0000>注:不更改本人资料请直接返回其他页面……</font></td>
                </tr>
                <tr align="center" bgcolor=#FBF7E6> 
                  <td height="30" colspan="2"> 
                    <input type="submit" value="更改" name="B1">
                    <input type="reset" value="重写" name="B2">
                  </td>
                </tr>
              </table>
            </form>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
      <br>
      <br>
    </TD>
    <TD vAlign=top width=6 align="center" bgcolor="#EDDEA0">&nbsp;</TD>
  </TR>
  <TR> 
    <TD vAlign=top width=196 bgcolor="#EDDEA0" align="center"></TD>
    <TD width=266 bgcolor="#FFFFFF"><img src="images/ico_l.gif" width="18" height="15"></TD>
    <TD width=267 bgcolor="#FFFFFF" align="right"><img src="images/ico_r.gif" width="18" height="15"></TD>
    <TD vAlign=top width=6 align="center" bgcolor="#EDDEA0"></TD>
  </TR>
  </TBODY> 
</TABLE>             
    <%                 
rs.close                 
  set rs=nothing                 
  conn.close                 
  set conn=nothing                 
 %>
<!--#include file="bott.asp"-->

⌨️ 快捷键说明

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