
<%
ServerName1=Request("ServerName1")
ServerName2=Cstr(Request.ServerVariables("SERVER_NAME"))
If Mid(ServerName1,8,len(ServerName2))<>ServerName2 Then
    Response.Write "路径有误，禁止从网站外部提交表单！"
     response.end

End if

byshopuppath=request("byshopuppath")&"/"		'文件上传路径
picclass=request("picclass")
filelx=request("filelx")				'文件上传类型
formName=request("formName")			'回传到上页面编辑框所在Form的Name
EditName=request("EditName")			'回传到上页面编辑框的Name
%>
<html>
<head>
<title>图片上传</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script language="javascript">
<!--
function mysub()
{
		esave.style.visibility="visible";
}
-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="up_byshopPicPro2.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>
  <div align="center">
 <table cellpadding="3" cellspacing="1" border="1" width=400 class="tableBorder" style="border-collapse: collapse" bordercolor="#C0C0C0">
    <tr > 
      <th height="22" align="left"  width="400" bgcolor="#E8F1FF">&nbsp;图片上传 </th>
        <input type="hidden" name="byshopfilepath" value="<%=byshopuppath%>">
        <input type="hidden" name="filelx" value="<%=filelx%>">
         <input type="hidden" name="picclass" value="<%=picclass%>">
        <input type="hidden" name="EditName" value="<%=EditName%>">
        <input type="hidden" name="FormName" value="<%=formName%>">
        <input type="hidden" name="ServerName1" value="<%=ServerName1%>">
        <input type="hidden" name="act" value="uploadfile">
      </td>
    </tr>
    <tr align="center" valign="middle"> 
      <td align="left" id="upid" height="80" width="400" class="forumRowHighlight" bgcolor="#F7F7F7" > 选择文件: 
        <input type="file" name="file1" style="width:300'" class="tx1" value="">
      </td>
    </tr>
    <tr align="center" valign="middle" > 
      <td  height="24" width="400" class="forumRowHighlight" bgcolor="#F7F7F7" > 
        <input type="submit" name="Submit" value="开始上传" class="button" onclick="javascript:mysub()">
      </td>
    </tr>
  </table>
	</div>
</form>
</body>
</html>
 
  