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

📄 index.asp

📁 人才招聘系统,用asp做的
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file=conn.asp-->
<!--#include file=top.asp-->
<%
dim rs,sql,k,i,cmdexample,total1,total,today,today1,total2
%>
<link rel="stylesheet" type="text/css" href="1.css">
<body topmargin="0" leftmargin="0">
<SCRIPT language=javascript>
<!--
function clearKeyword(frm) {
  frm.key.value="";
}
function SubmitForm(url)
{
	if(thisForm.jobfunction.value==""){
		alert("关键字为空!");
		thisForm.jobfunction.focus();
		return false;
	}
	if(document.thisForm.keyword.value=="输入职位关键字")
		document.thisForm.keyword.value="";
	document.thisForm.action=url;
	document.thisForm.submit();
}
function CheckForm()
{
if(document.thisForm.UserName.value.length<1)
	{
	    alert("用户名不能为空!");
	    return false;
	}
	if(document.thisForm.Password.value.length<1)
	{
	    alert("密码不能为空!");
	    return false;
	}
  if(document.thisForm.MemberType2.checked==true)
    {
    	
    	document.thisForm.action="Company/loginchk.asp";

    }
    else
    {
    	document.thisForm.action="Person/loginchk.asp";
    }
    document.thisForm.submit();
}
function keyword_onkeydown()
{
if(window.event.keyCode==13)  document.thisForm.GotoButton.onclick();
}

function Password_onkeydown()
{
if(window.event.keyCode==13)  document.thisForm.LoginButton.onclick();
}
//-->
</SCRIPT>
<div align="center">
  <center>
  <table width="778" height="1">
    <tr>
      <td width="100%" height="1"></td>
    </tr>
  </table>
  </center>
</div>
<table align="center" border="0" cellPadding="0" cellSpacing="0" width="778">
  <tr>
    <td vAlign="top" width="180">
    <table border="0" cellPadding="0" cellSpacing="0" height="158" width="170">
      <tr>
        <td background="img/t1.gif" vAlign="bottom">
        <table align="center" border="0" cellPadding="0" cellSpacing="0" height="157" width="160">
          <tr>
            <td width="147" height="157">
            <!--用 户 登 陆开始--><br>
              
            <table align="center" border="0" cellPadding="0" cellSpacing="0" height="90" width="147">
              <form method="post" name="thisForm">
                <tr>
                  <td height="45" vAlign="bottom" width="157">
                  <p style="MARGIN-LEFT: 6px"><span style="FONT-SIZE: 12px">用户名:<input name="UserName" size="10" style="COLOR: #384249; FONT-FAMILY: Verdana; FONT-SIZE: 11px; FONT-WEIGHT: bold" tabIndex="1"><br>
                  <br>
                  密&nbsp; 码:<input name="Password" onkeydown="return Password_onkeydown();" size="10" style="COLOR: #384249; FONT-FAMILY: Verdana; FONT-SIZE: 11px; FONT-WEIGHT: bold" tabIndex="2" type="password" value></span></td>
                </tr>
                <tr>
                  <td height="27" width="157">
                  <p align="center" style="MARGIN-LEFT: 2px">
                  <span style="FONT-SIZE: 12px">
                  <input CHECKED id="MemberType1" name="MemberType" tabIndex="3" type="radio" value="1"><label for="MemberType1">个人会员</label><input id="MemberType2" name="MemberType" type="radio" value="2"><label for="MemberType2">公司会员</label></span></td>
                </tr>
                <tr>
                  <td height="30" width="157">
                  <p align="right" style="MARGIN-TOP: 4px">
                  <img border="0" id="LoginButton" name="LoginButton" onclick="javascript:return CheckForm();" onkeydown="javascript:return Password_onkeydown();" src="images/Login_but.gif" style="CURSOR: hand" tabIndex="4"></td>
                </tr>
              </form>
              <!--用 户 登 陆结束-->
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    <table border="0" cellPadding="0" cellSpacing="0" width="170">
      <tr>
        <td height="5"></td>
      </tr>
    </table>
    <table border="0" cellPadding="0" cellSpacing="0" height="130" width="170">
      <tr>
        <td background="img/t2-2.gif" width="170" height="130">
        <table align="center" border="0" cellPadding="0" cellSpacing="0" width="160">
          <tr>
            <td class="small13">
              <p align="center">
              <br>
              <a href="person/reg.asp">
              <img border="0" src="img/PersonFree_But.gif" style="MARGIN-BOTTOM: -6px; TEXT-ALIGN: left"></a>
              <br>
              <br>
              <a href="company/reg.asp">
              <img border="0" src="img/CompanyReg_But.gif" style="MARGIN-BOTTOM: -6px; TEXT-ALIGN: left"></a>
              <br>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    <table border="0" cellPadding="0" cellSpacing="0" width="119" height="172">
      <tr>
        <td width="191" height="1">
        </td>
      </tr>
      <tr>
        <td background="img/b31.gif" width="191" height="31">
         </td>
      </tr>
      <tr>
        <td bgColor="#666666" width="191" height="140">
        <table align="center" border="0" cellPadding="0" cellSpacing="1" style="BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px" width="161" valign="top">
          <tr>
            <td style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-RIGHT: medium none; BORDER-TOP: medium none" bgcolor="#FFFFFF" width="159">
            <table align="center" border="0" cellPadding="0" cellSpacing="0" width="169" valign="top">
              <!--新 闻 快 讯开始-->
    <% 
    set cmdexample=server.createobject("adodb.command")
    cmdexample.activeconnection=conn
    cmdexample.commandtext="main1"
    cmdexample.commandtype=4
    cmdexample.parameters.append cmdexample.createparameter("@RETURN_VALUE",3,4,0)
    set rs=cmdexample.execute
    if rs.eof and rs.bof then
	response.write "没有新闻"
    else
    k=0
   	for k = 1 to 7
    %>
                    <TR>
                      <TD class=small13 bgColor=#FFFFFF style="border-bottom-style: none; border-bottom-width: medium" width="169">
                      ·<A href="javascript:win=open('news.asp?id=<%=rs("id")%>','offer','width=560,height=450,status=no,menubar=yes,scrollbars=yes,top=0,left=0'); win.focus()"><FONT color=#000000><%=rs("biaoti")%></FONT></A> </TD>
                     </TR>
    <%
    rs.movenext
    if rs.eof then
    k = k + 1
    exit for
    end if
    next
    end if
    rs.close
    set rs=nothing
    set cmdexample=nothing
	%>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    </td>
    <td vAlign="top" width="452">
    <table border="0" cellPadding="0" cellSpacing="0" width="440" height="1">
      <tr>
        <td height="1"></td>
      </tr>
    </table>
    <table border="0" cellPadding="0" cellSpacing="0" height="170" width="436">
      <tr>
        <td background="img/GG1.gif" class="big13" height="170" width="436">
        <!--公告栏开始-->
        <table align="center" border="0" cellPadding="0" cellSpacing="0" height="153" width="96%">
          <tr>
            <td height="25"> </td>
          </tr>
    <% 
    set cmdexample=server.createobject("adodb.command")
    cmdexample.activeconnection=conn
    cmdexample.commandtext="main2"
    cmdexample.commandtype=4
    cmdexample.parameters.append cmdexample.createparameter("@RETURN_VALUE",3,4,0)
    set rs=cmdexample.execute
    if rs.eof and rs.bof then
	response.write ""
    else
   	k=0
   	for k = 1 to 6
    %>
              <TR>
                <TD class=small13 height=19>&nbsp;&nbsp;<IMG height=6 src="img/11.gif" width=6> <A href="javascript:win=open('gonggao.asp?id=<%=rs("id")%>','offer','width=560,height=450,status=no,menubar=yes,scrollbars=yes,top=0,left=0'); win.focus()"><FONT color=#000000><%=rs("biaoti")%></FONT></A></TD></TR>
              <TR>
    <%
    rs.movenext
    if rs.eof then
    k = k + 1
    exit for
    end if
    next
    end if
    rs.close
    set rs=nothing
    set cmdexample=nothing
	%>
          <tr>
            <td class="small13" height="5"></td>
          </tr>
        </table>
        <!--公告栏结束--></td>
      </tr>
    </table>
    <table border="0" cellPadding="0" cellSpacing="0" width="432" style="border-bottom-width: 0">
      <tr>
        <td borderColor="#666666" style="BORDER-BOTTOM: medium none; " width="1">
        </td>
        <td borderColor="#666666" style="border-bottom-color:inherit" width="423">
        <!--诚聘英才开始-->
        <table align="center" border="0" cellPadding="0" cellSpacing="0" width="430" height="37">
          <tr>
            <td height="2"></td>
          </tr>
          <tr>
            <td class="big13" height="35" width="433">
            <img border="0" src="img/t11-2.gif"></td>
          </tr>
        </table>
        <div align="center">
          <center>
        <table border="0" cellPadding="0" cellSpacing="0" width="425" style="border-collapse: collapse" bordercolor="#111111">
    <%
    dim ii,kk
    ii=0
    kk=0
    set cmdexample=server.createobject("adodb.command")
    cmdexample.activeconnection=conn
    cmdexample.commandtext="vipmain"
    cmdexample.commandtype=4
    cmdexample.parameters.append cmdexample.createparameter("@RETURN_VALUE",3,4,0)
    set rs=cmdexample.execute
    if rs.eof or rs.bof then
    response.write "还没有VIP企业"
    else
    for kk = 1 to 7
    %>
          <tr>
            <td align="left" vAlign="top" width="50%" height="20">
            <li><a target=_blank href="company/listCompany.asp?comid=<%=rs("comid")%>"><%=rs("companyname")%></a><%if rs("vip")<>false then%><IMG src="img/vip2.gif" border=0 alt="VIP会员"><%end if%></td>
<%
ii = ii +1
rs.movenext
if rs.eof then
exit for
end if
On Error Resume Next
%>

            <td align="left" vAlign="top" width="50%" height="20">
            <li><a target=_blank href="company/listCompany.asp?comid=<%=rs("comid")%>"><%=rs("companyname")%></a><%if rs("vip")<>false then%><IMG src="img/vip2.gif" border=0 alt="VIP会员"><%end if%></td>
          </tr>
<%
ii = ii +1
rs.movenext
if rs.eof then
exit for
end if
On Error Resume Next
next
rs.close
set rs=nothing
set cmdexample=nothing
end if
%>
        </table>
          </center>
        </div>
        <!--诚聘英才结束--></td>
      </tr>
    </table>
    <table border="0" cellPadding="0" cellSpacing="0" height="1" width="440">
      <tr>
        <td height="81" vAlign="top" width="218">
        <table border="0" borderColor="#666666" cellPadding="0" cellSpacing="0" style="BORDER-COLLAPSE: collapse" width="213" height="76">
          <tr>
            <td background="img/index_43_3.gif" class="small13" colSpan="2" height="22" vAlign="top" width="214">
             </td>
          </tr>
          <tr>
            <td class="small13" vAlign="top" width="212" height="34">
                  <TABLE cellSpacing=0 cellPadding=0 width="213" border=0 style="border-collapse: collapse" bordercolor="#666666">
    <% 
    dim companyName,sql1,rs1,id,selectedjob,xgsj
    set cmdexample=server.createobject("adodb.command")
    cmdexample.activeconnection=conn
    cmdexample.commandtext="main_1"
    cmdexample.commandtype=4
    cmdexample.parameters.append cmdexample.createparameter("@RETURN_VALUE",3,4,0)
    set rs=cmdexample.execute
  	if rs.eof and rs.bof then
	companyName=""
   	else
   	k=1
	%>
   <TBODY>
   <%
   for k = 1 to 12
   set cmdexample=server.createobject("adodb.command")
   cmdexample.activeconnection=conn
   cmdexample.commandtext="main_3"
   cmdexample.commandtype=4
   cmdexample.parameters.append cmdexample.createparameter("@RETURN_VALUE",3,4,0)
   cmdexample.parameters.append cmdexample.createparameter("@comid",200,1,10)
   cmdexample.parameters("@comid").value=rs("comid") 
   set rs1=cmdexample.execute
   if rs1.eof or rs1.bof then
  	'rs.movenext
  	id=""
	selectedjob="<a target=""_blank"" href=""company/listCompany.asp?comid="&rs("comid")&""">查看公司资料</a>"
	else

⌨️ 快捷键说明

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