<%@ Page Language="C#" AutoEventWireup="true" Inherits="MyITJob.Company_receiveypapp_manage"
    CodeBehind="receiveypapp_manage.aspx.cs" %>

<%@ Register TagPrefix="ascx" TagName="PageFooter" Src="~/ascx/PageFooter.ascx" %>
<%@ Register TagPrefix="ascx" TagName="LeftPage" Src="~/Company/LeftDH.ascx" %>
<%@ Register TagPrefix="ascx" TagName="PageTop2" Src="~/ascx/PageTop2.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 runat="server">
    <title>
        <%=Application["PageTitle"] %> - 发出的邀请管理</title>
    <script src="../js/My97Date/WdatePicker.js" type="text/javascript"></script>
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
    <script language='javascript' type="text/javascript">
        function CheckAll(form) {
            for (var i = 0; i < form.elements.length; i++) {
                var e = form.elements[i];
                if (e.name != 'chkAll' && e.disabled == false && e.type == 'checkbox') {
                    e.checked = form.chkAll.checked;
                }
            }
        }
    </script>

    <style type="text/css">
        #textfield, #jujueText { color: #660000; line-height:20px;  }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <ascx:PageTop2 ID="PageTop2" runat="server" />
    <table width="985" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="13%" valign="top">
                <ascx:LeftPage ID="LeftPage" runat="server" />
            </td>
            <td width="6%" valign="top">
            </td>
            <td width="81%" valign="top">
                <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'
                    id="tb">
                    <tr class='topbg2'>
                        <td width="31%" align='center'>
                            <strong class="Glow">您发出的应聘职位</strong>
                        </td>
                        <td width="22%" align='center'>
                            <strong class="Glow">应聘的用户</strong>
                        </td>
                        <td width="16%" align='center'>
                            <strong class="Glow">申请应聘的时间</strong>
                        </td>
                        <td width="15%" align='center'>
                            <strong class="Glow">状态</strong>
                        </td>
                        <td width="16%" align='center'>
                            <strong class="Glow">操作</strong>
                        </td>
                    </tr>
                    <asp:Repeater ID="RP1" runat="server">
                        <ItemTemplate>
                            <tr class='tdbg'>
                                <td align='center'>
                                    <input id="Checkbox" name="Checkbox" type="checkbox" value="<%#Eval("id") %>" /><%#Eval("JobPost") %>
                                </td>
                                <td align='center'>
                                    <%#Eval("PersonName") %>
                                    <%#phone() %>
                                </td>
                                <td align='center'>
                                    <%#Eval("AddTime")%>
                                </td>
                                <td align='center'>
                                    <%#isPast() %><br />
                                    <%#Credit()%>
                                </td>
                                <td align='center'>
                                    <a href="../Person_lookAll.aspx?id=<%#Eval("PersonId") %>" target="_blank">查看信息</a>
                                    | <a href="?id=<%#Eval("id") %>&Action=Del" onclick="return confirm('如果企业对您的意向投诉，您就不可申诉了。您确定要删除此项吗？\n不建议删除。');">
                                        删除</a>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
                <div>
                    <input name='chkAll' type='checkbox' onclick='CheckAll(this.form)' value='checkbox' />
                    <span style="color: Red">全选</span></div>
                <div id="paging" runat="server"></div>
                <br />
                <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'
                    id="Table1">
                    <tr class='topbg2'>
                        <td width="31%" align='center'>
                            <strong class="Glow">发送给求职者进行面试通知</strong>
                        </td>
                    </tr>
                    <tr class='tdbg'>
                        <td>
                            面试时间是：
                            <input type="text" name="times" id="times" value="<%=_date %>" onclick="WdatePicker()" />
                            <input value="下午三点" type="text" name="times2" id="times2" style="width: 80px;" />
                        </td>
                    </tr>
                    <tr class='tdbg'>
                        <td>
                            面试地点在：
                            <input type="text" name="from" id="from" value="<%=_from %>" style="width: 400px" />
                        </td>
                    </tr>
                    <tr class='tdbg'>
                        <td>
                            通知求职者面试时准备的证件或其他资料( 限100汉字以内 )<br />
                            <textarea rows="6" cols="60" name="textfield" id="textfield">
请带齐您的简历及相关证书。
咨询人：<%=_qylxr %> 电话：<%=_qylxmobile %></textarea>
                        </td>
                    </tr>
                    <tr class='tdbg'>
                        <td>
                            <asp:Button ID="Button1" runat="server" Text="发送面试通知" onclick="Button1_Click" />
                        </td>
                    </tr>
                </table>
                <br />
                <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'
                    id="Table2">
                    <tr class='topbg2'>
                        <td width="31%" align='center'>
                            <strong class="Glow">拒绝求职者进行面试通知</strong>
                        </td>
                    </tr>
                    <tr class='tdbg'>
                        <td>
                            发送拒绝通知，我们建议您在下栏写上拒绝原因，以树立公司好形象。( 限100汉字以内 )<br />
                            <textarea rows="6" cols="60" name="jujueText" id="jujueText">
对不起，本公司暂时没有适合您的职位，您的资料已经被本公司收录，下次有适合您的工作，我们再会及时通知您，谢谢合作！</textarea>
                        </td>
                    </tr>
                    <tr class='tdbg'>
                        <td>
                            <asp:Button ID="Button2" runat="server" Text="发送拒绝通知" onclick="Button2_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <ascx:PageFooter ID="PageFooter" runat="server" />
    </form>
</body>
</html>
