
<!-- #include file="Inc/Head.asp" -->
<!--#include file="upload_5xsoft.inc"-->
<%
set upload=new upload_5xsoft
set file=upload.file("logo")
if lcase(getextendname(file.filename))<>"jpg" and lcase(getextendname(file.filename))<>"gif" then
  response.Write "<script language=javascript> alert('请上传JPG/JIF文件');this.document.location='upload.asp';</script>"
else
  whilefile="UploadFiles/"&getfilename()&"."&getextendname(file.filename)
  file.saveas server.MapPath("../"&whilefile)
  response.Write "<script language=javascript>alert('Logo上传成功!');parent.document.myform.image.value='"&whilefile&"';</script>"
end if  
%>

<!-- #include file="Inc/Foot.asp" -->
