<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sendresumelist.aspx.cs"
    Inherits="YCHR.Web.person.sendresumelist" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>简历发出记录＿个人求职中心_易辰人才招聘系统</title>
    <link rel="stylesheet" type="text/css" href="<%=config.templatetheme%>/css/member.css" />
    <script language="JavaScript" src="<%=config.templatetheme%>/js/jquery.js"></script> 
    <script language="JavaScript" src="<%=config.templatetheme%>/js/jquery.validate.min.js"></script>
    <script language="JavaScript" src="<%=config.templatetheme%>/js/jquery.form.js"></script>
        <script type="text/javascript" src="<%=config.templatetheme%>/js/core.com.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <!--head-->
    <!-- #include file="include/head.html" -->
    <!--nav-->
    <div class="navbox">
        <div class="navtab">
            <ul>
                <li  class="now"><a href="index.aspx">求职中心</a></li>
                <li><a href="PersonInfoModify.aspx">个人资料</a></li>
                <li><a  target="_blank" href="/news">职场资讯</a></li>
                <li><a target="_blank" href="/about/help.html">帮助中心</a></li>
                <li class="search"><a href="/search/jobsearch.aspx">职位搜索</a></li>
                <li class="add"><a href="resumeList.aspx">发布简历</a></li>
            </ul>
        </div>
    </div>
    <div class="clear">
    </div>
    <!--content-->
    <div class="box">
        <!--menu-->
        <div class="mb_menu">
            <dl>
                <dt class="m1"><a href="javascript:void(0);">我的简历</a></dt>
                <dd>
                    <a href="resumeList.aspx">简历管理</a></dd>
                <dd>
                    <a href="myletter.aspx">我的求职信</a></dd>
                <dd>
                    <a class="now" href="sendresumelist.aspx">外发简历</a></dd>
                <dd>
                    <a href="privateset.aspx">隐私设置</a></dd>
                <dt style="margin-top: 8px" class="m2"><a href="javascript:void(0);">职位搜索</a></dt>
                <dd>
                    <a href="/search/jobsearch.aspx"  target="_blank">职位搜索</a></dd>
                <dt style="margin-top: 8px" class="m3"><a href="javascript:void(0);">我的工作</a></dt>
                <dd class="w98">
                    <a href="applylist.aspx">求职申请</a></dd>
                <dd class="w98">
                    <a href="JobInviteList.aspx">面试通知</a></dd>
                <dd>
                   <a href="attentioncompanylist.aspx">关注的企业</a></dd>
                <dd>
                    <a href="mycollectjob.aspx">搜藏的职位</a></dd>
               
                <dd class="w98">
                    <a href="whodownresume.aspx">谁下载了我的简历</a></dd>
            </dl>
        </div>
        <!--right-->
        <div class="navmbs">
            您的位置： <a href="/">首页</a> > <a href="Index.aspx">求职中心</a> > <a href="resumeList.aspx">
                我的简历</a> > 简历发出记录</div>
        <div class="mb_infoTip" id="infotip">
            <em><a href="javascript:;" onclick="document.getElementById ('infotip').className='none'">
                关闭</a></em>
            <p>
                ◇ 一封个人求职信，让招聘企业了解您胜任这个职位的原因，让他们感受<i class="ft_red">您的诚恳</i>和热情!</p>
        </div>
        <div class="mbbox_r">
            <div class="tableTitle">
                <div class="tableTxtR">
                    <a href="javascript:void(0)" class="btn8" id="btnsendresume">外发简历</a></div>
                <div class="clear">
                </div>
            </div>
            <div class="h5px">
            </div>
            <div class="pad10">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="padding3">
                    <tbody>
                        <tr style="background: #F2F2F2" class="ft_13">
                            <td width="4%">
                                &nbsp;
                            </td>
                            <td width="11%" align="center">
                                职位名称
                            </td>
                            <td width="18%" align="center">
                                企业名称
                            </td>
                            <td width="22%" align="center">
                                企业邮件
                            </td>
                            <td width="11%" align="center">
                               
                            </td>
                            <td width="11%" align="center">
                              
                            </td>
                            <td width="22%" align="center">
                                发送时间
                            </td>
                          
                        </tr>
                        <asp:Repeater ID="replist" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <input type="checkbox" id="chksendid" name="chksendid" value="<%#Eval("id")%>" /> 
                                    </td>
                                    <td align="center">
                                        <%#Eval("jobname") %>
                                    </td>
                                    <td align="center">
                                        <a href="#" class="a_blue">
                                            <%#Eval("companyname") %></a>
                                    </td>
                                    <td align="center">
                                        <%#Eval("companyemail")%>
                                    </td>
                                    <td align="center">
                                        <%#getresumename(Eval("resumied"))%>
                                    </td>
                                    <td align="center">
                                        <%#getlettername(Eval("letterid"))%>
                                    </td>
                                    <td align="center">
                                        <%#getdatestr(Eval("addtime"))%>
                                    </td>
                                  
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                        <tr id="repnodata" runat="server">
                            <td colspan="8" align="center">
                                <b style="font-size: 20px; line-height: 60px">暂无数据</b>
                                
                            </td>
                        </tr>
                        <tr>
                            <td colspan="8">
                                <div class="h5px">
                                </div>
                                <div class="left">
                                     <input type="checkbox" onclick="checkall(this,'#form1');" name="chkBoxAll" id="chkBoxAll" />
                                    全选 <a id="btndele" href="javascript:;" class="btn_hui">直接删除</a>
                                </div>
                                <div class="page">
                                    共有 <span class="ft_zi">
                                        <%=recordCount %>
                                    </span>份
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <br />
        </div>
        <div class="clear">
        </div>
        <!--content-->
        <div class="clear">
        </div>
    </div>
    <script type="text/javascript">
        $("#btnsendresume").click(function () { 
            var url = "/person/sendresume.aspx";
            $.ajax({
                type: 'get',
                url: url,
                data: '',
                dataType: "html",
                success: function (res) {
                    POPS["sendresume"] = App.html(res, "外发简历", 700, 600);
                }
            });
        });
        /*发送简历*/
        function post_sendresume() {
            $("#form_sendresume").find("input[type='submit']").attr("disabled", true);
            App.form($("#form_sendresume")[0], function (res) {
                if (res.error == 1)
                {
                    alert(res.message);
                    return;
                }
                else
                {
                    alert(res.content);
                }
                POPS["sendresume"].close();
            });
            return false;

        }
        $("#btndele").click(function () {

            if (!checkBoxSel('chksendid', '.padding3'))
            {
                MessageBox.show("请选择简历", 2, 500);
                return;
            }

            var sendidstr = $(".padding3").find("input[name=chksendid]:checked").fieldSerialize();
            var url = 'Ajax_person.aspx?type=delesendresumeid&' + sendidstr;
            App.get(url, function (res) {
                if (res.error == 1)
                {
                    MessageBox.show("删除失败", 2, 500);

                }
                else
                    MessageBox.show("删除成功", 1, 500); App.redirect("sendresumelist.aspx");
            });
        });
    </script>

    <!-- #include file="include/foot.html" -->
    </form>
</body>
</html>
