<%guidedisplay=1%>
<!--#include file="admin_start.asp" -->
<%
tt=year(now())&month(now())&day(now())&hour(now())&minute(now())&second(now())&int(timer)

if request("uppath")<>"" then session("FB_EM_1_SQL_uppath_"&tt)=trim(request("uppath")) else session("FB_EM_1_SQL_uppath_"&tt)=session("FB_EM_1_SQL_uppath")

if session("FB_EM_1_SQL_uppath_"&tt)="" then
	MySys.error.info="上传路径为空！"
	MySys.error.location="back"
	MySys.error.err()
end if

if instr(1,session("FB_EM_1_SQL_uppath_"&tt),".")>0 and instr(1,session("FB_EM_1_SQL_uppath_"&tt),"../")=0 then
	MySys.error.info="上传路径中不能含有“.”轻核对！"&session("FB_EM_1_SQL_uppath_"&tt)
	MySys.error.location="back"
	MySys.error.err()
end if

formName=request("formName")			'回传到上页面编辑框所在Form的Name
EditName=request("EditName")			'回传到上页面编辑框的Name
%>
<body bgcolor="#FFFFFF" text="#000000">
<script language="javascript">
<!--
function mysub()
{
		esave.style.visibility="visible";
}
-->
</script>
<form name="form1" method="post"  target="_self" action="admin_upload_handle.asp" enctype="multipart/form-data" >
  <div id="esave" style="position:absolute; top:18px; left:40px; z-index:10; visibility:hidden"> 
    <TABLE WIDTH=340 BORDER=0 CELLSPACING=0 CELLPADDING=0>
      <TR><td width=20%></td>
	<TD bgcolor=#104A7B width="60%"> 
	<TABLE WIDTH=100% height=120 BORDER=0 CELLSPACING=1 CELLPADDING=0>
	<TR> 
	   <td bgcolor=#eeeeee align=center><font color=red>正在上传文件，请稍候...</font></td>
	</tr>
	</table>
	</td><td width=20%></td>
	</tr>
	</table>
  </div>
  
  <table width="400" border="1" cellspacing="0" cellpadding="3" align="center" bordercolordark="#FFCC00" bordercolorlight="#FFCC00">
    <tr bgcolor="#FFCC00"> 
      <td height="22" align="left" valign="middle" bgcolor="#FFE479" width="400">&nbsp;文件上传 
        <input type="hidden" name="key" value="<%=tt%>">
        <input type="hidden" name="EditName" value="<%=EditName%>">
        <input type="hidden" name="FormName" value="<%=formName%>">
      </td>
    </tr>
    <tr align="center" valign="middle"> 
      <td align="center" id="upid" height="80" width="400"> 选择文件: 
        <input type="file" name="file1" style="width:300'" value=""></td>
    </tr>
    <tr align="center" valign="middle" bgcolor="#eeeeee"> 
      <td bgcolor="#FFE479" height="24" width="400"> 
        <input type="submit" name="Submit" value="· 开始上传 ·" class="button" onclick="javascript:mysub()">
      </td>
    </tr>
  </table>
</form>
<!--#include file="admin_end.asp" -->