<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddMessage.aspx.cs" Inherits="Admin_Message_AddMessage" %>

<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>后台添加留言</title>
<script src="../js/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../ligerUI/js/plugins/ligerAccordion.js" type="text/javascript"></script>
<link href="../ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<link href="../images/style.css" rel="stylesheet" type="text/css" />
<link href="../../kindeditor/themes/default/default.css" rel="stylesheet" type="text/css" />
<script src="../../kindeditor/kindeditor-min.js" type="text/javascript"></script>
<script src="../../kindeditor/lang/zh_CN.js" type="text/javascript"></script>
<script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
    var editor;
    KindEditor.ready(function (K) {
        editor = K.create('textarea[name="ReyContent",name="Contents"]', {
            resizeType: 1,
            allowPreviewEmoticons: false,
            allowImageUpload: false,
            items: [
                'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                'insertunorderedlist', '|', 'emoticons', 'image', 'link']
        });
    });




</script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="MessageBody">
    <div>
         <table class="form_table">
            <col width="150px"><col>
            <tbody>
            <tr>
                <th>留言标题：</th>
                <td>
                    <asp:TextBox ID="id" runat="server" style="display:none;" />
                    <asp:TextBox ID="Title" runat="server" CssClass="txtInput normal required" maxlength="100" /><label>*该信息的名称标题</label></td>
            </tr>

            <tr>
                <th>留言人：</th>
                <td><asp:TextBox ID="M_user" runat="server" CssClass="txtInput normal required" maxlength="100" /></td>
            </tr>

            <tr>
                <th>留言IP：</th>
                <td>
              <asp:TextBox ID="M_Ip" name="M_Ip" CssClass="txtInput normal"  value=""  runat="server"></asp:TextBox>
                </td>
            </tr>

            <tr>
                <th>留言内容：</th>
                <td>
                   <textarea id="Contents" cols="100" style="width:88%;height:180px;visibility:hidden;" runat="server"></textarea>
                </td>
            </tr>

            <tr>
                <th>留言时间：</th>
                <td>
                    <asp:TextBox ID="AddTime" name="AddTime" CssClass="txtInput normal Wdat"  onclick="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" runat="server"></asp:TextBox>
                </td>
            </tr>

            <tr>
                <th valign="top">回复内容：</th>
                <td>
                    <textarea id="ReyContent" cols="100" rows="8" style="width:88%;height:180px;visibility:hidden;" runat="server"></textarea>
                </td>
            </tr>

            <tr>
                <th>回复时间：</th>
                <td>
                    <asp:TextBox ID="ReyTime" name="ReyTime"  CssClass="txtInput normal Wdat"  onclick="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"  runat="server"></asp:TextBox>
                </td>
            </tr>

            </tbody>
        </table>
    </div>

    <div class="foot_btn_box">
    <asp:Button ID="btnSubmit" runat="server" Text="保 存" CssClass="btnSubmit" onclick="btnSubmit_Click" />
    &nbsp;<input name="重置" type="reset" class="btnSubmit" value="重 置" />
    </div>

    </div>
    </form>
</body>
</html>
