<%@ page language="C#" autoeventwireup="true" inherits="Company_Com_Job_Manage, ZhaoPinXiTong" enableEventValidation="false" %>

<%@ Register Tagprefix="UserControls" TagName="Footer" Src="../Controls/Footer.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Header" Src="../Controls/Header_Company_User.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Right" Src="../Controls/Right_Company_Job.ascx" %>
<!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>
		<title><%= "招聘中心_职位管理_" + pub_WebName %></title>
		<meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK rel="stylesheet" type="text/css" href="../Css/Style.css">
		<script language="javascript" src="../CScript/CheckFun.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" Runat=server>
			<!--页面顶部-->
			<UserControls:Header Runat=server id="Header1"></UserControls:Header>
			<!--页面主体-->
			<table width="992" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr><td align="center" bgcolor="#FFFFFF"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr valign="top">
            <td width="188"  class="UserMenu_bg"><!--菜单--><UserControls:Right Runat=server id="Right1" /></td>
          <td bgcolor="#FFFFFF">
          <!--右侧-->
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="userbg_top"></td>
            </tr>
            <tr>
              <td valign="top" class="userbg_bg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td valign="bottom" class="userbuttom_bg"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="userbuttom12"><a href="Com_Job_Publish.aspx">发布职位</a></td>
                      <td width="5"></td>
                      <td class="userbuttom11"><a href="Com_Job_Manage.aspx" class="white"><b>职位管理</b></a></td>
                      <td width="5"></td>
                      <td class="userbuttom12"><a href="Com_Job_template.aspx">职位模板</a></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="5"></td>
              </tr>
            </table>
						<!--分页控制-->
						<table width="100%" border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td width="50%"><asp:Label Runat=server ID="lbl_Page"></asp:Label></td>
								<td width="50%" align="right"><asp:HyperLink Runat=server ID="hyl_First">首页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Prev">前页</asp:HyperLink>
									<asp:Label Runat=server ID="lbl_CutPage"></asp:Label>
									<asp:HyperLink Runat=server ID="hyl_Next">后页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Last">尾页</asp:HyperLink></td>
							</tr>
						</table>
						<table width="100%" border="0" cellspacing="1" cellpadding="0">
							<tr>
								<td height="1" bgcolor="#FBB963"></td>
							</tr>
						</table>
						<!--职位列表-->
						<asp:DataList Runat=server ID="lit_JobList" DataKeyField="Jobid" RepeatColumns="1" Width="100%"
							CellPadding="0" CellSpacing="0" OnItemDataBound="JobList_ItemDataBound" OnItemCommand="JobList_ItemCommand">
							<HeaderTemplate>
								<table width="100%" border="0" cellspacing="1" cellpadding="4">
									<tr bgcolor="#FEEECC">
										<td width="5%" align="center"><input type="checkbox" Runat=server id="chk_All" name="chk_All" onClick="SetAllChecked(this)"></td>
										<td width="32%"><strong>职位名称</strong></td>
										<td width="10%" align="center"><strong>状态</strong></td>
										<td width="12%" align="center"><strong>浏览/应聘</strong></td>
										<td width="13%" align="center"><strong>发布日期</strong></td>
										<td width="13%" align="center"><strong>截止日期</strong></td>
										<td><strong>操作</strong></td>
									</tr>
								</table>
							</HeaderTemplate>
							<ItemTemplate>
								<table width="100%" border="0" cellspacing="1" cellpadding="4">
									<tr>
										<td width="5%" align="center" class="border_bottom">
											<asp:CheckBox Runat=server ID="chk_Jobid"></asp:CheckBox></td>
										<td width="32%" class="border_bottom"><a href='<%# pub_WebUrl+"zhaopin/"+ Eval("CreateDate","{0:yyyy}")+"/job_"+ smd5(Eval("Jobid").ToString()) +".html" %>' target=_blank><%# Eval("JobName") %></a></td>
										<td width="10%" class="border_bottom" align="center">
											<asp:Label Runat=server ID="lbl_JobFlag"></asp:Label></td>
										<td width="12%" class="border_bottom" align="center"><%# Eval("VisitNum") + "/" + Eval("SendNum") %></td>
										<td width="13%" class="border_bottom" align="center"><%# Eval("UpdateDate","{0:d}") %></td>
										<td width="13%" class="border_bottom" align="center">
											<asp:Label Runat=server ID="lbl_EndDate"></asp:Label></td>
										<td class="border_bottom"><a href='<%# "Com_Job_Update.aspx?Jobid=" + Eval("Jobid") %>' class="uline">修改</a><img src="../Images/Public/icon2.gif" width="11" height="15" align="absmiddle"><asp:LinkButton Runat=server ID="lbn_Copy" CommandName="Copy" CssClass="uline">复制</asp:LinkButton><img src="../Images/Public/icon2.gif" width="11" height="15" align="absmiddle"><asp:LinkButton Runat=server ID="lbn_Delete" CommandName="Delete" CssClass="uline">删除</asp:LinkButton></td>
									</tr>
									
								</table>
							</ItemTemplate>
						</asp:DataList>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td align="center" height="40">
									<asp:Button Runat=server ID="btn_Refresh" Text="刷新职位" OnClick="btn_Refresh_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Open" Text="激活职位" OnClick="btn_Open_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Close" Text="屏蔽职位" OnClick="btn_Close_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Delete" Text="删除职位" OnClick="btn_Delete_Click"></asp:Button>
								</td>
							</tr>
						</table>
						<table width="100%" border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td height="28" valign="bottom" style="BORDER-TOP: #d3d3d3 1px solid; PADDING-LEFT: 5px; PADDING-TOP: 3px"><strong>操作说明</strong><br>
									<font color="#777777">刷新职位 - 将职位的更新时间修改为当前时间，使职位在搜索结果中排名靠前，提高招聘效果；<br>
										重新发布 - 将职位以当天为开始日期，截止日期自动改为新的开始日期加上职位有效期天数；<br>
										激活职位 - 对“已屏蔽”的职位重新进行招聘；<br>
										屏蔽职位 - 对“暂时不需要招聘”的职位进行隐藏，以后如果需要招聘时再激活该职位即可；<br>
										删除职位 - 对“已经招聘完成”，以后不再需要招聘的职位彻底进行删除，可同时删除多个职位,但职位数不会额外增加；<br>
										复制 - 对选中的职位复制一个相同的，然后根据需要做适当的条件修改发布一个新职位； </font>
								</td>
							</tr>
						</table>
					</td>
            </tr>
            <tr>
              <td class="userbg_bottom"></td>
            </tr>
          </table></td>
              </tr>
            </table></td>
              </tr>
            </table>
			<!--页面底部-->
<UserControls:Footer Runat=server id="Footer1"></UserControls:Footer>
		</form>
	</body>
</HTML>

