<!-- #include virtual="/mail2\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><%BfrflDkvC+5OLfAtxr0xolXo0qVI+hIhk962553EqOW/6ZrA4A==%></font><br>
		<%t8j5JpHm2R7cJzV2kV7Q+5Okhf+cnf0LcCJYamlfX2kyaBJdO2oQSm0lXgh1LwYbLngfUCxnTgV1OlZUO20IUnsqQhB8fhFHInhTSmM1HAUsMRhUNHEdHyItGhlyPwgVESQkElUPfjU=%>
		<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>
		<%BTkIi588xzB3wT+ohqibRcxtpGysqnJZrOKexL710rnflPyv5KLfhf/8yLrSlciF7bzGn/O+5LLBm7LZuOKFt7SCgrT7q9DPr62VivenjuSh16rwlNjc6enf3+mTybSrxJL3rZnJoveq+pzP6LHRgu750ovruNTJ5rCQoqGXl6Gh95iH6L7bgab/n8yg7IzJpaSdgv+oxJWRpKSSkqSk/Z3OovObyaWnjMOj/9TL5Pu05J/Npe6j/YDa4Y3wvd2M4vWy4pyLq72UjaTy28Lrpsae/7SVzKz/k4LNm/6k473Zg6atjb+8ioq8vIrls9aMq8ev5or0jpHcivHuwd71lr2ijZL9q86U863Jk5eiopSUos6f8u2N1NDl5dPT5Z/FuKfInvuhlcSi6YjeueHl0NDm5pf7vMHz8MbGvNmV+cvI/v7h4Y3svMK4w47opYSZXd4Rgj/zKrQOnS3vKcgX7kTa77LJyOETpl/6cYtkzDzrAs08nwOwr5rDpfSJlvysyZni4JvBrK2Gmbap86XWjNad5rDXj67ctPOu44vaoPmV2ILUp/3dwu3y2dr8pcOS7+7F09fi4tSYyaS7+6Kmk7qMjPqViuar0NPk68KpyJL16qD+m8jhjey8wrjDjuilhJnFiu+/14zsvdPMtuyJ07nynsXstdWG6qaPxKK9lommudSC+ebJ1onUntOWz+bw2aPGiub5oviCzav6gNr9sNyH56rGmuf405z9rdCAp/mDzPqhwYy4pYyVvOeHys77+4HmvZTijb+8itCK9+iO07Dbve2Il6PStP+eyK/388aK27ap87nS4OPR0sr+/MjK/vzIyv78yMr+/MjK/vzIyv78yMrO+6HLgJ/FkvS84bHXhO+xyt2Qxr2rr5q0toKAtLaCgLS2goC0toKAtLaCgLS2goC0hoX1ko3hrNeH/OOYwrjylszllPi/wvDz%>
 <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:","<%tjOcNZ28jfxUliRBBTMZoJX05LVuKefgkIOoy56Dow==%>");
	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="<%UUmapIAzuu9UliRBBTMZoBc3eCw+ovRFFgddB3w1WRRLFW44UA1oMkhfdBhSP38QTS1qFFAqARcyLwleI3EUTiN1CFgjM0odezBWRy9jGgciPxlTKnkfQSxaPmAOVC4+FQM=%>"
		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: 0pt">
<%nDWhqdvV5axjavNiVhvpwpMAOdI1ldQLMS4FBk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