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

<!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 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_Desc: { required: true } 
                },
                messages: {
                    Txt_title: { required: "请填写求职信标题" },
                    Txt_Desc: { required: "请填写求职信内容" }
                }, 
                onkeyup: true,
                errorElement: "span",
                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" -->
    <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>
    <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 class="now" href="myletter.aspx">我的求职信</a></dd>
                <dd>
                    <a 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="h5px">
            </div>
            <div class="pad20">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="padding3"
                    style="margin-top: 12px;">
                    <tbody>
                        <tr style="background: #F2F2F2" class="ft_13">
                            <td width="24%" align="center">
                            </td>
                            <td align="center">
                                标题
                            </td>
                            <td width="20%" align="center">
                                创建时间
                            </td>
                            <td width="24%" align="center">
                                操作
                            </td>
                        </tr>
                        <asp:Repeater ID="repletter" runat="server" OnItemCommand="repletter_ItemCommand">
                            <ItemTemplate>
                                <tr>
                                    <td align="center">
                                        <%# Container.ItemIndex + 1%>
                                    </td>
                                    <td align="center">
                                        <a href="myletter.aspx?letterid=<%#Eval("id")%>" class="a_blue">
                                            <%#Eval("title")%></a>
                                    </td>
                                    <td align="center">
                                        <%#Eval("addtime")%>
                                    </td>
                                    <td align="center">
                                        <a href="myletter.aspx?letterid=<%#Eval("id")%>">修改</a>
                                        <asp:LinkButton ID="lkbdele" CommandName="dele" OnClientClick="return confirm('您确定删除吗?')"
                                            CommandArgument='<%#Eval("id")%>' runat="server">删除</asp:LinkButton>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                        <tr>
                            <td colspan="5" align="center" id="noletter" runat="server">
                                <b style="font-size: 20px; line-height: 60px">暂无数据</b>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <h3>
                <em><font color="#ff3300">*</font> 为必填项</em><strong>添加求职信</strong></h3>
            <div class="h5px">
            </div>
            <table width="100%" cellspacing="1" cellpadding="4" border="0" class="padding3 ft_13">
                <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>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" valign="top">
                            <font color="#ff3300">* </font>内 容：
                        </td>
                        <td width="85%">
                            <asp:TextBox ID="Txt_Desc" runat="server" Height="190px" TextMode="MultiLine" class="input250"
                                Style="height: 190px; width: 500px;"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="15%">&nbsp;
                            
                        </td>
                        <td width="85%">
                            <asp:Button ID="btnletter" CssClass="btn_set" CommandName="Add" runat="server" Text="添加求职信"
                                OnClick="btnletter_Click" />&nbsp;
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
        </div>
        <div class="clear">
        </div>
        <!--content-->
        <div class="clear">
        </div>
    </div>
    <!-- #include file="include/foot.html" -->
    </form>
</body>
</html>
