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

<%@ Register Tagprefix="UserControls" TagName="Footer" Src="../Controls/Footer.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Header" Src="../Controls/Header_Person_Resume.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Right" Src="../Controls/Right_Person_ResumeTool.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="Res_Resume_Open.aspx">公开设置</a></td>
                      <td width="5"></td>
                      <td class="userbuttom11"><a href="Res_Resume_CompanyFilter.aspx">公司屏蔽</a></td>
                      <td width="5"></td>
                      <td class="userbuttom12"><a href="Res_Resume_OutSend.aspx">外发简历</a></td>
                      <td width="5"></td>
                      <td class="userbuttom12"><a href="Res_Resume_Default.aspx">默认设置</a></td>
                      <td width="5"></td>
                      <td class="userbuttom12"><a href="Res_Resume_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="0">
							<tr>
								<td height="25" style="PADDING-LEFT: 13px; PADDING-TOP: 3px; BORDER-BOTTOM: #d3d3d3 1px solid"><strong>公司屏蔽</strong>
								</td>
							</tr>
							<tr>
								<td height="25" style="PADDING-LEFT: 12px; PADDING-TOP: 3px"><font color="#777777">被阻止的公司将无法搜索和查看到您的简历；最多可阻止20个公司；</font></td>
							</tr>
							<tr>
								<td height="25" style="PADDING-LEFT: 12px; PADDING-TOP: 3px">关键字
									<asp:TextBox Runat=server ID="txt_Key" Width="200"></asp:TextBox>
									<asp:Button Runat=server ID="btn_Search" Text="搜索" Width="55" OnClick="btn_Search_Click"></asp:Button>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Key" ControlToValidate="txt_Key" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
									<asp:ValidationSummary Runat=server ID="vas_Search" ShowMessageBox="True" ShowSummary="False" HeaderText="请输入关键字！"></asp:ValidationSummary>
								</td>
							</tr>
							<tr>
								<td height="5"></td>
							</tr>
						</table>
						<!--搜索结果列表-->
						<asp:Panel Runat=server ID="pan_CompanySearch">
							<asp:DataList id="lit_CompanySearch" Width="98%" Runat=server RepeatColumns="2" RepeatDirection="Horizontal"
								CellPadding="4" CellSpacing="0" HorizontalAlign="Center" DataKeyField="Comid">
								<ItemTemplate>
									<asp:CheckBox Runat=server ID="chk_Comid"></asp:CheckBox><%# Eval("CompanyName") %>
								</ItemTemplate>
							</asp:DataList>
							<TABLE cellSpacing="0" cellPadding="4" width="98%" align="center" border="0">
								<TR>
									<TD width="50%">
										<asp:Button id="btn_Filter" onclick="btn_Filter_Click" Runat=server Text="阻止选中的公司"></asp:Button></TD>
									<TD align="right">&nbsp;</TD>
								</TR>
							</TABLE>
						</asp:Panel>
						<!--被阻止的公司列表-->
						<table width="100%" border="0" cellspacing="1" cellpadding="0">
							<tr>
								<td height="1" bgcolor="#FBB963"></td>
							</tr>
						</table>
						<asp:DataList Runat=server ID="lit_CompanyFilter" DataKeyField="Mid" Width="100%" RepeatColumns="1"
							CellSpacing="0" CellPadding="0" OnItemCommand="CompanyFilter_ItemCommand">
							<HeaderTemplate>
								<table width="100%" border="0" cellspacing="1" cellpadding="3">
									<tr bgcolor="#FEEECC">
										<td width="5%" align="center" bgcolor="#FEEECC">&nbsp;</td>
										<td width="70%"><strong>公司名称</strong></td>
										<td width="15%"><strong>阻止时间</strong></td>
										<td><strong>操作</strong></td>
									</tr>
								</table>
							</HeaderTemplate>
							<ItemTemplate>
								<table width="100%" border="0" cellspacing="1" cellpadding="3">
									<tr>
										<td width="5%" align="center">
											<asp:CheckBox Runat=server ID="chk_Mid"></asp:CheckBox></td>
										<td width="70%"><a href='<%# "../zhaopin/"+Eval("RegDate","{0:yyyy}")+"/zp_"+ smd5(Eval("Comid").ToString()) +".html" %>' target=_blank><%# Eval("CompanyName") %></a></td>
										<td width="15%"><%# Eval("UpdateDate","{0:d}") %></td>
										<td>
											<asp:LinkButton Runat=server ID="lbn_Delete" CommandName="Delete" CssClass="uline" CausesValidation="False">解除阻止</asp:LinkButton></td>
									</tr>
									<tr>
										<td colspan="4" height="1" bgcolor="#d3d3d3"></td>
									</tr>
								</table>
							</ItemTemplate>
						</asp:DataList>
						<table width="100%" border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td width="20%" style="PADDING-LEFT:9px"><input type="checkbox" Runat=server id="chk_All" name="chk_All" onClick="SetAllChecked(this)">全选</td>
								<td align="right" style="PADDING-RIGHT:9px"><asp:Button Runat=server ID="btn_NoFilter" Text="解除阻止" CausesValidation="False" OnClick="btn_NoFilter_Click"></asp:Button></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>
