
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
BODY{
BACKGROUND-COLOR: #FFFFFF;
font-size:9pt
}
.tx1 { height: 20px;font-size: 9pt; border: 1px solid; border-color: #000000; color: #0000FF}
-->
</style>

<SCRIPT language=javascript>
function check() 
{
	var strFileName=form1.FileName.value;
	var FileType;
	if (strFileName=="")
	{
    	alert("请选择要上传的文件");
    	return false;
  	}
}
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<%
if session("admin")<>"" then
 dim fpath:fpath=request("fpath")
 if fpath="" then
   fpath="upload"
 end if
 
%>
<form action="admin_upfile.asp" method="post" name="form1" onSubmit="return check()" enctype="multipart/form-data">
  <input name="FileName" type="FILE" class="tx1" size="20">
  <input type="submit" name="Submit" value="上传" style="border:1px double rgb(88,88,88);font:9pt">
  <input name="fpath" type="hidden" id="fpath" value="<%=fpath%>">
</form>
<%
end if
%>
</body>
</html>
