⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aspupload.asp

📁 九酷网络个人主页系统破解版
💻 ASP
字号:
<!--#include file="../conn.asp"-->
<!--#include file="../chkuser.asp"-->
<!--#include file="../inc/user.asp"-->
<HTML>
<HEAD>
<TITLE>上传文件</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/upload.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="../js/title.js"></script>
<%
Response.Buffer = True 
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 
Set UploadProgress = Server.CreateObject("Persits.UploadProgress")
PID = "PID=" & UploadProgress.CreateProgressID()
barref = "framebar.asp?to=10&" & PID
username=Request.Cookies("9cool_username")
dir=Request("path")
If dir = "" or Instr(dir,"..")>0 then
ErrMsg("处理URL时出错,请与系统管理员联系!")
Response.end
End if
checkpath="/"&Request.Cookies("9cool_username")
if lcase(checkpath)<>lcase(left(dir,len("/"&Request.Cookies("9cool_username")))) then
ErrMsg("处理URL时出错,请与系统管理员联系!")
response.end
end if
if rshost("ifupload")=false then
ErrMsg("系统已经暂停此类型空间用户上传功能!")
response.end
end if
%>
<script language="javascript">
function stopup(){
	window.opener.focus();
	window.close();
}
function check(){
 i=1;
 issel=0;
 obj=document.MyForm;
 while(eval('obj.file'+i))
 {
  obj1=eval('obj.file'+i);
  if(obj1.value!="")
   {issel=1;break;}
  i++;
 }
 if(!issel)
 {alert('请先选择要上传的文件。');
 obj.file1.focus();
 return false;}
document.MyForm.button.value='正在上传文件...'
document.MyForm.button.disabled=true;
ShowProgress()
}
function ShowProgress()
{
  strAppVersion = navigator.appVersion;
  
  {
    if (strAppVersion.indexOf('MSIE') != -1 && strAppVersion.substr(strAppVersion.indexOf('MSIE')+5,1) > 4)
    {
      winstyle = "dialogWidth=375px; dialogHeight:150px; help:1;status:0;scroll:0";
      window.showModelessDialog('<% = barref %>&b=IE',null,winstyle);
    }
    else
    {
      window.open('<% = barref %>&b=NN','','width=370,height=155', true);
    }
  }
  return true;
}
  function   document.onkeydown(){   
  if(event.keyCode==122||event.keyCode==112){   
  window.opener=null   
  window.close();   
  }   
  } 
</script>
</HEAD>
<body oncontextmenu="return false";return true" onkeydown=return(!(event.ctrlKey||event.shiftKey||event.keyCode==122))>
<div id="Context">
  <div id="Content">
    <li>上传到:<%=dir%><br />
    </li>
</div>
	<form action="progress_upload.asp?<%=PID%>&dir=<%=dir%>" enctype="multipart/form-data" name="MyForm" method="post" onSubmit="return check();">
	<input name="filepath" type="hidden" value="<%=dir%>">
      <table width="100%" border="0" cellpadding="4" cellspacing="1" style=position:relative>
        <tr>
          <th width="180">文件列表</th>
          <th>选择文件</th>
        </tr>
<%for i=1 to rshost("filecount")%>        
        <tr>
          <td width="180" valign="top" bgcolor="#FFFFFF" style="font-family:Arial;font-weight: bold"><%=i%></td>
          <td bgcolor="#FFFFFF" id="objFiles"><input name="file<%=i%>" type="file" id="file<%=i%>"></td>
        </tr>
		<%next%>
        <tr>
          <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="button" type="submit" id="button" value=" 提 交 " />
            <input name="reset" type="reset" id="reset" value=" 重 置 " /> 
            <input type="button" value=" 关 闭 " onClick="window.close();"></td>
        </tr>
      </table>
	</form>
<div id="Content">
    <li>禁用的文件类型:<%=filetype%><br />
    </li>
    <li>单个文件限制大小:≤<%=uploadsize%>K<br />
    </li>
</div>
  <div id="Copyright">  Powered by <a href="http://www.9cool.net" target="_blank">9cool.net</a></div>
</div>
</BODY>
</HTML> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -