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

📄 edit.asp

📁 用ASP写的ASP交友系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%
'叛断此用户是否已经入会
if session("user_id")="" then
     response.redirect "notreg.htm"
	 response.end
end if

Set conn = Server.CreateObject("ADODB.Connection")
DBPath = Server.MapPath("friend.mdb")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
Set rs_lar = Server.CreateObject("ADODB.Recordset")
sql="select * from larchives where user_id=" & session("user_id")
rs_lar.open sql,conn,3,2
if rs_lar.eof and rs_lar.bof then
   response.redirect "notregist.htm"
   response.end
end if
%>
<html>

<head>
<LINK href="pic/gufeng.css" rel=stylesheet>
<script language="JavaScript" src="pic/fade_image.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>酒乡网友联盟</title></script>
<SCRIPT language=JavaScript>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</SCRIPT></head>

<body topmargin="0" leftmargin="0">


<table align="center" border="0" cellPadding="0" cellSpacing="0" height="20" width="777">
  <tr>
    <td width="100%">
      <table border="0" cellpadding="0" cellspacing="0" width="777" height="21" bgcolor="#FFF4C8" background="pic/di.GIF">
        <tr>
          <td width="23%" height="19"><img border="0" src="pic/htt.GIF" width="227" height="20"></td>
          <td width="33%" height="19"> </td>
          <td width="3%" height="19" align="center">□</td>
          <td width="8%" height="19" align="center"><a href="my.asp">关于我们</a></td>
          <td width="3%" height="19" align="center">□</td>
          <td width="8%" height="19" align="center"><a href="../book">本站留言</a></td>
          <td width="3%" height="19" align="center">□</td>
          <td width="8%" height="19" align="center"><a href="javascript:window.external.AddFavorite('http://www.644000.net',%20'酒乡网友联盟')">添加收藏</a></td>
          <td width="3%" height="19" align="center">□</td>
          <td width="8%" height="19" align="center"><a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.644000.net');">设为首页</a></td>
        </tr>
      </table>
      <div align="center">
        <center>
        <table border="0" cellpadding="0" cellspacing="0" width="777" height="90" bgcolor="#F9C700">
          <tr>
            <td width="100%" height="88">
              <div align="center">
                <table border="0" cellpadding="0" cellspacing="0" width="777">
                  <tr>
                    <td width="243" align="left"><img border="0" src="pic/logo.GIF" width="240" height="70"></td>
                    <td width="12" align="left"></td>
        </center>
                    <td width="500" align="center" valign="middle">
                      <p align="center"><!--Banner-->
<script src="http://www.644000.net/guanggao/banner.asp"></script>
<!--Banner --></p>
                  </td>
        <center>
                    <td width="14" align="center"></td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
        <table border="0" cellpadding="0" width="777" bgcolor="#FFF4C8" height="20" cellspacing="0">
          <tr>
            <td width="4%" align="center"><img border="0" src="pic/tou.GIF" width="28" height="20" style="filter:alpha(opacity=40)" onMouseOver="fade_in(this);" onMouseOut="fade_out(this);"></td>
            <td width="10%" align="center"><a href="default.asp"><img border="0" src="logo/1.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="reg.asp"><img border="0" src="logo/2.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="register.asp"><img border="0" src="logo/3.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="your.asp"><img border="0" src="logo/4.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="list.asp"><img border="0" src="logo/5.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="sendphoto.asp"><img border="0" src="logo/6.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="jh" target="_blank"><img border="0" src="logo/7.gif"></a></td>
            <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
            <td width="10%" align="center"><a href="http://www.644000.net/bbs" target="_blank"><img border="0" src="logo/8.gif"></a></td>
          </tr>
        </table>
        </center>
      </div>
    </td>
  </tr>
</table>

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="777" height="513">
    <tr>               
      <td width="512" height="481" bgcolor="#FCFCFC" rowspan="2" valign="top">
         <form action="eadd.asp" method="POST">
<div align="left">
<table border="0" width="526" cellspacing="0" cellpadding="0">
    <td width="600">
      <table border="0" width="552" cellspacing="0" height="204" cellpadding="0">
        <tr>
          <td width="550" height="11" colspan="3" bgcolor="#FFFFFF"><font color="#000000">请认真填写您的个人资料</font></td>
        </tr>
        <tr>
          <td width="550" height="4" colspan="3"><font color="#000000">&nbsp;</font></td>
        </tr>
        <tr>
          <td width="552" height="7" style="border-bottom-style: solid" bordercolor="#000000" colspan="3"><font color="#000000">您的基本资料</font></td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#000000">*真实姓名:</font></td>
          <td width="297" height="18"><font color="#000000"><input type="text" name="name" value="<%=rs_lar("name")%>" size="10" style="border-style: solid; border-width: 1"></font></td>
          <td width="134" height="18"><font color="#000000">2-10字符</font></td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#000000">*您的性别:</font></td>
          <td width="297" height="18"><font color="#000000"><INPUT <%if rs_lar("sex")="男" then%>CHECKED<%end if%> name=sex type=radio
            value=男> <SPAN class=tt4>男&nbsp; <INPUT <%if rs_lar("sex")="女" then%>CHECKED<%end if%> name=sex type=radio value=女>                     
            女&nbsp;</SPAN> </font> </td>                     
          <td width="134" height="18"> </td>   
        </tr>   
        <tr>   
          <td width="119" height="18"><font color="#000000">*您的生日:</font></td>   
          <td width="297" height="18">   
            <font color="#000000">   
            <select size="1" name="Byear">   
            <%for i=1940 to year(date)-3%>    
              <option value="<%=i%>" <%if year(rs_lar("britherday"))=i then%> selected <%end if%>><%=i%></option>   
            <%next%>   
            </select>年<select size="1" name="Bmonth">    
            <%for i=1 to 12%>    
              <option value="<%=i%>" <%if month(rs_lar("britherday"))=i then%> selected <%end if%>><%=i%></option>   
            <%next%>   
            </select>月<select size="1" name="Bday">    
            <%for i=1 to 31%>    
              <option value="<%=i%>" <%if day(rs_lar("britherday"))=i then%> selected <%end if%>><%=i%></option>   
            <%next%>   
            </select>日</font></td>    
          <td width="134" height="18">   
          </td>   
        </tr>   
        <tr>   
          <td width="119" height="11"><font color="#000000">*您的籍贯:</font></td>   
          <td width="297" height="11" valign="middle"><font color="#000000"><input type="text" name="home" size="11" style="border-style: solid; border-width: 1" value="<%=rs_lar("home")%>"></font></td> 
          <td width="134" height="11" valign="middle"><font color="#000000">不超过50个字符</font></td> 
        </tr> 
        <tr> 
          <td width="119" height="11"><font color="#000000">*您的学历</font></td> 
          <td width="297" height="11"><SPAN class=tt4><font color="#000000"><SELECT name=education 
            size=1> <OPTION selected value=4>本科</OPTION> <OPTION 
              value=2>中专</OPTION> <OPTION value=3>大专</OPTION> <OPTION 
              value=1>高中</OPTION> <OPTION value=6>博士</OPTION> <OPTION 
              value=5>硕士</OPTION> <OPTION value=0>在校生</OPTION> <OPTION 
              value=7>其他</OPTION></SELECT> </font> </SPAN></td> 
          <td width="134" height="11"></td> 
        </tr> 
        <tr> 
          <td width="119" height="19"><font color="#000000">*您的职业:</font></td> 
          <td width="297" height="19"> 
          <font color="#000000"> 
          <SELECT name="job" size="1"> 
              <OPTION selected value=管理>管理</OPTION> <OPTION value=工程>工程</OPTION>
              <OPTION value=金融财务>金融财务</OPTION> <OPTION value=技术>技术</OPTION> <OPTION
              value=经济业务>经济业务</OPTION> <OPTION value=法律>法律</OPTION> <OPTION
              value=保险>保险</OPTION> <OPTION value=教师>教师</OPTION> <OPTION
              value=科研>科研</OPTION> <OPTION value=设计>设计</OPTION> <OPTION
              value=行政>行政</OPTION> <OPTION value=文体卫生>文体卫生</OPTION> <OPTION
              value=服务>服务</OPTION> <OPTION value=军队公安>军队公安</OPTION> <OPTION
              value=IT>IT</OPTION> <OPTION value=公务员>公务员</OPTION> <OPTION
              value=其它>其它</OPTION></SELECT> </font> </td>
          <td width="134" height="19">
 </td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#000000">&nbsp;您的单位:</font></td>
          <td width="297" height="18"><font color="#000000"><input type="text" name="company" size="31" style="border-style: solid; border-width: 1" value="<%=rs_lar("company")%>"></font></td>
          <td width="134" height="18"><font color="#000000">不超过50个字符</font></td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#000000">*您的邮编:</font></td>
          <td width="297" height="18"><font color="#000000"><input type="text" name="postcalcode" size="6" style="border-style: solid; border-width: 1" value="<%=rs_lar("postcalcode")%>"></font></td>

⌨️ 快捷键说明

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