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

📄 meedit.asp

📁 《Web数据库技术》-高晗-vod点播系统程序源代码
💻 ASP
字号:
<!--#include file="conn.asp"-->
<html>
<%
 if request.cookies("userid")="" or request.cookies("password")="" then
   response.write"没有登陆不能查看"
   response.end
   end if
 dim rs
 dim sql
 set rs=server.createobject("adodb.recordset")
 sql="select * from users where userid='"&request.cookies("userid")&"' and password='"&request.cookies("password")&"'"
 rs.open sql,conn,1,3
id=rs("id")
userid=rs("userid")
password=rs("password")
name=rs("name")
email=rs("email")
sex=rs("sex")
Province=rs("Province")
date=rs("date")
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="../images/style.css">
<title>会员个人信息</title>
</head>
<body bgcolor="#ffffff">
<p> </p>
<div align="center">
  <center>
  <table border="1" cellpadding="6" cellspacing="0" style="border-collapse: collapse" width="500" id="AutoNumber2" bgcolor="#E7E7E7">
    <form method="POST" action="mesave.asp?id=<%=id%>">
      <tr>
        <td width="100%" colspan="4" height="23" nowrap>
        <div align="center">
          <center>
          <table border="1" cellspacing="1" style="border-collapse: collapse" width="40%" id="AutoNumber1" bgcolor="#DDDDDD" cellpadding="3" height="12">
            <tr>
              <td width="100%" height="5">
              <p align="center"><b><%=name%>个人资料</b></td>
            </tr>
          </table>
          </center>
        </div>
        </td>
      </tr>
      <tr>
        <td width="100%" height="25" nowrap>
        <p align="center"><font size="2">用&nbsp;&nbsp; 户:</font></td>
        <td width="84%" height="25" nowrap><font size="2"><%=userid%></font></td>
        <td width="13%" height="25" nowrap><font size="2">密&nbsp;&nbsp;&nbsp; 码:</font></td>
        <td width="84%" height="25" nowrap><font size="2">
        <input type="password" name="password" size="20" style="border-style: solid; border-width: 1"></font></td>
      </tr>
      <tr>
        <td width="100%" height="13" nowrap>
        <p align="center"><font size="2">真实性名:</font></td>
        <td width="84%" height="13" nowrap><font size="2">
        <input type="text" name="name" size="20" style="border-style: solid; border-width: 1" value="<%=name%>"></font></td>
        <td width="13%" height="13" nowrap><font size="2">邮&nbsp;&nbsp;&nbsp; 件:</font></td>
        <td width="84%" height="13" nowrap><font size="2">
        <input type="text" name="email" size="20" style="border-style: solid; border-width: 1" value="<%=email%>"></font></td>
      </tr>
      <tr>
        <td width="100%" height="3" nowrap>
        <p align="center"><font size="2">居住省份:</font></td>
        <td width="84%" height="3" nowrap><font size="2">
        <input type="text" name="Province" size="20" style="border-style: solid; border-width: 1" value="<%=Province%>">
        </font></td>
        <td width="13%" height="3" nowrap>性&nbsp;&nbsp;&nbsp;&nbsp; 别:</td>
        <td width="84%" height="3" nowrap><font size="2">
        <input type="text" name="sex" size="20" style="border-style: solid; border-width: 1" value="<%=sex%>"></font></td>
      </tr>
      <td width="100%" height="13" nowrap>
        <p align="center"><font size="2">联系电话:</font></td>
        <td width="84%" height="13" nowrap><font size="2">
        <input type="text" name="phone" size="20" style="border-style: solid; border-width: 1" value="<%=rs("phone")%>"></font></td>
        <td width="13%" height="13" nowrap><font size="2">注册时间:</font></td>
        <td width="84%" colspan="3" height="0" nowrap><%=date%></td>
        <tr valign="middle">
        <td height="9" colspan="4" nowrap> 
          <div align="center">
            <input type="submit" value="更改" name="B1">            
          </div>
          <div align="center"> </div></td>
        </tr>
    </form>
  </table>
  </center>
</div>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%> 
</body>
</html>

⌨️ 快捷键说明

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