<!-- #include virtual="/editor\Example\NewsSystem/startup.asp" -->

<%i6PAp+wioyeIh2OVjODlM4Exrvd20Rh2NDYCADQ2AgA0NgIANAYFHTSyHeYzrxz3CItRvnWESHp5YUi0VaBfw3CDa+1NoBKVaoVOpVrUMLoWii+gVaoL5C/eEpx/jGfiJskC8z/EF+A0qA3iKdgU7zzLH+patnwmeCJJM14IdSVe3C3CG5V8/1vHdUdEXHVqQ1x1akOxFOFZ2wH0KN4YkzHADY555UCtcP4U4lXZLcIJ+DTBeeVAshfiWqwbl2OVU9h6i0bFMq4cLi01HAMqNRwDKqcM4CCuR8RgmGmAWa9p4kDKB/Y7uE/TdoVt60vFJtU+0RrrJ61gkifee5U91i6wGigrMxoYLC4aGCwuGhgsLhoYLC4aGCwuGhgsHh0vLFA4aw4RUApiOVUYOST5MIVpsE2KcFtNSXw2aA1edwttPEEbfDcWAAQxeyVAEzpDJXUIUik+HiwvHR4sLzcekCfKcItYr3uDckBDL1MOJ1s9bBFLLGdGUFRhYQ==%>

	<Script Language=JavaScript>
	// 当上传图片等文件时，往下拉框中填入图片路径，可根据实际需要更改此函数
	function doChange(objText, objDrop){
		if (!objDrop) return;
		var str = objText.value;
		var arr = str.split("|");
		var nIndex = objDrop.selectedIndex;
		objDrop.length=1;
		for (var i=0; i<arr.length; i++){
			objDrop.options[objDrop.length] = new Option(arr[i], arr[i]);
		}
		objDrop.selectedIndex = nIndex;
	}

	// 表单提交客户端检测
	function doSubmit(){
		if (document.myform.d_title.value==""){
			alert("新闻标题不能为空！");
			return false;
		}
		// getHTML()为eWebEditor自带的接口函数，功能为取编辑区的内容
		if (eWebEditor1.getHTML()==""){
			alert("新闻内容不能为空！");
			return false;
		}
		document.myform.submit();
	}
	</Script>
	
	<form action="addsave.asp" method="post" name="myform">
	<%JDjXFP6PWi8IM333w7g1CzjCXp48nO3c%>
	<input type=hidden name=d_originalfilename>
	<%Ac0V6Vd8Mk4oQAjQo5fMFAj1ZMjvGAncZvpfqEbAMr8N4EPIOcR6+0TOA/AXm3aGTbIWlm3xVNQU+STPHOwn2zS+c/0Zkz/PKKtxhmQ0Uw9uMFcPY5Zd3ik2%>
	<input type=hidden name=d_savefilename>
	<%JetHGSEFEbIoQAjQo5fMFF+cKT1iaSbMlAipItMukBGuMpIOq17uAshDsk/xcM9FiHucEP0NxjmdHeb5%>
	<input type=hidden name=d_savepathfilename onchange="doChange(this,document.myform.d_picture)">

	<table cellspacing=3 align=center>
	<tr>
		<td>新闻标题：</td>
		<td><input type="text" name="d_title" value="" size="90"></td>
	</tr>
	<tr>
		<td>标题图片：</td>
		<td><select name="d_picture" size=1><option value=''>无</option></select> 当编辑区有插入图片时，将自动填充此下拉框</td>
	</tr>
	<tr>
		<td>新闻内容：</td>
		<td>
			<%mu6FOxwbKRAtXh+URhTkUMnzXe7HilW8DEFmOEINyjGERfkx6xerUOsa2RuxNDAFBTMzKyt9EIw/zwT4F5l991urTAdrLFEPdC5GzAH9D4NM0HWeTcYEim7kSKF4jUMYThJ0JVgCZS6EF8lUj1LvI/pkvTYyBwcxMSkpZRheO2HLTvYpnA7BCbVOllCTEdsfpVz2ZdMl+B1xGXUoZD9fFHI/g3jLB8JVlUKdYWVQUGZmfn4uVQNtO1wCZz5eDWEwWApm+kmlb4NQ1Czbc5gl1BmabZFj6SSqTsRomH+Dce1Io3D7ObdT2XWcRbB+JXMjWA5gNlEPajNTAGw9VQdrWVpsbFp0QjhmGUMseh9FInwYQuhtt0uRdMYIyVfvc84X0CueX5VR7RaufMBanE2HQ+l6p0L/C7Nh3UeYd7RMIUE7ZRpAL3kcRiF/G0FFcHBGRl5eEnozXxB4M1ILazhUBW0/U898kFq2ZeEZ7kbIYukGjXyBP74B8D2+SbVHzQCOauBMvFunVclsh1TfHZN3/VG4YZRaAVcbczpWGXE6WwJiMV0MZDZaaGtdXWs=%>
			<textarea name="d_content" style="display:none"></textarea>
			<iframe ID="eWebEditor1" src="../../ewebeditor.asp?id=d_content&style=s_newssystem&originalfilename=d_originalfilename&savefilename=d_savefilename&savepathfilename=d_savepathfilename" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe>
		</td>
	</tr>
	</table>
	<p align=center><input type=button name=btnSubmit value=" 提 交 " onclick="doSubmit()"> <input type=reset name=btnReset value=" 重 填 "></p>
	</form>

	<%AbALNq9Cwwk87GB7B74ZKEN8MnU/ppYS%>

