<%@ page language="C#" autoeventwireup="true" inherits="general_SystemManage_NewsAdd, CrmCommand" %>

<%@ 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 runat="server">
    <title>无标题页</title>
     <script  src="../../Javascript/Trim.js"  language=javascript></script>
    <script>

   function formCheck()
   {
          if(TrimStr(document.getElementById("TxtSubjectName").value) == "")
          {
              alert('标题不能为空');
              return false;
          }
          
   }
    </script>
</head>
<body class ="bodycolor" leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <table class="small" cellSpacing="1" cellPadding="1"  border="0" bgcolor=#000000 style="width: 765px">
            <tr>
                	<td class="TableData" >
                                         <table style="width: 100%" cellspacing="0" cellpadding="0">
						<tr>
							<td style="width: 60px">新闻标题:</td>
							<td>
                    <asp:TextBox ID="TxtSubjectName" runat="server" CssClass="BigInput" Width="180px"></asp:TextBox>
                    		</td>
						</tr>
	</table>

                    </td>
</tr>
                 <tr>
                <td class="TableData" style="height: 247px">详细内容:<fckeditorv2:fckeditor id="FCKeditor1"  height="300" BasePath = "../../FCK/"  runat="server"></fckeditorv2:fckeditor></td></tr>
            <tr>
                <td class="TableData"  align="center">
                    <asp:Button ID="Button7" OnClientClick="return formCheck();" runat="server" CssClass="BigButton" Height="26px" OnClick="Button7_Click"
                        Text="发  布" Width="60px" />&nbsp;&nbsp;

                    <input id="Reset1" class="BigButton" style="height: 25px" type="reset" Width="60px" value="重  置" /></td>
            </tr>
                </table>
    </form>
</body>
</html>
