<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_Job_List.aspx.cs" Inherits="YCHR.Web.admin.channel.YC_Jop_List" %>
<!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 id="Head1" runat="server">
<title>招聘职位管理</title>
<link rel="stylesheet" type="text/css" href="../images/style.css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/function.js"></script>
<script type="text/javascript">
        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="add"></span><b>您当前的位置：首页 &gt; 企业会员 &gt; 职位管理</b></div>
  <div class="spClear"> </div>
  <table width="100%" cellspacing="1" cellpadding="2" border="0" align="center" class="border">
    <tbody>
      <tr class="tdbg">
        <td width="77" height="30"><strong>管理选项：</strong></td>
        <td width="906" class="dh"><a href="YC_Job_List.aspx">管理首页</a>| <a href="YC_JobTuiJian_List.aspx?type=1" class=""> 紧急招聘职位</a>| <a href="YC_JobTuiJian_List.aspx?type=2" class="">热门招聘职位</a>| <a href="YC_JobTuiJian_List.aspx?type=3"
                            class="">高薪招聘职位</a>| <a href="YC_JobTuiJian_List.aspx?type=4" class="">固顶职位</a> [<a href="javascript:location.reload()">刷新页面</a>] </td>
      </tr>
      <tr class="tdbg">
        <td width="77" height="30"><strong>身份筛选：</strong></td>
        <td class="dh"><div> <a href="?showtype=&amp;day=<%=RequestS("day") %>" class="<%=RequestS("showtype")==""?"dhcss":"" %>"> 不限</a> <a href="?showtype=0&amp;day=<%=RequestS("day") %>" class="<%=RequestS("showtype")=="0"?"dhcss":"" %>"> 等待审核</a> <a href="?showtype=1&amp;day=<%=RequestS("day") %>" class="<%=RequestS("showtype")=="1"?"dhcss":"" %>"> 招聘中</a><a href="?showtype=2&amp;day=<%=RequestS("day") %>" class="<%=RequestS("showtype")=="2"?"dhcss":"" %>"> 审核未通过</a><a href="?showtype=3&amp;day=<%=RequestS("day") %>" class="<%=RequestS("showtype")=="3"?"dhcss":"" %>"> 暂停招聘</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td width="77" height="30"><strong>发布时间：</strong></td>
        <td class="dh"><a href="?day=&amp;showtype=<%=RequestS("showtype") %>" class="<%=RequestS("day")==""?"dhcss":"" %>"> 不限</a> <a href="?day=1&amp;showtype=<%=RequestS("showtype") %>" class="<%=RequestS("day")=="1"?"dhcss":"" %>"> 一天内</a> <a href="?day=3&amp;showtype=<%=RequestS("showtype") %>" class="<%=RequestS("day")=="3"?"dhcss":"" %>"> 三天内</a> <a href="?day=7&amp;showtype=<%=RequestS("showtype") %>" class="<%=RequestS("day")=="7"?"dhcss":"" %>"> 一周内</a> <a href="?day=30&amp;showtype=<%=RequestS("showtype") %>" class="<%=RequestS("day")=="30"?"dhcss":"" %>"> 一月内</a> <a href="?day=180&amp;showtype=<%=RequestS("showtype") %>" class="<%=RequestS("day")=="180"?"dhcss":"" %>"> 半年内</a></td>
      </tr>
      <tr class="tdbg">
        <td height="30"><strong>　　搜索：</strong></td>
        <td><asp:DropDownList ID="ddlProperty" runat="server" AutoPostBack="True" CssClass="select">
            <asp:ListItem Value="">选择搜索类型 </asp:ListItem>
            <asp:ListItem Value="1">职位名称 </asp:ListItem>
            <asp:ListItem Value="2">企业名称 </asp:ListItem>
          </asp:DropDownList>
          <asp:TextBox ID="txtKeywords" class="keyword" runat="server"></asp:TextBox>
          &nbsp;
          <asp:Button ID="ButtonSearch" CssClass="submit" runat="server" Text="搜索" OnClick="ButtonSearch_Click" /></td>
      </tr>
    </tbody>
  </table>
  <div class="clear box">
  <div class="left">
  目前总记录数为：<b class="ft_red ft_16"><%=recordCount %></b></div>  
  <asp:Literal ID="litpagestr0" runat="server"></asp:Literal>
  </div>
  <div class="clear"></div>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
    <tr>
      <th width="5%" align="center"> 编号 </th>
      <th width="15%" align="center"> 职位名称 </th>
      <th width="10%" align="center"> 职位待遇 </th>
      <th width="20%" align="center"> 企业名称 </th>
      <th width="10%" align="center"> 点击次数 </th>
      <th width="10%" align="center"> 发布时间 </th>
      <th width="10%" align="center"> 截止日期 </th>
      <th width="10%" align="center"> 状态 </th>
      <th align="center"> <input type="checkbox" onclick="checkall(this,'.msgtable');" name="chkBoxAll" id="chkBoxAll">
      </th>
    </tr>
    <asp:Repeater ID="repList" runat="server">
      <ItemTemplate>
        <tr>
          <td align="center"><%#Eval("id") %></td>
          <td align="left"><%#Eval("jobname")%></td>
          <td align="left"><%#Eval("paytemp").ToString() == "0" ? "面议" : Eval("paytemp").ToString()%></td>
          <td align="left"><%#Eval("companyname")%></td>
          <td align="center"><%#Eval("hits")%></td>
          <td align="center"><%#Eval("addtime")%></td>
          <td align="center"><%#Convert.ToDateTime(Eval("addtime")).AddDays(Int32.Parse(Eval("days").ToString()))%></td>
          <td align="center"><%#YCHR.Common.Enumerations.getjobsstatename(Eval("state"))%></td>
          <td align="center"><asp:HiddenField ID="txtid" Value='<%#Eval("id") %>' runat="server" />
            <asp:CheckBox ID="cb_id" CssClass="checkall" runat="server" /></td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
  </table>
  <div class="clear box">
  <asp:Button ID="Button1" CssClass="submit" runat="server" Text="招聘中" 
          OnClick="Button1_Click" />
  &nbsp;
  <asp:Button ID="Button2" CssClass="submit" runat="server" Text="等待审核" 
          OnClick="Button2_Click" />
  &nbsp;
  <asp:Button ID="Butparse" CssClass="submit" runat="server" Text="暂停招聘" OnClick="Butparse_Click" />
  &nbsp;<asp:Button ID="Button7" CssClass="submit" runat="server" Text="审核未通过" 
          OnClick="Button7_Click" />
  &nbsp;<asp:Button ID="Button3" CssClass="submit" runat="server" Text="急招职位" OnClick="Button3_Click" />
  &nbsp;
  <asp:Button ID="Button4" CssClass="submit" runat="server" Text="热门职位" OnClick="Button4_Click" />
  &nbsp;
  <asp:Button ID="Button5" CssClass="submit" runat="server" Text="高薪职位" OnClick="Button5_Click" />
  &nbsp;
  <asp:Button ID="Button6" CssClass="submit" runat="server" Text="固顶职位" OnClick="Button6_Click" />
  &nbsp;
  <asp:Button ID="btndeljob" CssClass="submit" runat="server" Text="删除职位" OnClick="btndeljob_Click" />
  </div>
  <div class="right"><asp:Literal ID="litpagestr" runat="server"></asp:Literal></div>
  <span class="ft_red"><strong>操作提示： </strong></span><strong>审核－</strong>审核之后职位状态改变为招聘中<br />
  <strong>取消审核－</strong>状态改变为待审核<br />
  <strong>暂停－</strong>状态改变为暂停招聘
</form>
</body>
</html>
