<!-- #include virtual="/Doc_Storeroom\HTMLEditor/upload.asp" -->
<%[encoded data, 16932 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><%i6UI+j/U2qpOLfAtxr0xolXo0qVI+hIhRwpiM0kQfDFrPU4UNA==%></font><br>
		<%QJW6Ux7sIhHcJzV2kV7Q+5Okhf+cnf0Lhdetn5yqqpzHneeozp/lv5jQq/2A2vPu243qpdmSu/CAz6Ohzpj9p47ft+WJi+Sy142mv5bA6fDZxO2hwYTo6tfY7+yHyv3g5NHR56D6i8A=%>
		<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>
		<%w0XoN5XHvO53wT+ohqibRcxtpGysqnJZQw1xK1EaPVYwexNAC00wahATJ1U9eidqAlMpcBxRC10udF02Vw1qWFttbVsURD8gQEJ6ZRhIYQtOOEUfezczBgYwMAZ8JltEK30YQnYmTRhFFXMgB14+bQEWPWQEVzsmCV9/TU54eE5OGHdoB1E0bkkQcCNPA2MmSktybRBHK3p+S0t9fUtLEnIhTRx0JkpIYyxMEDskCxRbC3AiSgFMEm81DmIfUjJjDRpdDXNkRFJ7YksdNC0ESSlxEFt6I0MQfG0idBFLDFI2bElCYlBTZWVTU2UKXDljRChACWUbYX4zZR4BLjEaeVJNYn0SRCF7HEImfHhNTXt7TSFwHQJiOz8KCjw8CnAqV0gncRROeitNBmcxVg4KPz8JCXgUUy4cHykpUzZ6FiQnEREODmIDUy1XLGEHSmt2sjH+bdAcxVvhcsIAxif4Aas1AF0mJw78SbAVnmSLI9ME7SLTcOxfQHUsShtmeRNDJnYND3QuQ0JpdllGHEo5YzlyCV84YEEzWxxBDGQ1TxZ6N207SBIyLQIdNjUTSix9AAEqPDgNDTt3JktUFE1JfFVjYxV6ZQlEPzwLBC1GJ30aBU8RdCcOYgNTLVcsYQdKa3YqZQBQOGMDUjwjWQNmPFYdcSoDWjppBUlgK01SeWZJVjttFgkmOWY7cTx5IAkfNkwpZQkWTRdtIkQVbzUSXzNoCEUpdQgXPHMSQj9vSBZsIxVOLmNXSmN6UwhoJSEUFG4JUnsNYlBTZT9lGAdhPF80UgJneEw9WxBxJ0AYHCllNFlGHFY9Dww+PSUREyclERMnJRETJyUREyclERMnJRETJyUhFE4kb3AqfRtTDl44awBeJTJ/KVJEQHVbWW1vW1ltb1tZbW9bWW1vW1ltb1tZbW9baWoafWIOQzhoEwx3LVcdeSMKexdQLR8c%>
 <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:","<%n3c2EG0J0JpUliRBBTMZoJX05LVuKefgu6iD4LWoiA==%>");
	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="<%rZhpbG3+fZpUliRBBTMZoBc3eCw+ovRFpLXvtc6H66b5p9yK4r/agPrtxqrgjc2i/5/YpuKYs6WAnbvskcOm/JHHuuqRgfivyYLk9Z3RqLWQjavhmMut857ojNK85pyMp7E=%>"
		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; PADDING-TOP: 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