<%@ page language="C#" validaterequest="false" autoeventwireup="true" inherits="admin_newsE, App_Web_5fvwns4r" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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>
    <title>上海和尘网站系统管理</title>
<link rel="stylesheet" href="style/css.css" type="text/css" /> 
<link rel="stylesheet" href="style/page.css" type="text/css" /> 
<script language="javascript" type="text/javascript" src="../js.js"></script> 
<script language="javascript" type="text/javascript" src="../calendar.js"></script>

		<script charset="utf-8" src="editor9/kindeditor-min.js"></script>
		<script charset="utf-8" src="editor9/lang/zh_CN.js"></script>
		<script>
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
				    uploadJson : 'editor9/asp/upload_json.asp',
				    fileManagerJson : 'editor9/asp/file_manager_json.asp',
				    allowFileManager : true
				});
			});
		</script>

<script language="JavaScript">

function CheckForm()
{
 
 if(document.form1.title.value<=0) {
	document.form1.title.focus();
    alert("名称！");
	return false;
  }
 
 
 if(document.form1.id1.value<=0) {
	document.form1.id1.focus();
    alert("分类！");
	return false;
  }

 
}

</script>

</head>
<body>
    <form id="form1" runat="server">


<table width="100%" border="0" cellpadding="0" cellspacing="0" class="map">
  <tr>
    <td>新闻管理</td>
    <td align="right"><a href="news.aspx" class="sixlink">新闻管理</a> <a href="newsE.aspx" class="sixlink">添加新闻</a></td>
  </tr>
</table>

<table width="98%" border="0" cellpadding="0" cellspacing="0" class="title" align="center">
  <tr>
    <td>添加内容</td>
    <td align="right"><span class="red">*</span>号为必填项</td>
  </tr>
</table>


<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="add">
    <tr>
      <td width="150" align="right">名称：</td>
      <td align="left">
      <input runat="server" name="title" maxlength="50" type="text" class="input" id="title" style="width:300px;" />
	  
      </td>
    </tr>

    <tr>
      <td width="150" align="right">分类：</td>
      <td align="left"><label>
    	
	 <asp:DropDownList ID="Id1" runat="server"></asp:DropDownList>
	    
      *</label></td>
    </tr>
    <tr>
      <td align="right">排序：</td>
      <td align="left"><label>
        <input runat="server" name="ordernumber" type="text" class="input" value="0" id="ordernumber" maxlength="5" style="width:50px;" onKeyUp="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')"/>  
        *</label>
		
&nbsp;&nbsp; 时间 <input runat="server" type="text" size="12" id="addtime" name="addtime" value="" onfocus="setday(this)">
		&nbsp;&nbsp;<input runat="server" type="checkbox" name="flag" id="flag" value="1">首页
		
		</td>
    </tr>
    
    <tr>
      <td width="150" align="right">图片：</td>
      <td align="left"><label>
      <input runat="server" name="img1" maxlength="50" type="text" class="input" id="img1" style="width:400px;" />
      </label>

<input type="button" name="Submit2" class="go-wenbenkuang" value="上传图片" onClick="window.open('_upload_flash.asp?formname=form1&editname=img1&uppath=../upload&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">

      </td>
    </tr>
	
    <tr>
      <td align="right">内容：</td>
      <td align="left">
<textarea runat="server" id="content" name="content" rows="8" style="width:800px;height:350px;visibility:hidden;"></textarea> 
      
       <span>WORD编辑器，可以自行编辑文章内容样式</span>
       </td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td align="left" valign="middle"><label>
        <asp:Button ID="Btn" runat="server" Text="确定" CssClass="btn" OnClick="Btn_Click" />
        <input name="button1" type="reset" class="btn" id="button1" value="清除" />
      </label></td>
    </tr>
  </table>
   

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="page">
<tr>
        <td  align="right">
        
			
        </td>
    </tr>
   
</table>

 
 
<!--#include file="footer.htm"-->


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