<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeFile="messageAdd.aspx.cs" Inherits="system_Message_messageAdd" %>

<!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">
    <title>在线答疑</title>
<link href="/App_Themes/SystemCSS/css/core.css" rel="stylesheet" type="text/css" />
<link href="/App_Themes/SystemCSS/css/base.css" rel="stylesheet" type="text/css" />
<script src="/App_Themes/SystemCSS/js/jquery-1.4.3.min.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript" src="/App_Themes/My97DatePicker/WdatePicker.js"></script>

<!--ckeditor编辑器--> 
<script type="text/javascript" src="/ckeditor/ckeditor_Full/ckeditor.js"></script>
<script type="text/javascript" src="/ckfinder/ckfinder.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="right" id="RightHighSet">
<div class="r_tit"><h2>在线答疑</h2></div>
<div class="t_h48"></div><!--留空48PX-->
<div class="r_bd tab_bd" id="testtab">
<div id="tabcon">

    <div class="bd">
        <div class="tit_xs">
            <h2>
                提问题
            </h2>
        </div>
        <table width="94%" border="0" cellpadding="0" cellspacing="0" class="tab_style fl">
            <tr>
                <td class="n1">
                    发问人：
                </td>
                <td class="n2" colspan="3">
                     <asp:Label ID="lab_name" runat ="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    问题主题：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_Title"  runat="server" CssClass="required"></asp:TextBox>
                    
                </td>
            </tr>
            <tr>
                <td class="n1">
                    问题内容：
                </td>
                <td class="n2" colspan="3">
                    <%--<asp:TextBox ID="txt_Content" TextMode="MultiLine" runat="server" CssClass = "ckeditor"></asp:TextBox>--%>
                    
                    <asp:TextBox name="FileContent"  style="display:none" id="FileContent"  runat="server" ></asp:TextBox>
                    <IFRAME ID="eWebEditor" src="/ewebeditor/ewebeditor.htm?id=<%=FileContent.ClientID %>&style=blue" frameborder="0" scrolling="no" width="650" height="350"></IFRAME>
                    <input type="hidden" name="content" value="" id="content" />
                    
                </td>
            </tr>
            
            <tr>
                <td class="n1">
                    提问时间：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_AddTime" runat="server" MaxLength="50" CssClass="required" onclick="WdatePicker()"></asp:TextBox>
                </td>
            </tr>
        </table>
        <div class="menu">
            <asp:Button ID="btnSave" CssClass="menu_b" runat="server" Text="保存" OnClick="btnSave_Click">
            </asp:Button>
            <input id="inputBack" type="button" class="menu_o" value="返回" onclick="history.go(-1);"/>
        </div>
    </div>

</div>

</div>

</div>

<script language="javascript">

    var MS = "IE";
    if (navigator.userAgent.indexOf("Firefox") > 0) {
        MS = "FF";
    }
    if (document.getElementById("RightHighSet") != null) {
        if (document.documentElement.clientHeight > 200) {
            document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
        }
    }

    var t = 0;

    window.onresize = function() {
        var now = new Date();
        now = now.getTime();
        if (now - t > 30) {
            if (document.getElementById("RightHighSet") != null) {
                if (document.documentElement.clientHeight > 200) {
                    document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
                }
                t = now;
            }
        }
    }
</script>

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