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

📄 edit.asp

📁 asp交友程序1.0版 ,本程序使用的核心为蓝芒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>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Namo WebEditor v4.0(Trial)">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>建立档案</title>
<style>
<!--
.x:link      { color: white; text-decoration: none }
.x:visited   { color: white; text-decoration: none }
.x:active    { color: red; text-decoration: none }
.x:hover     { color: red;text-decoration:nome}
tr           { font-size: 10pt }
body         { font-size: 10pt }
a:link       { color: blue; text-decoration: none }
a:visited    { color: blue; text-decoration: none }
a:active     { color: red; text-decoration: none }
a:hover      { color: red; text-decoration: none }
-->
</style>
</head>

<body bgcolor="#EEEEEE">
<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="100%"
 height="13" bgcolor="black" scrolling="no">
    <tr>
        <td width="281"><p><font color="white"><marquee>天翔网 </font><a href="http://www.wzsky.com"
             target="_blank"><font color="yellow">http://www.wzsky.com</font></a><font
             color="white"> 欢迎您的光临!</font></marquee></td>
    </tr>
</table><table border="0" cellpadding="0" cellspacing="0" width="100%"
 height="80" bgcolor="#A5EF00">
    <tr>
        <td width="198" height="88" bgcolor="#99CC00"><p>&nbsp;<img src="../sky/sky/images/top.jpg" width="186"
                         height="73" border="0" alt="天翔网"></td>
        <td width="561" height="88" bgcolor="#99CC00"><p align="center"><img src="images/sky.jpg"
             width="468" height="60" border="0"></td>
        <td width="17" height="88" bgcolor="#99CC00"><p>  </td>
    </tr>
</table><table border="0" cellpadding="0" cellspacing="0" width="100%"
 height="19" bgcolor="#A5EF00">
    <tr>
        <td width="240" bgcolor="#99CC00"><p><img src="images/top_left_a.gif"
             width="240" height="19" border="0"></td>
        <td width="532" bgcolor="#99CC00"><p align="right"><span style="BACKGROUND-COLOR: #99cc00"><img src="images/top_left_z.gif"
             border="0" usemap="#FPMap1"><img src="images/top_left_c.gif" width="72"
             height="19" border="0"></span></td>
    </tr>
</table><table border="0" cellpadding="0" cellspacing="0" width="100%"
 height="21" background="images/top_bg.gif">
    <tr>
        <td width="401">&nbsp;</td>
        <td width="374"><p><img src="images/nav.gif" width="370" height="21"
             border="0" usemap="#FPMap2"></td>
    </tr>
</table></div>
<map name="FPMap1">
<area shape="rect" coords="381, 4, 446, 18" href="sendphoto.asp">
<area shape="rect" coords="283, 4, 357, 18" href="register.asp"
 target="_blank">
<area shape="rect" coords="190, 4, 264, 18" href="list.asp">
<area shape="rect" coords="8, 2, 71, 16" href="your.asp">
<area shape="rect" coords="102, 4, 168, 18" href="no.asp">
</map><!------------------------------------------------------------------------------------------------------------------------------>
<table border="0" width="99%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="3%"></td>
    <td width="51%"></td>
    <td width="1%">
    ++</td>
    <td width="26%"></td>
  </tr>
  <tr>
    <td width="3%" valign="top">
    </td>
    <td width="51%" 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="#FF9900"><font color="#FFFFFF"><b>请认真填写您的个人资料</b></font></td>
        </tr>
        <tr>
          <td width="550" height="4" colspan="3"><font color="#FFFFFF">&nbsp;</font></td>
        </tr>
        <tr>
          <td width="552" height="7" style="border-bottom-style: solid" bordercolor="#000000" colspan="3"><b><font color="#FF9900">您的基本资料</font></b></td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#008000"><b>*真实姓名:</b></font></td>
          <td width="297" height="18"><input type="text" name="name" value="<%=rs_lar("name")%>" size="10" style="border-style: solid; border-width: 1"></td>
          <td width="134" height="18"><i>2-10字符</i></td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#008000"><b>*您的性别:</b></font></td>
          <td width="297" height="18"><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> </td>   
          <td width="134" height="18"> </td>   
        </tr>   
        <tr>   
          <td width="119" height="18"><font color="#008000"><b>*您的生日:</b></font></td>   
          <td width="297" height="18">   
            <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%>>&lt;%=i%&gt;</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%>>&lt;%=i%&gt;</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%>>&lt;%=i%&gt;</option>   
            <%next%>   
            </select>日</td>   
          <td width="134" height="18">   
          </td>   
        </tr>   
        <tr>   
          <td width="119" height="11"><font color="#008000"><b>*您的籍贯:</b></font></td>   
          <td width="297" height="11" valign="middle"><input type="text" name="home" size="11" style="border-style: solid; border-width: 1" value="<%=rs_lar("home")%>"></td> 
          <td width="134" height="11" valign="middle"><i>不超过50个字符</i></td> 
        </tr> 
        <tr> 
          <td width="119" height="11"><font color="#008000"><b>*您的学历</b></font></td> 
          <td width="297" height="11"><SPAN class=tt4><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> </SPAN></td> 
          <td width="134" height="11"></td> 
        </tr> 
        <tr> 
          <td width="119" height="19"><font color="#008000"><b>*您的职业:</b></font></td> 
          <td width="297" height="19"> 
          <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> </td>
          <td width="134" height="19">
 </td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#008000"><b>&nbsp;</b></font><b>您的单位:</b></td>
          <td width="297" height="18"><input type="text" name="company" size="31" style="border-style: solid; border-width: 1" value="<%=rs_lar("company")%>"></td>
          <td width="134" height="18"><i>不超过50个字符</i></td>
        </tr>
        <tr>
          <td width="119" height="18"><font color="#008000"><b>*您的邮编:</b></font></td>
          <td width="297" height="18"><input type="text" name="postcalcode" size="6" style="border-style: solid; border-width: 1" value="<%=rs_lar("postcalcode")%>"></td>
          <td width="134" height="18"><i>6个数字</i></td>
        </tr>
        <tr>
          <td width="119" height="14"><font color="#008000"><b>*您的电话:</b></font></td>
          <td width="297" height="14"><input type="text" name="tel" size="15" style="border-style: solid; border-width: 1" value="<%=rs_lar("tel")%>"></td>
          <td width="134" height="14"><i>不超过20个字符</i></td>
        </tr>
        <tr>

⌨️ 快捷键说明

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