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

<!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>邀请模板管理-<%=config.sitename %></title>
<link rel="stylesheet" type="text/css" href="<%=config.templatetheme%>/css/member.css" />
<script language="JavaScript" src="<%=config.templatetheme%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=config.templatetheme%>/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=config.templatetheme%>/js/jquery.form.js"></script>
<script type="text/javascript">
    //验证
    $(document).ready(function () {
        $("#form1").validate({
            success: function (label) {
                label.text(" ").addClass("success")
            },
            rules: {

                Txt_title: {
                    required: true
                },
                Txt_Time: {
                    required: true
                },
                Txt_address: {
                    required: true
                },
                Txt_route: {
                    required: true
                },
                Txt_linkman: {
                    required: true
                },
                Txt_tele: {
                    required: true
                },
                Txt_CarryInformation: {
                    required: true
                }

            },
            messages: {

                Txt_title: {
                    required: "请填写模板标题"
                },
                Txt_Time: {
                    required: "请填写面试时间"
                },
                Txt_address: {
                    required: "请填写面试地点"
                },
                Txt_route: {
                    required: "请填写公交线路"
                },
                Txt_linkman: {
                    required: "请填写联系人姓名"
                },
                Txt_tele: {
                    required: "请填写联系电话"
                },
                Txt_CarryInformation: {
                    required: "请填写需要携带的资料"
                }

            },
            errorPlacement: function (error, element) {
                if (element.is(":radio")) error.appendTo(element.parent().next().next());
                else if (element.is(":checkbox")) error.appendTo(element.next());
                else error.appendTo(element.parent())
            }
        })
    });

    </script>
</head>
<body>
    <form id="form1" runat="server">
<!--head-->
 <!-- #include file="include/head.html" -->
<!--nav-->
<div class="navbox">
  <div class="navtab">
    <ul>
      <li ><a href="index.aspx">招聘中心</a></li>
      <li class="now"><a href="companyinfomodify.aspx">企业资料</a></li>
      <li><a href="account.aspx">我的账户</a></li>
      <li><a href="server_buy.aspx">增值服务</a></li>
      <li><a href="/resume" target="_blank">最新人才库</a></li>
      <li class="search"><a href="resumesearch.aspx">简历搜索</a></li>
      <li class="add"><a href="addjobs.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="addjobs.aspx">发布职位</a></dd>
      <dd><a href="joblist.aspx">职位管理</a></dd>
      <dt style="margin-top:8px" class="m2"><a href="javascript:void(0);">简历搜索</a></dt>
      <dd><a href="resumesearch.aspx">简历搜索</a></dd>
      <dd><a href="resumeseek.aspx" >简历搜索器</a></dd>
      <dt style="margin-top:8px" class="m3"><a href="javascript:void(0);">简历管理</a></dt>
      <dd><a href="receivedresume.aspx">收到的简历</a></dd>
      <dd><a href="mydownresume.aspx" >下载的简历</a></dd>
      <dd><a href="sendoutinvite.aspx">发出的邀请</a></dd> 
      <dd><a href="collectresume.aspx" >收藏的简历</a></dd>
      <dd><a href="invitetemp.aspx" class="now">邀请模板管理</a></dd>
     
    </dl>
    <div class="ad200"><img src="<%=config.templatetheme%>/images/member/ad2.gif" width="198" height="70" alt="ad2" /></div>
  </div>
  <!--right-->
  <div class="navmbs">您的位置： <a href="/">网站首页</a> > <a href="Index.aspx">招聘中心</a> > 邀请模板管理 > </div>
  <div class="mb_infoTip" id="infotip"> <em><a href="javascript:;" onclick="document.getElementById ('infotip').className='none'">关闭</a></em>
    <p> 回复求职者主动投递的简历(同意)、主动发出面试邀请时将使用这些模板。 </p>
  </div>
  <div class="mbbox_r">
    <div class="tagT">
      <ul>
       
        <li class="cu"><a href="invitetemp.aspx">邀请模板管理</a></li>
      </ul>
    </div>
    <div class="h5px"></div>
    <div class="pad20">
      <table cellspacing="0" cellpadding="0" border="0" width="100%" class="tab_blue" >
        <tbody>
          <tr>
            <td><table width="100%" cellspacing="1" cellpadding="3" border="0">
                <tbody>
                  <tr>
                    <td width="10%" align="center"><strong>序号</strong></td>
                    <td width="30%" align="center"><strong>标题</strong></td>
                    <td width="20%" align="center"><strong>创建新时间</strong></td>
                    <td align="center"><strong>操作</strong></td>
                  </tr>
                </tbody>
              </table></td>
          </tr>
          <tr id="nodata" runat="server">
            <td align="center"><b style="font-size:16px">您目前还没有创建模板</b></td>
          </tr>
          <tr>
            <td><table width="100%" cellspacing="1" cellpadding="3" border="0">
                <tbody>
                  <asp:Repeater ID="repinvitetemp" runat="server" OnItemCommand="repinvitetemp_ItemCommand">
                    <ItemTemplate>
                      <tr>
                        <td width="10%" align="center"><%# Container.ItemIndex + 1%></td>
                        <td width="30%" align="center"><%#Eval("title")%></td>
                        <td width="20%" align="center"><%#Eval("addtime")%></td>
                        <td align="center"><a href="invitetemp.aspx?mbid=<%#Eval("id")%>">修改</a>
                          <asp:LinkButton ID="lkbdele" CommandName="dele" OnClientClick="return confirm('您确定删除吗?')" CommandArgument='<%#Eval("id")%>' runat="server">删除</asp:LinkButton></td>
                      </tr>
                    </ItemTemplate>
                  </asp:Repeater>
                </tbody>
              </table></td>
          </tr>
        </tbody>
      </table>
    </div>
    <h3><strong>添加邀请模板</strong></h3>
    <table width="97%" border="0" align="center" cellpadding="4" cellspacing="1" class="padding3" >
      <tbody>
        <tr>
          <td width="15%" align="right" ><font color="#ff3300">* </font>模板标题</td>
          <td width="85%"><asp:TextBox ID="Txt_title" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="right" ><font color="#ff3300">* </font>面试时间</td>
          <td width="85%"><asp:TextBox ID="Txt_Time" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="right" ><font color="#ff3300">* </font>面试地址</td>
          <td width="85%"><asp:TextBox ID="Txt_address" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="right" ><font color="#ff3300">* </font>公交线路</td>
          <td width="85%"><asp:TextBox ID="Txt_route" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="right" ><font color="#ff3300">* </font>联系人</td>
          <td width="85%"><asp:TextBox ID="Txt_linkman" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="right" ><font color="#ff3300">* </font>联系电话</td>
          <td width="85%"><asp:TextBox ID="Txt_tele" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="right" ><font color="#ff3300">* </font>携带资料</td>
          <td width="85%"><asp:TextBox ID="Txt_CarryInformation" runat="server" CssClass="input250"></asp:TextBox></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td width="15%" >&nbsp;</td>
          <td width="85%">
              <asp:Button ID="btnadd" runat="server" CommandName="Add" CssClass="btn_set" 
                  OnClick="btnadd_Click" Text="添加求面试模板" />
            </td>
        </tr>
      </tbody>
    </table>
    <br />
    <br />
    <!--content-->
  </div>
  <div class="clear"></div>
</div>
 <!-- #include file="include/foot.html" -->
    </form>
</body>
</html>

