<%@ page language="C#" autoeventwireup="true" inherits="WebAdmin_NoticeListInfo, LebiMall" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/tipswindown.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" language="javascript" src="js/topHead.js"></script>
    <script type="text/javascript" src="js/checked.js"></script>
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="js/tipswindown.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript">
        //展开与合并
        function resizeEditor(name,size) {   
	    var newheight = parseInt(document.getElementById(name +"___Frame").style.height, 10) + size;   
	        if(newheight >= 150) {   
		        document.getElementById(name +"___Frame").style.height = newheight + 'px';   
	        }   
	    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        
        <script>header(5,4,"images/");</script>
        <div class="blank clearfix">
        </div>
        <script type="text/javascript">
            var $=jQuery;
            var f="<%=returnValue %>";
            var i=2;
            if(f=="true"){
                tipsWindown('操作结果','text:操作成功！','250','100','true','2000','true','text');
                setInterval("fun()", 1000);
            }
            if(f=="false"){
                tipsWindown('操作结果','text:操作失败！','250','100','true','2000','true','text');
            }
            function fun() {
                if (i == 1) {
                    window.location.href="NoticeList.aspx";
                }
                i--;
            }
        </script>
        <div class="tabmenus mainwidth">
            <ul>
                <li class="current"><a href="NoticeList.aspx"><span>信息管理</span></a></li>
                <li><a href="HelpCenter.aspx"><span>信息添加</span></a></li>
                <li><a href="NoticeTypeList.aspx"><span>类别管理</span></a></li>
            </ul>
        </div>
        <div class="tab-mainbody">
            <div class="tab-mainbody2">
                <div class="functionHandleArea clearfix">
                    <input type="hidden" id="hid_checkbox" name="hid_checkbox" />
                    <input type="hidden" id="hid_page" name="hid_page" />
                    <input type="hidden" id="hid_type" name="hid_type" />
                <div style="float: left;">
                       <input type="image" title=" 保存 " onclick="updataAll();return false;" src="images/bt_app.gif"  align="absmiddle" />
                       <input type="image" name="Submit" title=" 删除 " onclick="deleteAll();return false;" src="images/bt_delete.gif" align="absmiddle" />
                       <input type="image" title=" 返回 " onclick="history.back();return false;" src="images/bt_bak.gif" align="absmiddle" />
                </div>
                <div style="float: right;">
            </div></div>
                <div id="datalist">
                <table cellspacing="0" width="100%" cellpadding="0" id="list">
                    <tr class="row">
                        <th colspan="2">
                            <%=notice.Ntitle %>
                        </th>
                    </tr>
                    <tr class="row">
                        <td class="row" colspan="2">
                            <FCKeditorV2:FCKeditor ID="fck" runat="server" ToolbarSet="Default" BasePath="js/fckeditor/" Height="300px" Width="740px">
                            </FCKeditorV2:FCKeditor>
                            <a href="javascript:resizeEditor('fck',-100)">
                                <img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('fck',150)">
                                <img src="images/bt_open.gif" border='0'></a>
                        </td>
                    </tr>
                    <tr class="row">
                        <td class="list-foot" colspan="2">
                            <input id="btnSubmit" type="button" class="btn-app" runat="server" onserverclick="btnSubmit_ServerClick" />
                        </td>
                    </tr>
                </table>

                <script type="text/javascript">tdshowm("list");</script>

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