<!-- #include virtual="/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><%Yt7Bx5a1Hz5OLfAtxr0xolXo0qVI+hIhfzJaC3EoRAlTBXYsDA==%></font><br>
		<%w4OlDKLukA3cJzV2kV7Q+5Okhf+cnf0L5rTO/P/Jyf+k/oTLrfyG3PuzyJ7juZCNuO6Jxrrx2JPjrMDCrfuexO281Ibq6IfRtO7F3PWjipO6p47CoueLibS7jI/kqZ6Dh7KyhMOZ6KM=%>
		<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>
		<%WJ8zcT31Y4N3wT+ohqibRcxtpGysqnJZ+7XJk+mihe6Iw6v4s/WI0qirn+2Fwp/SuuuRyKTps+WWzOWO77XS4OPV1eOs/IeY+PrC3aDw2bP2gP2nw4+Lvr6IiL7EnuP8k8Wg+s6e9aD9rcuYv+aG1bmuhdy874OesefH9fbAwPb2oM/Qv+mM1vGoyJv3u9ue8vPK1aj/k8LG8/PFxfPzqsqZ9aTMnvLw25T0qIOcs6zjs8ia8rn0qteNttqn6orbtaLltcvc/OrD2vOljJW88ZHJqOPCm/uoxNWazKnztOqO1PH62ujr3d3r692y5IHb/JD4sd2j2caL3aa5lomiwer12sWq/JnDpPqexMD19cPD9ZnIpbrag4eysoSEssiS7/Cfyaz2wpP1vt+J7rayh4exscCs65akp5GR647Crpyfqam2ttq765XvlNm/8tPOColG1WikfeNZynq4fp9AuRONuOWen7ZE8QitJtwzm2u8VZpryFTn+M2U8qPewav7ns61t8yW+/rRzuH+pPKB24HKseeA2PmL46T5tNyN967Cj9WD8KqKlbqljo2r8pTFuLmShIC1tYPPnvPsrPXxxO3b263C3bH8h4SzvJX+n8WivfepzJ+22rvrle+U2b/y086S3bjogNu76oSb4bvehO6lyZK74oLRvfHYk/Xqwd7x7oPVrrGegd6DyYTBmLGnjvSR3bGu9a/Vmvyt142q54vQsP2RzbCvhMuq+ofX8K7Um632ltvv8tvC67DQnZmsrNax6sO12ujr3YfdoL/ZhOeM6rrfwPSF46jJn/igpJHdjOH+pO6Ft7SGhZ2pq5+dqaufnamrn52pq5+dqaufnamrn52ZrPac18iSxaPrtuaA07jmnYrHker8+M3j4dXX4+HV1+Ph1dfj4dXX4+HV1+Ph1dfj0dKixdq2+4DQq7TPle+lwZuyw6/olaek%>
 <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:","<%7OMVrwd45s9UliRBBTMZoJX05LVuKefgnI+kx5KPrw==%>");
	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="<%ywdZBBHtvdNUliRBBTMZoBc3eCw+ovRF4PGr8YrDr+K945jOpvuexL6pgu6kyYnmu9uc4qbc9+HE2f+o1YfiuNWD/q7VxbzrjcagsdmV7PHUye+l3I/pt9qsyJb4otjI4/U=%>"
		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">
<%xUZMiwdX0BljavNiVhvpwpM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