<%FnqyynQSFmTbUc32lTSaLu399OPD31n9ofeOxe4=%>
<%DSKHnvTPl2rwxqLshDCdhLfneOsQ5TP+Y2FY%>
<!-- #include virtual="/news/include/checkadmin.asp" -->
<!-- #include virtual="/news/include/conn.asp" -->
<script language="javascript">
	function OpenHTMLEditor(){
		window.open('./htmleditor/editor.html','','width=768,height=500,top=10,left=10');
	}
	function OpenHTMLPreview(){
		srcstr=document.all.content.value
		srcstr=srcstr.replace("[HTML]","");
		srcstr=srcstr.replace("[/HTML]","");
		PreviewPage=window.open('','_blank','');
		PreviewPage.document.write(srcstr);
	}
</script>
<%af/KNUQZw7iUvBP4qz9C/hStYnI7DM7G96WEmfmiiZ+brs6XvuiFh6yxmMizrMyA563Im7rsgZe+9ZTOqZuYrtWP9brcjfetisKi75LI6fTBjqf5nMqk9cGd8aDdh/z9TLBpk1XIc/dKk06rGdQI6DPdavhAxASFP/1XxAre67Wcy7DqhYep/JTdtfmT3r7xjInovsSP6aTUxa7wms7v+cvT5GzQVIWGoP7JVf3+2JegvZ2vrJrhu8GO6LnDmb7kg9jc6YXUuabGn5uu1I7z7Jfb76PPgv2n3M2n6obYpf+ZxKf9l9z94IjTte6FlO+134/0r9WP8u/P/f6zydi+8Z3M5fiC2L3njcbv+tOK8aHF2qf6n/+Ywrzw2ZHwqtGLovSZhua3nomiu9uAr7KSjeumy5Hq9Z7Y8afK1bjimMTv/JbGofDV2fzy9sOj+tOe5PWZyaa5xJP/rqqfn9K+8ovbvPCcjfOl3pX57sXGv6DIm/ujxMas9pHatvvMS4FuolL5dMZNokmaHuUP2TTsbclH9QO0OMxQ9Q3v7ISb+rfbgrauzZPsssiU77nAi7jvj8O+7pXT9KnBnf/oyMzi413XZYK3p8/OZPrP36anjJqeq6vmisa/74jEqLnVhOnb2ILlvpfBrpyfra623YPpvbmM7rTEjOqnysiz6ZHbt/uGl/io04Ggvd+F9b3blvvmxvT3rMSC+PqB26Pphcm0pcqa4bOSj+K8zICrvbmM7L3Ar8ef8/GK0KjijsK/rsGR6riZhOS1yKfPl/vmxvT3xcac8afal/unwYzhsMyequedjPetx5fst92N8aDd7+y2243wv9eP4+GawLjyntKvvtGB+qiJlPijw4jxr8GbsKail/euh92w5pvUvOSIiqG8lcW+ocGN6qDFlrftgNar5IzUuK6H16yz1IT55obKreeD2aL0nonlvt6V7LLchqa5xJP/rofdsOab1LzkiIqygIPZtOKf0LjgjI7kstWev+WI3qPshNywpqKX7KCHyKD4lNi4/ZGTq5mawK37hsmh+ZXJr+WCyf2wytui/JLIovKO36KQk96ktd2A+qrPhfii+6XLkaX/ksS59p7Gqpib%>
<style>
	td{font-size:13px;}
</style>
<script language="javascript">
	function doSubmit(){
		var obj=document.frmedit;

		if(obj.columnid.value==""){
			alert("请选择目录！");
			obj.columnid.focus();
			return false;
		}

		if(obj.title.value==""){
			alert("标题不能为空！");
			obj.title.focus();
			return false;
		}

		if(obj.content.value==""){
			alert("内容不能为空！");
			obj.content.focus();
			return false;
		}

		if(obj.imgname.value!=""){
			var filename;
			var fileext;
			filename=obj.imgname.value;
			fileext=filename.substr(filename.length-3,3);
			fileext=fileext.toUpperCase();
			if ((fileext != "GIF") && (fileext != "JPG")){                  
                  alert("图片格式不正确，请选择GIF或JPG图片！");
                  return false;
			}
		}
	}
</script>
<table border="0" cellspacing="1" width="600" >
  <tr>
    <td height="23"><img src="images/spacer.gif" width="10" height="1"><font style="font-size:13px;" ><b>维护新闻</b></font></td>
  </tr>
  <%TifGGX5m2awiYi7YqwVlEIPn0VBr8c0WOTgAH2I1WQg=%>
  <!--item list start-->
  <form name="frmitem" method="post">
  <input type="hidden" name="id" value="<%p1HWrxdzVr7LmeFfJlEBSNyyuQksjhiu%>">
  <input type="hidden" name="intPage" value="<%gbFmaiArNnruB8bf3c5SrtyyuQksjhiu%>">
  <input type="hidden" name="keyword" value="<%sXeawcud/0Hw1FNN+fY/gdyyuQksjhiu%>">
  <input type="hidden" name="days" value="<%c2akl+zXB5M+Pg3o8Ne1UtyyuQksjhiu%>">
  <tr bgcolor="#FFFFFF">
    <td height="23" align="center"><!-- #include virtual="/news/include/showitem.asp" --></td>
  </tr>
  </form>
  <!--item list end-->
  <%zPidJlXaxYHdEY8k5EhlftyyuQksjhiu%>
  <!--edit start-->
  <form name="frmedit" enctype="multipart/form-data" method="post" action="edit_news_ok.asp" onsubmit="javascript:return doSubmit();">
  <input type="hidden" name="action" value="edit">
  <input type="hidden" name="id" value="<%Adf/e18cWTPLmeFfJlEBSNyyuQksjhiu%>">
  <input type="hidden" name="editid" value="<%HmUr92cIBGWci/nXTB6oZ1JbfwG4SMAF%>">
  <input type="hidden" name="keyword" value="<%cTXk0E98rObw1FNN+fY/gdyyuQksjhiu%>">
  <input type="hidden" name="days" value="<%DI/Sj/lKWRg+Pg3o8Ne1UtyyuQksjhiu%>">
  <input type="hidden" name="intPage" value="<%RvABkNC4u3LuB8bf3c5SrtyyuQksjhiu%>">
  <input type="hidden" name="editpage" value="<%OohfhT8AoQFbFbVHfoyVpTROPfUkSLR1%>">
  <tr>
    <td height="23" bgcolor="#FFFFFF">
	<br>
	<table align="center" border="0" width="96%">
	  <tr>
		<td height="26">目录</td>
		<td>
		<select name="columnid">
		<option value=""></option>
		<%RrpC8zfQg+JMA8BLNRbohTidrqxZpof0ZTlfDml4FFM/Yx9UOC8ESCR3G0c6JU8fejBUBWU+G0chcg5cO2oCUDwjTAFnNRxXPG85aARMNlY8bAlDJ3ZfF3YsVw0keB5NMWMESyNuAlMueBUXLjFXGnctVkkiZE0RdyRYCm07VkkkfgRYc2VhVFRiD192Pl8JbDYfTihjSgd9HWY2UBs8ZgBZXWhoXl4IZ3gDT25zGUksZgJTM2hDVWEsVjZNHXswEQxmNlMZfSxMFzwqA0gpcxQmJRMTJSVoBEgxYQZKJjdJBGQvQ1R/fBpVKH4YSWAsQBN/I14EaXYJVzJ4FBY9JF8TRQhuPkNUfyNFFmo4XwlkeVlAa2rCLAceZSl/MlQEeW5FGX8sUAJlNFwOYn9fRm1uSBhhKkoafXxXQUVwcEZGHHk1WWtoXl5oaCVJBXwsSwdregRJKWIOGTIxVxhlM1UELWQMXyN5TVB/MkgoUwNlLg8SeChNB2MyUgkiNBsGMa93akUIchJpOV8UNShCEnc9WQhvMVUPJDIdADUlQwxxJ0EQJzoaKCsdHStHFntkBF1ZbGxaWhZ6MRhVL08lchJBLC5EFHMiBV8udB5UKXNSTzVvClA6cVgEYjFNH3guQ1A6ag9FIXAXSS13Xgd8LEhXKncSchVPMX0rdxFCPmwLFGo9URxwbwVVMHoeTzZoE0kuZQVeandYFW8PdCRCCSg1Xw9qIEQVdS4FEzwhCFgjeBRZcC1dQih4HVczYgJZcCtHC2F8XG5tW1ttAFB5MVAGYzkQQSdsRQhyEngvTxxxYAxcMwECNDQCAlQ7JF8TMi9FFXA6Xg9vNB8JPXAKagBXN2QJHjVpD1wgchVDLjMTDHEmShsfKiocHCoqZwtHPm4JRSk4RgtrIExbcHMVWidxF0ZvI08ccCxRC2Z5Blg9dxsZMitQHEoWdyFEHz4jSRl8NlIDYzgTBSo3AB+/QOB7UEkyfih0FUMmfVxBK3seVDBhBlg8Zk1bdGlcTCplGE4oeU5Tc0FCdHRCQhh9MV1vbFpabGxaIXsBTih5A1l+Nk0bZjwdADVlHFc3ZwAfYD5bEX1/VE02eixwEUcieVhFL38aUDRlBV51Y0xRZnnZJoYdNi9UGE4ScyVAGzonTR14MlYHYD5aACs9Eg86KkwDfihOHyg1FSckEhIkJH4ZQms9UmBjVVVjYy5UNF4JaTpXRiJyDVcwahtQVGFhV1cEYjJLeXpMTHoBTRtWMGAdDGg4Rx16IFEaHisrHXgoTgEFMDAGfCZbRD9zJWgOXiMhRhZrPFwNY1FSZGQ=%>
		</select>
		</td>
	  </tr>
	  <tr>
		<td height="26">标题</td>
		<td><input type="text" name="title" value="<%n9+zrsv5yncg7xZd/wL5k602u6A7paYD%>" style="width:480px;"></td>
	  </tr>
	  <tr>
		<td colspan="2" height="8"></td>
	  </tr>
	  <tr>
		<td colspan="2" align="center">
		<%hNRyGgdCfywF27LcqnSz7ylgUJZIyOi7AgE2KwAfYjVZCA==%>
		<img height="100" src="../newsimgages/<%nzL6jb5cHX36UInlTrtU5nmBO8bQzvn4%>">
		<%JMZO3HTRe6/dEY8k5EhlftyyuQksjhiu%>
		</td>
	  </tr>
	  <tr>
		<td height="26">图片</td>
		<td><input type="file" name="imgname" style="width:480px;"></td>
	  </tr>
	  <tr style="display:none;">
		<td height="26">图片位置</td>
		<td>		
		<select name="imgposition">
		<option value="0" <%K1oaZo3gvRkF27LcqnSz7zSvyy7w35DVeytMUXFzWFd8Yx5JJXRdEHwwSRl+Ml5PMXwcVzssB0sndBhEOWMOEzM=%>>默认位置</option>
		<option value="1" <%6eYR16EdilEF27LcqnSz7zSvyy7w35DVNGQDHj48FxkyLVAHazoTXjJ+B1cwfBABfzJSGXViSQVpOlYKdy1AXX0=%>>上</option>
		<option value="2" <%QbdEvxwH8xMF27LcqnSz7zSvyy7w35DVkMCnupqYs76VivegzJ20+ZXZoPCX27em2JX1vtLF7qLOnfGt0Irn+to=%>>中</option>
		<option value="3" <%p2j5+kgeS+UF27LcqnSz7zSvyy7w35DVSRl+Y0NBamZNUi94FEVsIU0BeChPA29+AE0tZgodNnoWRSl1CFI/IgI=%>>下</option>
		</select>
		</td>
	  </tr>
	  <tr>
		<td height="26">图片链接</td>
		<td><input type="text" name="imgurl" style="width:410px;" value="<%/qI/OYy93N/6UInlTrtU5qH+u7VZ/GdO%>"></td>
	  </tr>
	  <tr>
		<td colspan="2" height="8"></td>
	  </tr>
	  <tr>
		<td height="26">标记</td>
		<td>
		<input type="checkbox" name="index" <%YyI1et8Hu4cF27LcqnSz70jQqcGLCU9UvbOYh/qtwZC59JjUrf2a1rqr1Zj4s9/I47/ehO661o2msA==%> value="1">首页新闻
		<input type="checkbox" name="important" <%cmvfGKCjOUUF27LcqnSz75Cf0WHwyRADR1p6eFNddmkUQy9+Vxp2OkMTdDhURTt2Fl0xJg1RMGoAVDhjSF4=%> value="1">重点新闻
		</td>
	  </tr>
	  <tr>
		<td height="26" valign="top">内容</td>
		<td><textarea name="content" style="width:480px;height:180px;"><%NPEgULgIMliv6HFPfeU4oxfmNMwnaV8a%></textarea></td>
	  </tr>
	</table>
	<br>
	</td>
  </tr>
  <tr>
    <td height="23" colspan="2" align="center">
	<input type=button name=b1 style="width:60px;" value="编辑器" onclick="javascript:OpenHTMLEditor();">
	<input type=button name=b2 style="width:60px;" value="预览" onclick="javascript:OpenHTMLPreview();"><br>
	<input type="submit" name="btnSubmit" value="确定" style="width:60px;">
	<input type="reset" name="btnReset" value="取消" style="width:60px;">
	<input type="button" name="btnBack" value="返回" onclick="javascript:doBack();" style="width:60px;">
	</td>
  </tr>
  </form>
</table>
<!--back-->
<form name="frmback" method="post" action="list_news.asp">
<input type="hidden" name="keyword" value="<%JmtCtaN4zEjw1FNN+fY/gdyyuQksjhiu%>">
<input type="hidden" name="days" value="<%m76vwBEEJr0+Pg3o8Ne1UtyyuQksjhiu%>">
<input type="hidden" name="intPage" value="<%M435NTKb9RjuB8bf3c5SrtyyuQksjhiu%>">
</form>
<script language="javascript">
	function doBack(){
		document.frmback.submit();
	}
</script>