gusucode.com > ASP+ACCESS在线人才招聘网(源代码+论文) > ASP+ACCESS在线人才招聘网(源代码+论文)\source_\register_2.asp

    <!--#include file="inc/conn.asp"-->
<%login=trim(Request("login"))
  passwd=trim(Request("passwd"))
  repasswd=trim(Request("repasswd"))
  if login="" then
  result=Server.urlEncode("帐号名不能为空")
  Response.Redirect "result.asp?result="&result
  end if
  if repasswd<>passwd then
   result=Server.urlEncode("两次输入密码不相符,请重新输入")
   Response.Redirect "result.asp?result="&result
  end if
   sql="select * from enterprise where login='"&login&"'"
   Set Rs=Server.CreateObject("Adodb.RecordSet")
   Rs.Open sql,conn,1,1
   if not Rs.eof then
   result=Server.urlEncode("该帐号已经给使用,请另选帐号名")
    Response.redirect "result.asp?result="&result
   end if
   Rs.Close
   Set Rs=nothing
   Set conn=nothing
   %>
<HTML><!-- #BeginTemplate "/Templates/company.dwt" --><HEAD>
<!-- #BeginEditable "doctitle" --> 
<TITLE>在线人才网站</TITLE>
<!-- #EndEditable --> 
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="inc/cssset.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff text=#000000 leftmargin="0" topmargin="0">
<center><!--#include file="inc/head.asp"--><TABLE height=503 cellSpacing=0 cellPadding=0 width="770" border=0>
    <TBODY> 
    <TR> 
      <TD vAlign=top width="22%" background="images/11.gif"> 
        <TABLE height=251 cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY> 
          <TR> 
            <TD background=images/arrowbg.jpg height=5>  
              <SCRIPT language=JavaScript>                                                                                                
<!--                                                                                                                                    
   var enabled = 0;   today = new Date();                                                                                                 
   var day;   var date;                                                                                                                   
   if(today.getDay()==0)     day = "星期日"                                                                                                
   if(today.getDay()==1)     day = "星期一"                                                                                                
   if(today.getDay()==2)     day = "星期二"                                                                                               
   if(today.getDay()==3)     day = "星期三"                                                                                                
   if(today.getDay()==4)     day = "星期四"                                                                                                
   if(today.getDay()==5)     day = "星期五"                                                                                               
   if(today.getDay()==6)     day = "星期六"                                                                              
   date = "<font color='##FF0000' > " + (today.getYear())  + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日  " + " " + day + "</font>"; 
   document.write(date);                                                                                                                  
//----->                                                                                                                                  
</SCRIPT>
<SCRIPT language=javascript src="inc/Keane_Common.js"></SCRIPT>            </TD>
          </TR>
          <TR> 
            <TD vAlign=top background=images/arrowbg.jpg height=356> 
              <table class=a10px height=114 cellspacing=2 cellpadding=0 width="88%" 
      background=images/11.gif border=0>
                <tbody> 
                <tr bgcolor=#ffffff background="images/11.gif"> 
                  <td colspan=2 height=21><img height=16 src="images/10.gif" 
            width=169></td>
                </tr>
                <tr> 
                  <td valign=bottom align=right width=160 background=images/11.gif 
          height=5></td>
                  <td height=5></td>
                </tr>
                <tr> 
                  <td valign=top align=center width=160 background=images/11.gif 
          height=75><!--#include file="sysinfo.asp"--></td>
                  <td height=75></td>
                </tr>
                </tbody> 
              </table>
              <table class=a10px height=114 cellspacing=2 cellpadding=0 width="88%" 
      background=images/11.gif border=0>
                <tbody> 
                <tr bgcolor=#ffffff background="images/11.gif"> 
                  <td colspan=2 height=21><img height=16 src="images/mycompany.gif" 
            width=169></td>
                </tr>
                <tr> 
                  <td valign=bottom align=right width=160 background=images/11.gif 
          height=5></td>
                  <td height=5></td>
                </tr>
                <tr> 
                  <td valign=top align=center width=160 background=images/11.gif 
          height=31> 
                    
<!--#include file="company_left.asp"--></td>
                  <td height=31></td>
                </tr>
                </tbody> 
              </table>
            </TD>
          </TR>
        </TABLE>
        <TABLE class=a10px height=114 cellSpacing=2 cellPadding=0 width="88%" 
      background=images/11.gif border=0>
          <TBODY> 
          <TR bgColor=#ffffff background="images/11.gif"> 
            <TD colSpan=2 height=21><IMG height=16 src="images/10.gif" 
            width=169></TD>
          </TR>
          <TR> 
            <TD vAlign=bottom align=right width=160 background=images/11.gif 
          height=5></TD>
            <TD height=5></TD>
          </TR>
          <TR> 
            <TD vAlign=top align=right width=160 background=images/11.gif 
          height=264> 
              <SELECT 
            onchange=window.open(this.options[this.selectedIndex].value); size=10 
            name=select2>
                <OPTION value=http://www.newjobs.com.cn/ 
              selected>中国国家人才网</OPTION>
                <OPTION 
              value=http://www.bjrc.com.cn/>北京人才网</OPTION>
                <OPTION 
              value=http://www.91student.com>中国就业网</OPTION>
                <OPTION 
              value=http://www.tjrc.com.cn/>中国北方人才市场</OPTION>
                <OPTION 
              value=http://www.hr.net.cn/>中国上海人才市场</OPTION>
                <OPTION 
              value=http://www.aphr.org/>亚太人力资源网</OPTION>
                <OPTION 
              value=http://www.54stu.com/2002/login.php>中国学生社区</OPTION>
                <OPTION 
              value=http://www.china-training.com/>中华培训网</OPTION>
                <OPTION 
              value=http://www.fescochina.com/>外企在线</OPTION>
                <OPTION 
              value=http://www.gzscse.gov.cn/>广州留学人员信息网</OPTION>
                <OPTION 
              value=http://www.syrc.com.cn/>沈阳人才网</OPTION>
                <OPTION 
              value=http://www.chinahrd.net/>中国人力资源开发网</OPTION>
                <OPTION 
              value=http://www.cccen.com/>中国谦龙网</OPTION>
                <OPTION 
              value=http://www.gzpi.gov.cn/>中国广州人事信息网</OPTION>
                <OPTION 
              value=http://www.rc114.com/>中国成都人才市场</OPTION>
                <OPTION 
              value=http://www.strc.com.cn/>汕头人才网</OPTION>
                <OPTION 
              value=http://www.wzjob.gov.cn/>温州人才网</OPTION>
                <OPTION 
              value=http://www.job168.com/service/navigation.asp>更多链接……</OPTION>
              </SELECT>
            </TD>
            <TD height=264></TD>
          </TR>
          </TBODY> 
        </TABLE>
      </TD>
      <TD vAlign=top> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height=6></td>
          </tr>
        </table>
        <!-- #BeginEditable "a1" --> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="544">
          <tr> 
            <td valign="top" align="center">
              <script language="javascript">
function checkform()
{
  if(document.fm1.ep_name.value=="")
  {
   alert("单位名字不能为空");
   document.fm1.ep_name.focus();
   return false;
   }
  if(document.fm1.ep_addr.value=="")
  {
   alert("单位地址不能为空");
   document.fm1.ep_addr.focus();
   return false;
   }
   if(document.fm1.ep_phone.value=="")
  {
   alert("单位电话不能为空");
   document.fm1.ep_phone.focus();
   return false;
   }
   if(document.fm1.ep_email.value!=""&&!checkmail(document.fm1.ep_email.value))
  {
   alert("所填写的单位电子邮件不是有效格式的电子邮件");
   document.fm1.ep_email.focus();
   return false;
   }
   if(document.fm1.ep_intro.value=="")
  {
   alert("单位说明不能为空");
   document.fm1.ep_intro.focus();
   return false;
   }
   document.fm1.action="register_3.asp";
   document.fm1.submit();
}
</script>
              <table border=0 align=center cellpadding=0 cellspacing=0 height="298" width="563">
                <tbody> <td valign=top align="center"> <img src="images/register_2.gif" width="300" height="50"> 
                  <form name="fm1" method="post" action="register_3.asp">
                      <table width="98%" border="0" cellspacing="0" cellpadding="0" height="47">
                        <tr bgcolor="#DBEAF2" bordercolor="#111111"> 
                          <td align="left" bgcolor="#DBEAF2" height="28"> <b>帐号信息 
                            <font color="#FF0000">你选择的帐号为:<%=login%></font></b></td>
                        </tr>
                        <tr bgcolor="#C6DEEC" bordercolor="#111111"> 
                          <td align="left" height="28"> <font color="#624B35"> 
                            请确实填写下面的单位资料 </font><font color="#FF0000">&nbsp;</font></td>
                        </tr>
                      </table>
                    <br>
                    <table width="86%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td align="center" valign="top"> 
                            <table border="0" cellspacing="0" class="tdkuangjia" width="559" cellpadding="0">
                              <tr> 
                                <td width="125" height="30" align="center" bgcolor="#F8FAFC"><b>单位名称</b></td>
                                <td height="30" align="left" bgcolor="#F8FAFC" width="227">&nbsp; 
                                  <input type="text" size="30" name="ep_name" class="formbox">
                                  <font color="#FF3300">*</font> 
                                  <input type="hidden" name="login" value="<%=login%>">
                                  <input type="hidden" name="passwd" value="<%=passwd%>">
                                </td>
                                <td height="30" align="center" bgcolor="#F8FAFC" width="79"><b>联系人</b></td>
                                <td height="30" align="left" bgcolor="#F8FAFC" width="112"> 
                                  <input type="text" name="ep_chairman" size="10" class="formbox">
                                </td>
                              </tr>
                              <tr> 
                                <td width="125" height="37" align="center"><b>单位地址</b></td>
                                <td height="37" colspan="3" align="left"> &nbsp; 
                                  <input type="text" size="40" name="ep_addr" class="formbox">
                                  <font color="#FF3300">*</font> &nbsp; </td>
                              </tr>
                              <tr> 
                                <td width="125" height="29" align="center" bgcolor="#F8FAFC"><b>电话</b></td>
                                <td height="29" align="left" width="227" bgcolor="#F8FAFC"> 
                                  &nbsp; 
                                  <input type="text" size="25" name="ep_phone" class="formbox">
                                  <font color="#FF3300">*</font> </td>
                                <td height="29" align="center" width="79" bgcolor="#F8FAFC"><b>传真</b></td>
                                <td height="29" align="left" width="112" bgcolor="#F8FAFC"> 
                                  &nbsp; 
                                  <input type="text" size="15" name="ep_fax" class="formbox">
                                </td>
                              </tr>
                              <tr> 
                                <td width="125" height="60" align="center"><b>单位主页</b></td>
                                <td height="60" align="left" width="227"> &nbsp; 
                                  <input type="text" size="25" name="ep_homepage" class="formbox">
                                  &nbsp; </td>
                                <td height="60" align="center" width="79"><b>邮编</b></td>
                                <td height="60" align="left" width="112"> 
                                  <input type="text" size="10" name="ep_postnumber" class="formbox">
                                </td>
                              </tr>
                              <tr> 
                                <td width="125" height="37" align="center" bgcolor="#F8FAFC"><b>电子邮件</b></td>
                                <td height="37" align="left" colspan="3" bgcolor="#F8FAFC"> 
                                  &nbsp; 
                                  <input type="text" size="25" name="ep_email" class="formbox">
                                  &nbsp; </td>
                              </tr>
                              <tr align="left" valign="top"> 
                                <td colspan="4">&nbsp; &nbsp;<b>单位简介(限2000字以内)</b><font color="#FF3300">*</font><br>
                                  &nbsp; 
                                  <textarea rows="8" cols="75" name="ep_intro" class="formbox"></textarea>
                                </td>
                              </tr>
                            </table>
                        </td>
                      </tr>
                      <tr> 
                        <td align="center" height="82"> <a href="javascript:history.go(-1)"><img src="images/prestep.gif" width="96" height="30" border="0"></a> 
                          <img src="images/nextstep.gif" width="96" height="30" onClick="javascript:checkform()" style="CURSOR: hand"> 
                        </td>
                      </tr>
                    </table>
                  </form>
                </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        <!-- #EndEditable --> </TD>
    </TR>
  </TABLE>
  <!--#include file="inc/bottom.asp"-->
</center></BODY><!-- #EndTemplate --></HTML>