<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="joblist.aspx.cs" Inherits="YCHR.Web.newhr.joblist" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>职位管理-<%=config.sitename %></title>
<link rel="stylesheet" type="text/css" href="<%=config.templatetheme%>/css/member.css" />
<script type="text/javascript" src="<%=config.templatetheme%>/js/jquery.js"></script>
</head>
<body>
<!--head-->
<!-- #include file="include/head.html" -->
<!--nav-->
<div class="navbox">
  <div class="navtab">
    <ul>
      <li class="now"><a href="index.aspx">招聘中心</a></li>
      <li><a href="companyinfomodify.aspx">企业资料</a></li>
      <li><a href="account.aspx">我的账户</a></li>
      <li><a href="server_buy.aspx">增值服务</a></li>
      <li><a href="/resume" target="_blank">最新人才库</a></li>
      <li class="search"><a href="resumesearch.aspx">简历搜索</a></li>
      <li class="add"><a href="addjobs.aspx">发布职位</a></li>
    </ul>
  </div>
</div>
<div class="clear"> </div>
<!--content-->
<div class="box">
  <!--menu-->
  <div class="mb_menu">
    <dl>
      <dt class="m1"><a href="javascript:void(0);">职位管理</a></dt>
      <dd> <a href="addjobs.aspx">发布职位</a></dd>
      <dd> <a href="joblist.aspx" class="now">职位管理</a></dd>
      <dt style="margin-top: 8px" class="m2"><a href="javascript:void(0);">简历搜索</a></dt>
      <dd> <a href="resumesearch.aspx">简历搜索</a></dd>
      <dd> <a href="resumeseek.aspx">简历搜索器</a></dd>
      <dt style="margin-top: 8px" class="m3"><a href="javascript:void(0);">简历管理</a></dt>
      <dd> <a href="receivedresume.aspx">收到的简历</a></dd>
      <dd> <a href="mydownresume.aspx">下载的简历</a></dd>
      <dd> <a href="sendoutinvite.aspx">发出的邀请</a></dd>
      <dd> <a href="collectresume.aspx">收藏的简历</a></dd>
      <dd> <a href="invitetemp.aspx">邀请模板管理</a></dd>
    </dl>
    <div class="ad200"> <img src="<%=config.templatetheme%>/images/member/ad2.gif" width="198" height="70" alt="ad2" /></div>
  </div>
  <!--right-->
  <div class="navmbs"> 您的位置： <a href="/">网站首页</a> > <a href="Index.aspx">招聘中心</a> > 职位管理 </div>
  <div class="mbbox_r">
    <div class="tagT">
      <ul>
        <li id="mydefault" runat="server"><a href="joblist.aspx">发布中的职位</a></li>
        <li id="state0" runat="server"><a href="joblist.aspx?type=state0">未审核的职位</a></li>
        <li id="pause" runat="server"><a href="joblist.aspx?type=pause">我暂停的职位</a></li>
        <li id="all" runat="server"><a href="joblist.aspx?type=all">全部职位</a></li>
      </ul>
      <div class="tagTxt zhiying"> <a href="#" class="a_blue">如何进行职位管理如何提升效果？</a></div>
    </div>
    <div class="h5px"> </div>
    <form id="form1" name="from1"  runat="server">
      <div class="pad12 ft_13"> 职位搜索:
        <input id="keywords" maxlength="6" name="keywords" tabindex="4" type="text" 
                    class="input250" onmouseover="this.className='input251'" onmouseout="this.className='input250'"
                    style="width: 155px; height: 26px; margin: 0 6px; line-height: 26px" />
        <asp:Button ID="btnsearch" runat="server" CssClass="btn_blue" Text="搜索" 
                    onclick="btnsearch_Click" />
      </div>
      <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" class="padding3"
                style="margin-top: 20px;">
        <tbody>
          <tr style="background: #F2F2F2" class="ft_13">
            <td width="4%">&nbsp;</td>
            <td width="6%" align="center"> 排序 </td>
            <td width="7%" align="center"> 状态 </td>
            <td width="17%" align="center"><strong>职位名称</strong></td>
            <td width="9%" align="center"> 有效天数 </td>
            <td width="10%" align="center"> 刷新日期 </td>
            <td width="9%" align="center"><strong>被浏览</strong></td>
            <td width="9%" align="center"> 收到简历 </td>
            <td width="10%" align="center"> 未回复 </td>
            <td width="19%" align="center"><strong>操 作</strong></td>
          </tr>
          <asp:Repeater ID="replist" runat="server">
            <ItemTemplate>
              <tr>
                <td><input type="checkbox" value=" <%#Eval("id") %>" ></td>
                <td align="center"><%# Container.ItemIndex + 1%></td>
                <td align="center"><%#YCHR.Common.Enumerations.getjobsstatename(Eval("state"))%></td>
                <td align="center"><%#Eval("jobname") %></td>
                <td align="center"><%#Eval("days") %>天 </td>
                <td align="center"><%#Eval("modtime") %></td>
                <td align="center"><%#Eval("hits") %></td>
                <td align="center"><font color="#08A104" > <b><%#getreceivednum(Eval("id"))%></b></font>份 </td>
                <td align="center">&nbsp;</td>
                <td align="center"><a title="刷新" class="bule" href="?act=reflash&jobid=<%#Eval("id") %>">刷新</a>
                  <%if (YCHR.Common.YCRequest.GetQueryString("type") == "")
                                      { %>
                  <a title="编辑" class="bule" href="addjobs.aspx?act=edit&jobid=<%#Eval("id") %>">编辑</a> <a title="暂停" class="bule" href="?act=pause&jobid=<%#Eval("id") %>">暂停</a> <a onclick=" return confirm('确认要将选择的职位删除？删除后无法恢复');"
                                        title="删除" class="bule" href="?act=dele&jobid=<%#Eval("id") %>">删除</a>
                  <%}
                                      else if (YCHR.Common.YCRequest.GetQueryString("type") == "pause")
                                      { %>
                  <a title="编辑" class="bule" href="addjobs.aspx?act=edit&jobid=<%#Eval("id") %>">编辑</a> <a title="激活" class="bule" href="?act=jihuo&jobid=<%#Eval("id") %>">激活</a> <a onclick="return confirm('确认要将选择的职位删除？删除后无法恢复');"
                                        title="删除" class="bule" href="?act=dele&jobid=<%#Eval("id") %>">删除</a>
                  <%}
                                    else 
                                      { %>
                  <a title="编辑" class="bule" href="addjobs.aspx?act=edit&jobid=<%#Eval("id") %>">编辑</a> <a onclick="return confirm('确认要将选择的职位删除？删除后无法恢复');"
                                        title="删除" class="bule" href="?act=dele&jobid=<%#Eval("id") %>">删除</a>
                  <%}%></td>
              </tr>
            </ItemTemplate>
          </asp:Repeater>
          <tr id="repnodata" runat="server" visible='false'>
            <td colspan="10" align="center" style="font-size: 20px; line-height: 80px"> 暂无数据 </td>
          </tr>
          <tr>
            <td colspan="10"><div class="h5px"> </div>
              <div class="left">
                <input type="checkbox" onclick="checkall(this,'#form1');" name="chkBoxAll" id="chkBoxAll">
                全选
                <input type="button" name="bottom" onclick="checkDo('joblist.aspx?deleidstr=')" class="btn_hui"
                                value="删除所选" />
              </div>
              <div class="page"> <%=pagestr%> </div></td>
          </tr>
        </tbody>
      </table>
    </form>
    <br />
    <!--content-->
  </div>
  <div class="clear"> </div>
</div>
<!-- #include file="include/foot.html" -->
</body>
</html>
