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

📄 admindept.asp

📁 人才招聘系统,用asp做的
💻 ASP
字号:
	<!--#include file=../conn.asp-->
	<!--#include file=cookies.asp-->
	<!--#include file=top.asp-->
<title>企业招聘管理器-部门管理</title>
	<%
	dim sql
	dim rs
	dim comid,i
	comid=request.cookies("ijob")("comid")
	set rs=server.createobject("adodb.recordset")
	sql="select * from [bumen] where comid='"&comid&"'"
	rs.open sql,conn,1,1
	if rs.eof or rs.bof then
	 
	%>
<link rel="stylesheet" type="text/css" href="../1.css">
<body topmargin="0" leftmargin="0">
<div align="center">
  <center>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778" height="67">
  <tr>
    <td width="177" height="90" valign="top">
    <!--#include file="left.asp"-->
    </td>
    <td width="76" height="67"> </td>
    <td width="496" height="67" valign="top">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="144">
      <tr>
            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="580" height="72">
          <tr>
            <td colSpan="5" height="25" width="580" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium">
            <font color="#FF0000">还没有添加部门</font></td>
          </tr>
          <tr>
            <td bgColor="#66CCFF" colSpan="5" height="25" width="580" style="border-top-style: none; border-top-width: medium; border-bottom-style:solid; border-bottom-width:1"><b>
            &nbsp;快速增加</b></td>
          </tr>
          <tr>
     <FORM name=theForm1 method=post action=admindeptchk.asp>
            <td height="25" width="117" bgcolor="#FFFFFF" style="border-bottom-style: solid; border-bottom-width: 1" bordercolor="#CCCCCC">
            <p align="center"><span style="font-size: 9pt"><b>部门名称</b></span></td>
            <td height="25" width="117" bgcolor="#FFFFFF" style="border-bottom-style: solid; border-bottom-width: 1" bordercolor="#CCCCCC">
            <p align="center"><span style="font-size: 9pt"><b>负责人</b></span></td>
            <td height="25" width="158" bgcolor="#FFFFFF" style="border-bottom-style: solid; border-bottom-width: 1" bordercolor="#CCCCCC">
            <p align="center"><font style="font-size: 9pt"><b>E-mail</b></font></td>
            <td height="25" width="108" bgcolor="#FFFFFF" style="border-bottom-style: solid; border-bottom-width: 1" bordercolor="#CCCCCC">
            <p align="center"><b>接待应聘人电话</b></td>
            <td height="25" width="79" bgcolor="#FFFFFF" style="border-bottom-style: solid; border-bottom-width: 1" bordercolor="#CCCCCC" > </td>
          </tr>
          <tr>
            <td height="22" width="117" style="border-top-style: solid; border-top-width: 1">
            <p align="center">
            <input class="FieldNumber" maxLength="30" name="bmmc" size="17"></td>
            <td height="22" width="117" style="border-top-style: solid; border-top-width: 1" >
            <p align="center">
            <input class="FieldNumber" maxLength="30" name="fzr" size="16"></td>
            <td height="22" width="158" style="border-top-style: solid; border-top-width: 1" >
            <p align="center">
            <input class="FieldNumber" maxLength="30" name="fzrmail" size="22"></td>
            <td height="22" width="108" style="border-top-style: solid; border-top-width: 1" >
            <p align="center">
            <input class="FieldNumber" maxLength="50" name="dianhua" size="14" ></td>
            <td height="22" width="79" style="border-top-style: solid; border-top-width: 1">
            <p align="left">
            <input type="submit" value="增加部门" name="B1"></td>
          </form>
          </tr>
          </table></td>
      </tr>
      </table>
  </center>
</div>
<%else
 
%>
<div align="center">
  <center>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" height="236">
  <tr>
    <td width="580" height="236" valign="top">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
      <tr>
        <td width="100%">
<div align="center">
  <center>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778" height="67">
  <tr>
    <td width="177" height="90" valign="top">
    <!--#include file="left.asp"--> </td>
    <td width="76" height="67"> </td>
    <td width="496" height="67" valign="top">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="144">
      <tr>
        <td width="100%" height="30" style="border-bottom-style: none; border-bottom-width: medium">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
          <tr>
            <td width="100%">
            <table border="0" borderColor="#111111" cellPadding="4" cellSpacing="0" id="AutoNumber39" style="border-collapse: collapse" width="579" height="74">
              <tr>
                <td bgColor="#66CCFF" colSpan="6" height="1" width="571" style="border-bottom-style: solid; border-bottom-width: 1">
                <b>部门列表</b></td>
              </tr>
              <tr bgColor="#8ae3fd">
                <td height="14" width="105" bgcolor="#FFFFFF" style="border-style: solid; border-width: 1">
                <p align="center"><span style="font-size: 9pt"><b>部门名称</b></span></td>
                <td height="14" width="70" bgcolor="#FFFFFF" style="border-style: solid; border-width: 1">
                <p align="center"><span style="font-size: 9pt"><b>负责人</b></span></td>
                <td height="14" width="180" bgcolor="#FFFFFF" style="border-style: solid; border-width: 1">
                <p align="center"><font style="font-size: 9pt"><b>E-mail</b></font></td>
                <td height="14" width="111" bgcolor="#FFFFFF" style="border-style: solid; border-width: 1" align="center">
                <b>接待应聘人电话</b></td>
                <td colSpan="2" height="14" bgcolor="#FFFFFF" style="border-style: solid; border-width: 1" width="76">
                <p align="center"><b>操作</b></td>
              </tr>
              <%do while not rs.eof%> 
              <tr>
                <td height="17" width="105" style="border-style: solid; border-width: 1">
                <p align="center"><%=rs("bmmc")%></td>
                <td height="17" width="70" style="border-style: solid; border-width: 1">
                <p align="center"><%=rs("fzr")%></td>
                <td height="17" width="180" style="border-style: solid; border-width: 1">
                <p align="center"><%=rs("fzrmail")%></td>
                <td height="17" width="111" style="border-style: solid; border-width: 1" align="center">
                <%=rs("dianhua")%></td>
                <td height="17" style="border-left-style: solid; border-left-width: 1; border-top-style: solid; border-top-width: 1; border-bottom-style: solid; border-bottom-width: 1" width="43">
                <p align="center"> <font color="#0000ff"><u>
                <a href="AdminDeptedit.asp?id=<%=rs("id")%>">编辑</a></u></font></td>
                <td height="17" style="border-right-style: solid; border-right-width: 1; border-top-style: solid; border-top-width: 1; border-bottom-style: solid; border-bottom-width: 1" width="25">
                <p align="center"><font color="#ce2d24"><u>
                <a onclick='{if(confirm("此操作将删除【<%=rs("bmmc")%>】下的所有招聘信息!")){return true;}return false;}' href="AdminDeptdel.asp?id=<%=rs("id")%>">删除</a></u></font></td>
              </tr>
<%
rs.movenext  
loop  
%>
              <tr>
                <td colSpan="6" height="12" width="571" style="border-style: none; border-width: medium"></td>
              </tr>
            </table>
            </td>
          </tr>
        </table>
</td>
      </tr>
      <tr>
        <td width="100%" height="41" style="border-top-style: none; border-top-width: medium"> 
                <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="580" height="72">
          <tr>
            <td bgColor="#66CCFF" colSpan="5" height="18" width="580" style="border-top-style: none; border-top-width: medium; border-bottom-style:solid; border-bottom-width:1"><b>&nbsp;快速增加</b></td>
          </tr>
          <tr>
     <FORM name=theForm method=post action=admindeptchk.asp>
            <td height="19" width="117" bgcolor="#F0F0F0" style="border-top-style: solid; border-top-width: 1; border-bottom-style:solid; border-bottom-width:1">
            <p align="center"><span style="font-size: 9pt"><b>招聘部门名称</b></span></td>
            <td height="19" width="98" bgcolor="#F0F0F0" style="border-top-style: solid; border-top-width: 1; border-bottom-style:solid; border-bottom-width:1">
            <p align="center"><span style="font-size: 9pt"><b>该部门负责人</b></span></td>
            <td height="19" width="159" bgcolor="#F0F0F0" style="border-top-style: solid; border-top-width: 1; border-bottom-style:solid; border-bottom-width:1">
            <p align="center"><font style="font-size: 9pt"><b>接收应聘信E-mail</b></font></td>
            <td height="19" width="126" bgcolor="#F0F0F0" style="border-top-style: solid; border-top-width: 1; border-bottom-style:solid; border-bottom-width:1" align="center">
            <b>接待应聘人电话</b></td>
            <td height="19" width="79" bgcolor="#F0F0F0" style="border-top-style: solid; border-top-width: 1; border-bottom-style:solid; border-bottom-width:1"> </td>
          </tr>
          <tr>
            <td height="22" width="117" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#22446A">
            <p align="center">
            <input class="FieldNumber" maxLength="30" name="bmmc" size="14" ></td>
            <td height="22" width="98" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#22446A">
            <p align="center">
            <input class="FieldNumber" maxLength="30" name="fzr" size="11" ></td>
            <td height="22" width="159" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#22446A">
            <p align="center">
            <input class="FieldNumber" maxLength="30" name="fzrmail" size="22" ></td>
            <td height="22" width="126" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#22446A" align="center">
            <input class="FieldNumber" maxLength="50" name="dianhua" size="14" ></td>
            <td height="22" width="79" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#22446A">
            <p align="left">
            <input type="submit" value="增加部门" name="B1"></td>
          </form>
          </tr>
          </table></td>
      </tr>
      </table>
    </td>
    <td width="29" height="67"> </td>
  </tr>
  </table>
  </center>
</div>
        </td>
      </tr>
      <tr>
        <td width="100%"> </td>
      </tr>
    </table>
    </td>
    <td width="16" height="236" valign="top"> </td>
  </tr>
</table>

  </center>
</div>
<%
end if
rs.close
set rs=nothing
call closedb
%><!--#include file=copyright.asp-->

⌨️ 快捷键说明

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