<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_zhaopin_List.aspx.cs"
    Inherits="YCHR.Web.admin.channel.YC_zhaopin_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>
    <script type="text/javascript">
        this.imagePreview = function () {
            xOffset = 10;
            yOffset = 30;
            $("a.preview").hover(function (e) {
                this.t = this.title;
                this.title = "";
                var c = (this.t != "") ? "<br/>" + this.t : "";
                $("body").append("<p id='preview'><img src='" + this.href + "' alt='Image preview' />" + c + "</p>");
                $("#preview")
			.css("top", (e.pageY - xOffset) + "px")
			.css("left", (e.pageX + yOffset) + "px")
			.fadeIn("fast");
            },
	function () {
	    this.title = this.t;
	    $("#preview").remove();
	});
            $("a.preview").mousemove(function (e) {
                $("#preview")
			.css("top", (e.pageY - xOffset) + "px")
			.css("left", (e.pageX + yOffset) + "px");
            });
        };
        // starting the script on page load
        $(document).ready(function () {
            imagePreview();
        });
    </script>
    <style>
        #preview
        {
            position: absolute;
            border: 1px solid #ccc;
            background: #333;
            padding: 5px;
            display: none;
            color: #fff;
        }
    </style>
</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="78" height="30">
                    <strong>管理选项：</strong>
                </td>
                <td width="905" class="dh">
                    <a href="YC_zhaopin_List.aspx">管理首页</a>|<a target="sysMain" href="YC_zhaopin_List.aspx">招聘企业管理</a>|
                    <a href="YC_Job_List.aspx">职位管理</a>|<a target="sysMain" href="YC_Simple_List.aspx">微招聘管理</a>|
                    <a href="YC_company_service.aspx">企业服务申请管理</a>|  <a href="Yc_companyphoto_list.aspx">企业相册管理</a>|[<a href="javascript:location.reload()">刷新页面</a>]
                </td>
            </tr>
            <tr class="tdbg">
                <td width="78" height="30">
                    <strong>服务筛选：</strong>
                </td>
                <td class="dh">
                    <div>
                        <a href="?lv=&amp;day=<%=RequestS("day") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                            class="<%=RequestS("lv")==""?"dhcss":"" %>">不限</a> <a href="?lv=1&amp;day=<%=RequestS("day") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                class="<%=RequestS("lv")=="1"?"dhcss":"" %>">免费会员</a> <a href="?lv=2&amp;day=<%=RequestS("day") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                    class="<%=RequestS("lv")=="2"?"dhcss":"" %>">VIP月度会员</a> <a href="?lv=3&amp;day=<%=RequestS("day") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                        class="<%=RequestS("lv")=="3"?"dhcss":"" %>">VIP季度会员</a> <a href="?lv=4&amp;day=<%=RequestS("day") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                            class="<%=RequestS("lv")=="4"?"dhcss":"" %>">VIP半年会员</a> <a href="?lv=5&amp;day=<%=RequestS("day") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                                class="<%=RequestS("lv")=="5"?"dhcss":"" %>">VIP年度会员</a>
                    </div>
                </td>
            </tr>
            <tr class="tdbg">
                <td width="78" height="30">
                    <strong>二级筛选：</strong>
                </td>
                <td class="dh">
                    <a href="?status=&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;day=<%=RequestS("day") %>"
                        class="<%=RequestS("status")==""?"dhcss":"" %>">不限</a> <a href="?status=4&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>"
                            class="<%=RequestS("status")=="4"?"dhcss":"" %>">包月/季/年到期</a>
                </td>
            </tr>
            <tr class="tdbg">
                <td width="78" height="30">
                    <strong>营业执照：</strong>
                </td>
                <td class="dh">
                    <a href="?license=&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>&amp;day=<%=RequestS("day") %>"
                        class="<%=RequestS("license")==""?"dhcss":"" %>">不限</a> <a href="?license=1&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>&amp;day=<%=RequestS("day") %>"
                            class="<%=RequestS("license")=="1"?"dhcss":"" %>">已上传营业执照</a> <a href="?license=0&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>&amp;day=<%=RequestS("day") %>"
                                class="<%=RequestS("license")=="0"?"dhcss":"" %>">未上传营业执照</a>
                </td>
            </tr>
            <tr class="tdbg">
                <td width="78" height="30">
                    <strong>企业标志：</strong>
                </td>
                <td class="dh">
                    <a href="?logo=&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;status=<%=RequestS("status") %>&amp;day=<%=RequestS("day") %>"
                        class="<%=RequestS("logo")==""?"dhcss":"" %>">不限</a> <a href="?logo=1&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;status=<%=RequestS("status") %>&amp;day=<%=RequestS("day") %>"
                            class="<%=RequestS("logo")=="1"?"dhcss":"" %>">已上传企业LOGO</a> <a href="?logo=0&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;status=<%=RequestS("status") %>&amp;day=<%=RequestS("day") %>"
                                class="<%=RequestS("logo")=="0"?"dhcss":"" %>">未上传企业LOGO</a>
                </td>
            </tr>
            <tr class="tdbg">
                <td width="78" height="30">
                    <strong>时间筛选：</strong>
                </td>
                <td class="dh">
                    <a href="?day=&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                        class="<%=RequestS("day")==""?"dhcss":"" %>">不限</a> <a href="?day=1&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                            class="<%=RequestS("day")=="1"?"dhcss":"" %>">一天内</a> <a href="?day=3&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                class="<%=RequestS("day")=="3"?"dhcss":"" %>">三天内</a> <a href="?day=7&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                    class="<%=RequestS("day")=="7"?"dhcss":"" %>">一周内</a> <a href="?day=30&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                        class="<%=RequestS("day")=="30"?"dhcss":"" %>">一月内</a> <a href="?day=180&amp;islock=<%=RequestS("islock") %>&amp;lv=<%=RequestS("lv") %>&amp;license=<%=RequestS("license") %>&amp;logo=<%=RequestS("logo") %>&amp;status=<%=RequestS("status") %>"
                                            class="<%=RequestS("day")=="180"?"dhcss":"" %>">半年内</a>
                </td>
            </tr>
            <tr class="tdbg">
                <td height="30">
                    <strong>搜索：</strong>
                </td>
                <td>
                    <br />
                    <asp:DropDownList ID="ddlProperty" runat="server" AutoPostBack="True" CssClass="select">
                        <asp:ListItem Value="1">企业名称 </asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;
                    <asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword"></asp:TextBox>
                    &nbsp;
                    <asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="submit" OnClick="btnSelect_Click" />
                    &nbsp;&nbsp;&nbsp;<br />
                    <br />
                </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="3%" align="center">
                <input type="checkbox" onclick="checkall(this,'.msgtable');" name="chkBoxAll" id="chkBoxAll">
            </th>
            <th width="5%" align="center">
                编号
            </th>
            <th width="9%" align="center">
                会员名<br />
                企业名
            </th>
            <th width="8%" align="center">
                登录时间<br />
                注册时间
            </th>
            <th width="7%" align="center">
                企业状态
            </th>
            <th width="8%" align="center">
                企业LOGO<br />
                企业执照
            </th>
            <th width="8%" align="center">
                招聘图片
            </th> 
            <th width="7%" align="center">
                企业相册
            </th>
            <th width="12%" align="center">
                会员类型<br />
                到期时间
            </th>
            <th width="10%" align="center">
                是否推荐<br />
                到期时间
            </th>
            <th width="10%" align="center">
                联系方式
            </th>
       
            <th width="6%" align="center">
                登录
            </th>
            <th width="7%" align="center">
                操作
            </th>
        </tr>
        <asp:Repeater ID="repList" runat="server" OnItemCommand="repList_ItemCommand">
            <ItemTemplate>
                <tr>
                    <td align="center">
                        <asp:HiddenField ID="hiddenzpphoto" Value='<%#Eval("zpphoto")%>' runat="server" />
                        <asp:HiddenField ID="huid" Value='<%#Eval("uid") %>' runat="server" />
                        <asp:HiddenField ID="cid" Value='<%#Eval("cid") %>' runat="server" />
                        <asp:CheckBox ID="cb_id" CssClass="checkall" runat="server" />
                    </td>
                    <td align="center">
                        <%#Eval("uid") %>
                    </td>
                    <td align="left">
                        <a target="_blank" href="../adlogin.aspx?username=<%#Eval("username")%>&password=<%#YCHR.Common.StringHelper.StrDe(Eval("password").ToString())%>">
                            <%#Eval("username") %></a><br />
                        <%#Eval("companyname") %><%#Eval("ishurry").ToString().ToUpper()=="TRUE"?"<font color='red'> (急)</font>":"" %>
                    </td>
                    <td align="center">
                        <%#Convert.ToDateTime((Eval("logindate").ToString())).ToString("yyyy-MM-dd")%><br />
                        <%#Convert.ToDateTime((Eval("regdate").ToString())).ToString("yyyy-MM-dd")%>
                    </td>
                    <td align="center">
                        <%#YCHR.Common.Enumerations.getcompanystatename(Eval("state"))%>
                    </td>
                    <td align="center">
                        <%#getlogostate(Eval("logourl").ToString())%><br />
                      
                    </td>
                    <td align="center">
                        <%#ishavephotozp(Eval("zpphoto"), Eval("cid"))%>
                    </td>
                    <td align="center">
                          <%#getlicencestate(Eval("licence").ToString(), Eval("lic_check").ToString())%><br />
                    </td>
                    <td align="center">
                        <%#getCompanyGroupName(Eval("vgroup").ToString(), Eval("edate").ToString())%><br />
                    </td>
                    <td align="center">
                        <%#iscommandcompany(Eval("uid").ToString())%>
                    </td>
                    <td align="center">
                        <%#Eval("email") %>
                    </td>
                    <td align="center">
                        <%#Eval("logintimes") %>
                    </td>
                    <td align="center">
                        <a href="#" onclick="return confirm( '该功能暂时不开放 ');">充值</a><br />
                        <a href="YC_ChangeComanyLevel.aspx?Action=uplevel&amp;cid=<%#Eval("cid") %>">会员升级</a>
                        </a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <div class="clear box">
        <div class="left">
            <asp:Button ID="Button3" runat="server" CssClass="submit" OnClick="Button3_Click"
                OnClientClick="return confirm( '你确定要撤销企业推荐 ');" Text="撤销推荐" />
            <asp:Button ID="btnrecommand" runat="server" CssClass="submit" OnClick="btnrecommand_Click"
                OnClientClick="return confirm( '你确定要推荐你所选择的企业为名企吗？ ');" Text="推荐企业" />
            <asp:Button ID="btndele" runat="server" CssClass="submit" OnClick="btndele_Click"
                OnClientClick="return confirm( '将删除该企业所有信息，你确定要删除该企业发所有信息？？ ');" Text="删除该企业" />
            <asp:Button ID="btnshlicence" runat="server" CssClass="submit" OnClick="btnshlicence_Click"
                OnClientClick="return confirm( '你要审核通过该企业营业执照吗？ ');" Text="审核营业执照" />
            <asp:Button ID="btnshqyzt" runat="server" CssClass="submit" OnClick="btnshqyzt_Click"
                OnClientClick="return confirm( '你要认证该企业吗？同意将企业状态改为已认证 ');" Text="认证企业" />
            <asp:Button ID="btnqxrz" runat="server" CssClass="submit" OnClick="btnqxrz_Click"
                OnClientClick="return confirm( '你要取消认证该企业吗？同意将企业状态改为未认证 ');" Text="取消认证" />
            <asp:Button ID="btnphotozp" runat="server" CssClass="submit" OnClick="btnphotozp_Click"
                OnClientClick="return confirm( '你要设置该企业为图招企业吗？ ');" Text="图招企业" /></div>
        <!--page-->
        <asp:Literal ID="litpagestr" runat="server"></asp:Literal>
    </div>
    <div class="clear">
    </div>
    </form>
</body>
</html>
