<!--#include file="tc711inc.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>上传组件</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #0000FF;
	text-decoration: none;
}
a:visited {
	color: #0000FF;
	text-decoration: none;
}
a:hover {
	color: #0000FF;
	text-decoration: none;
}
a:active {
	color: #0000FF;
	text-decoration: none;
}
-->
</style></head>

<body>
<%if request("scwj")<>"" then
response.write("480元起企业网站建设<br>QQ:187367103<BR> 网址：http://www.tc711.com<BR> 邮箱：myasp2008@qq.com")
sMapFolderName = Server.MapPath(request("scwj"))
dim fso
set fso=server.createobject("scripting.filesystemobject") 
If FSO.fileExists(sMapFolderName) = true Then
FSO.deletefile(sMapFolderName)
response.write("<script>alert('文件已删除');window.opener.document."&request("scwjtext")&".value='';window.close();</script>")
else
response.write("<script>alert('文件不存在');window.opener.document."&request("scwjtext")&".value='';window.close();</script>")
end if
else%><form name="form1" method="post" action="tc711upfile.asp" enctype="multipart/form-data">

<input name="file" type=file onClick="sysz.style.display='none';" style= "margin-left:-160px!important;margin-left:-152px; "><input name="uploadform" type="hidden" value="<%=request("uploadform")%>" /><input name="uploadlj" type="hidden" value="<%=request("uploadlj")%>" /><input name="uploadtitle" type="hidden" value="<%=request("uploadtitle")%>" /><input name="uploadgm" type="HIDDEN" value="1" checked="checked"  /><input name="uploadsy" type="HIDDEN" value="0" checked  onClick="sysz.style.display='none';">
<input type=submit name="submit" value=" 上 传 " onClick="if(file.value==''){alert('还没有指定文件');return false}">	 

<script language="javascript">
function xs(me,top,left) { 
sysz.style.top=top+"px";
sysz.style.left=left+"px";
sysz.style.display='';
if(me==2){
wz.style.display='';
tu.style.display='none';
}else{
wz.style.display='none';
tu.style.display='';
}
}
</script>
</form>
<%end if%>
</body>
</html>
