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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK rel="stylesheet" type="text/css" href="../Css/Other.css">
		<script language="javascript" src="../CScript/CheckFun.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" Runat=server>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td style="PADDING-RIGHT:5px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="5"></td>
							</tr>
							<tr>
								<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="5" height="24" background="../Images/WebOffices/Right1_bg.jpg"></td>
											<td background="../Images/WebOffices/Right1_bg.jpg" style="PADDING-LEFT:8px;PADDING-TOP:2px"><font color="#ffffff"><b>推荐职位</b></font></td>
											<td width="200" align="right" background="../Images/WebOffices/Right1_bg.jpg">&nbsp;</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="4"></td>
							</tr>
						</table>
						<!--职位列表-->
						<asp:DataGrid Runat=server ID="grd_JobList" DataKeyField="Jobid" Width="100%" AllowPaging="False"
							AutoGenerateColumns="False" PagerStyle-Visible="False" GridLines="Both" BackColor="#ffffff"
							BorderStyle="None" BorderColor="#D1E6F7" CellPadding="3" CellSpacing="0" OnItemDataBound="JobList_ItemDataBound">
							<HeaderStyle Height="25" BackColor="#ECF4FC"></HeaderStyle>
							<ItemStyle Height="25"></ItemStyle>
							<Columns>
								<asp:BoundColumn DataField="Comid" HeaderText="编号" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
									HeaderStyle-Width="5%" ItemStyle-Width="5%"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="职位名称" HeaderStyle-Width="21%" ItemStyle-Width="21%">
									<ItemTemplate>
										<a href='<%# "../zhaopin/job_"+ Eval("Jobid") +".html" %>' target=_blank class="blue11">
											<%# Eval("JobName") %>
										</a>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="公司名称" HeaderStyle-Width="25%" ItemStyle-Width="25%">
									<ItemTemplate>
										<a href='<%# "../zhaopin/"+ Eval("Comid") +".html" %>' target=_blank class="blue11">
											<%# Eval("CompanyName") %>
										</a>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="JobFlag" HeaderText="状态" HeaderStyle-Width="7%" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:BoundColumn DataField="BestFlag" HeaderText="急聘" HeaderStyle-Width="5%" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:BoundColumn DataField="HotFlag" HeaderText="热门" HeaderStyle-Width="5%" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:BoundColumn DataField="TopDays" HeaderText="推荐有效期" HeaderStyle-Width="9%" ItemStyle-Width="9%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:BoundColumn DataField="CreateDate" HeaderText="发布时间" DataFormatString="{0:d}" HeaderStyle-Width="9%" ItemStyle-Width="9%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="操作">
									<ItemTemplate>
										<a href='<%# "Job_Update.aspx?PrevUrl=Job_Commend.aspx&Comid="+ Eval("Comid") +"&Username="+ Eval("Username") +"&Jobid="+ Eval("Jobid") %>' class="uline">编辑</a>
										<a href='<%# "Job_Commend_Manage.aspx?PrevUrl=Job_Commend.aspx&Comid="+ Eval("Comid") +"&Jobid="+ Eval("Jobid") %>' class="uline">推荐</a>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderStyle-Width="4%" ItemStyle-Width="4%" HeaderStyle-HorizontalAlign="Center"
									ItemStyle-HorizontalAlign="Center">
									<HeaderTemplate>
										<input type="checkbox" Runat=server id="chk_All" name="chk_All" onclick="SetAllChecked(this)">
									</HeaderTemplate>
									<ItemTemplate>
										<asp:CheckBox Runat=server ID="chk_Jobid"></asp:CheckBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</asp:DataGrid>
						<!--分页控制-->
						<table width="100%" border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td height="30"><asp:Label Runat=server ID="lbl_Page"></asp:Label></td>
								<td width="30%" align="right">
									<asp:HyperLink Runat=server ID="hyl_First">首页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Prev">前页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Next">后页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Last">尾页</asp:HyperLink>
									| 跳到
									<asp:TextBox Runat=server ID="txt_PageNo" Width="30"></asp:TextBox>
									<asp:Button Runat=server ID="btn_GoPage" Text="GO" OnClick="btn_GoPage_Click" CausesValidation="False"></asp:Button></td>
							</tr>
						</table>
						<!--操作按扭-->
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="25" align="center" style="BORDER-TOP: #DDDDDD 1px solid; PADDING-BOTTOM: 4px; PADDING-TOP: 4px">
									<asp:Button Runat=server ID="btn_NoCommend" Text="取消推荐" OnClick="btn_NoCommend_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Flag" Text="通过审核" OnClick="btn_Flag_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_NoFlag" Text="取消审核" OnClick="btn_NoFlag_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Best" Text="设为急聘" OnClick="btn_Best_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Hot" Text="设为热门" OnClick="btn_Hot_Click"></asp:Button>
									<asp:Button Runat=server ID="btn_Delete" Text="删除职位" OnClick="btn_Delete_Click"></asp:Button>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

