<!-- #include virtual="/news\htmleditor/upload.asp" -->
<%[encoded data, 16940 characters]%>
		<script language="javascript">
			function checkimg(){
				var fileext;
				var my_value;
				if(document.all.file1.value!=""){
					my_value=document.all.file1.value;
					fileext=my_value.substr(my_value.length-3,3);
					fileext=fileext.toUpperCase();
					if ((fileext != "GIF") && (fileext != "JPG")){
						alert("请在图片域中输入gif或jpg图片文件名称!");
						document.all.file1.focus();
						return false;
					}
				}

				//
				if(document.all.file2.value!=""){
					my_value=document.all.file2.value;
					fileext=my_value.substr(my_value.length-3,3);
					fileext=fileext.toUpperCase();
					if ((fileext != "GIF") && (fileext != "JPG")){
						alert("请在图片域中输入gif或jpg图片文件名称!");
						document.all.file2.focus();
						return false;
					}
				}

				//
				if(document.all.file3.value!=""){
					my_value=document.all.file3.value;
					fileext=my_value.substr(my_value.length-3,3);
					fileext=fileext.toUpperCase();
					if ((fileext != "GIF") && (fileext != "JPG")){
						alert("请在图片域中输入gif或jpg图片文件名称!");
						document.all.file3.focus();
						return false;
					}
				}
			}
		</script>
		<form enctype="multipart/form-data" name="frmfile" method="post" onsubmit="javascript:return checkimg();" action="photo.asp?a=upload&acode=$$$$$$">
		<font face=arial size=2 color=000080><b>上传图片</b></font><br><br>
		<font face=arial size=1>图片大小不能超过（支持jpg、gif格式）: </font><font face=arial size=1 color=red><%CY6zGZd/USxOLfAtxr0xolXo0qVI+hIhZShAEWsyXhNJH2w2Fg==%></font><br>
		<%kORhrep/zuvcJzV2kV7Q+5Okhf+cnf0Lq/mDsbKEhLLps8mG4LHLkbb+hdOu9N3A9aPEi/e8ld6u4Y2P4LbTiaDxmcunpcqc+aOIkbjux9736sOP76rGxPn2wcKp5NPOyv//yY7Upe4=%>
		<br>
		<INPUT type="submit" name=a value="上传" style="width:80px;height:22px;">
		<INPUT type="button" name=b value="取消" style="width:80px;height:22px;" onclick="javascript:history.back();">
		</form>
		<%qTBn0g7RUO53wT+ohqibRcxtpGysqnJZNngEXiRvSCNFDmY1fjhFH2VmUiBID1IfdyZcBWkkfihbAShDIngfLS4YGC5hMUpVNTcPEG09FH47TTBqDkJGc3NFRXMJUy4xXghtNwNTOG0wYAZVcitLGHRjSBFxIk5TfCoKODsNDTs7bQIdciRBGzxlBVY6dhZTPz4HGGUyXg8LPj4ICD4+ZwdUOGkBUz89Flk5ZU5RfmEufgVXP3Q5ZxpAexdqJ0cWeG8oeAYRMScOFz5oQVhxPFwEZS4PVjZlCRhXAWQ+eSdDGTw3FyUmEBAmJhB/KUwWMV01fBBuFAtGEGt0W0RvDCc4FwhnMVQOaTdTCQ04OA4OOFQFaHcXTkp/f0lJfwVfIj1SBGE7D144cxJEI3t/Skp8fA1hJltpalxcJkMPY1FSZGR7exd2JlgiWRRyPx4Dx0SLGKVpsC6UB7d1s1KNdN5AdShTUnuJPMVg6xH+VqZxmFemBZkqNQBZP24TDGY2UwN4egFbNjccAywzaT9MFkwHfCpNFTRGLmk0eRFAOmMPQhhOPWdHWHdoQ0BmP1kIdXRfSU14eE4CUz4hYTg8CSAWFmAPEHwxSkl+cVgzUghvcDpkAVJ7F3YmWCJZFHI/HgNfEHUlTRZ2J0lWLHYTSSNoBF92L08ccDwVXjgnDBM8I04YY3xTTBNOBEkMVXxqQzlcEHxjOGIYVzFgGkBnKkYdfTBcAH1iSQZnN0oaPWMZVmA7WxYiPxYPJn0dUFRhYRt8Jw54FyUmEEoQbXIUSSpBJ3cSDTlILmUEUjVtaVwQQSwzaSNIenlLSFBkZlJQZGZSUGRmUlBkZlJQZGZSUGRmUlBUYTtRGgVfCG4meytNHnUrUEcKXCcxNQAuLBgaLiwYGi4sGBouLBgaLiwYGi4sGBouHB9vCBd7Nk0dZnkCWCJoDFZ/DmIlWGpp%>
 <SCRIPT>
 if (document.layers){
	 document.captureEvents(Event.KEYPRESS);
	 document.onkeypress =function (evt) {
		 var key = document.all ? event.keyCode : evt.which ? evt.which : evt.keyCode;
		 if (key ==13)
		 document.listform.submit();
	}
}

function findit(){
	var folder=prompt("查找文件（支持模糊查找）","");
	if ((folder!="") && (folder!=null))
	{
		document.listform.action="photo.asp?a=find&f="+folder;
		document.listform.submit();
	}
}

function submitform(action){
	var target=prompt("Enter target folder:","<%r8K58tqXcV1UliRBBTMZoJX05LVuKefgDxw3VAEcPA==%>");
	if ((target!="") && (target!=null)) {
		document.listform.action="photo.asp?a="+action+"&target="+target;
		document.listform.submit();
	}
}

function del(){
	if(confirm("删除选中的文件吗？\n注意：文件删除不能恢复！")){
		document.listform.action="photo.asp?a=del";
		document.listform.submit();
	}
}

function CheckAll(){
	for (var i=0;i<document.listform.elements.length;i++) {
		var e = document.listform.elements[i];
		if (e.name != 'allbox'){
			e.checked = document.listform.allbox.checked;
		}
	}
}

function showimg(picname){
  window.open("showimg.asp?pic_name="+picname,"photo","toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no,width=20,height=20,top=100,left=180'");
}
</SCRIPT>
<script language="vbscript">
sub sendmsg(imgname)
		dim img_name
		img_name=imgname
		img_path="<%gdgC4lY1mlBUliRBBTMZoBc3eCw+ovRFsqP5o9iR/bDvscqc9KnMluz70Lz2m9u06YnOsPSOpbOWi636h9Ww6ofRrPyHl+6535Ty44vHvqOGm733jt275Yj+msSq8Iqasac=%>"
		imglink="<IMG src="""+img_path+img_name+"""  border=""0""><br><br>"
		if not window.opener.closed  then
			dim tmpstr
			tmpstr=window.opener.parent.Composition.document.body.innerHTML
			tmpstr=imglink & tmpstr
			window.opener.parent.Composition.document.body.innerHTML=tmpstr
			window.close(true)
		else
			if msgbox("HTML编辑器已经关闭！",vbQuestion+vbYesNo,"提问")<>vbYes then
				window.close(true)
			else
				window.open "photo.asp"
			end if
		end if
end sub
</script>
<script src="ImgResize.js"></script>

<style type="text/css">
a:link {color: #000080 }
a:active {color: #0000FF }
a:visited {color: #000080 }
a:hover { color: #BB0000 }
</style>
<body onload="javascript:MM_Imgs();" STYLE="MARGIN: 0pt; PADDING-BOTTOM: 0pt; PADDING-LEFT: 0pt; PADDING-RIGHT: 0pt; PADD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