📄 vip-up.aspx
字号:
ul1.innerHTML="正在重命名文件夹,等待服务器回应";
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=cm&wenjianjia='+wenjianjia+'&name='+escape(s),ul1);
}
}
function yidong(duixiang,to,type)//移动文件或文件夹
{
ul1.innerHTML="正在移动,等待服务器回应";
if(type=='f')//移动文件
{
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=movefile&file='+duixiang+'&wenjianjia='+to+'&mulu='+mulu,ul1);
}
if(type=='w')//移动文件夹
{
if(duixiang==to)
{
alert('无法将文件夹移到自已下面');
return ;
}
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=movefolder&folder='+duixiang+'&wenjianjia='+to+'&mulu='+mulu,ul1);
}
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=rongliang',rongliang);
}
function d()//删除文件或文件夹
{
if(xuanzhong.type=='f')//删除文件
{
if(confirm('确定要删除此文件吗?删除后不能恢复文件'))
{
ul1.innerHTML="正在删除文件,等等服务器回应";
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=df&file='+xuanzhong.id+'&mulu='+mulu,ul1);
}
}
if(xuanzhong.type=='w')//删除文件夹
{
if(confirm('确定要删除文件夹吗?删除文件夹会使文件夹内的文件被移入主目录'))
{
ul1.innerHTML="正在删除文件夹,等等服务器回应";
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=dw&wenjianjia='+xuanzhong.id+'&mulu='+mulu,ul1);
}
}
makeRequest('<% Response.Write(class1.up); %>user-file.aspx?caozuo=rongliang',rongliang);
}
function getp()//得到进度条
{
if(kuangjia==1)return;
var url='<% Response.Write(class1.up); %>p.aspx?UploadID1=<% Response.Write(UploadID.Value.Trim()); %>&mode=0';
makeRequest(url,p);
}
function Drives_onload()//当我的网盘被调用时发生
{
mode='Drives';
folderpath.open('zhu','<% Response.Write(userid); %>');
}
function Network_onload()//当网上邻居被调用时发生
{
mode='Network';
folderpath.open('zhu','网上邻居');
}
</script>
<!----------------------------以上为脚本区,请务改动----------------->
</head>
<body style =" margin : 0px ; width : 100% ; height : 100% ; color : #ffffff ; font-size : 16px" onclick="caidan.style.display='none';" onmouseup ="tuodong.style.display='none';">
<div id="chuangti" style="position:absolute ;left:expression((document.body.clientWidth-this.offsetWidth)/2);top:expression((document.body.clientHeight-this.offsetHeight)/2); width : 500px ; height : 400px ; text-align : center ; z-index : 7 ; margin-top : 5px ; display : none;" onmousemove="window.event.cancelBubble=true;">
<table border="0" cellpadding="0" cellspacing="0" style=" width : expression(chuangti.offsetWidth-20) ; height : expression(chuangti.offsetHeight-20) ;">
<tr style=" height : 20px">
<td style=" color : #000000">
<table border="0" cellpadding="0" cellspacing="0" style =" width : 100%">
<tr>
<td style=" text-align : left ; vertical-align : top ; color : #000000" id="chuangti_biaoti">标题</td>
<td style=" text-align :right ; vertical-align : top"><img src="images/guanbi.gif" alt="" onclick="yingyong_close()"/></td>
</tr>
</table>
</td>
</tr>
<tr><td style="background-color : #f8f8f8 ; border-right: #8f9b94 thin solid; border-top: #8f9b94 thin solid; border-left: #8f9b94 thin solid; border-bottom: #8f9b94 thin solid; color : #000000" id="chuangti_neirong"></td></tr>
</table>
</div>
<div id="chuangti_beijiang" style="position:absolute ;left:expression((document.body.clientWidth-this.offsetWidth)/2);top:expression((document.body.clientHeight-this.offsetHeight)/2); width : 500px ; height : 400px ; background-color : #ffffff ; z-index :6 ;filter: Alpha(Opacity=20, Style=0); border-right: #000000 thin solid; border-top: #000000 thin solid; border-left: #000000 thin solid; border-bottom: #000000 thin solid; display : none"></div>
<div id="zhegai" style=" position : absolute ; width : 100% ; height : 100% ; top : 0px ; left : 0px ; display : none ;filter: Alpha(Opacity=0, Style=0); z-index : 5 ; background-color : #ffffff" onmousemove="window.event.cancelBubble=true;" onclick="window.event.cancelBubble=true;" onmouseup="window.event.cancelBubble=true;"></div>
<div id="caidan" style ="position:absolute ; width : 100px ; z-index : 4 ; display : none ; background-color : #ffffff ; border : #000000 thin solid; color : #000000"></div>
<div id="tuodong" style ="position:absolute; width : 100px ; z-index : 3 ; filter: Alpha(Opacity=50, Style=0); width : 80px ; text-align : center ;"></div>
<div id="ad" style="position:absolute ;width : 100% ; height : 100% ; z-index : 1">
<table style =" width : 100% ; height : 100%" border ="0" cellpadding ="0" cellspacing ="0">
<tr style =" background-image : url(images/top_back.jpg) ; height :32px ; border : #2e8cb0 thin solid;">
<td style =" vertical-align : middle" id="gongjutiao"></td>
<td valign ="middle"><div id="rongliang" style=" width : 190px ; height : 22px ; border : #000000 thin solid; background-color: transparent;"></div></td>
</tr>
<tr>
<td style =" text-align : left ; vertical-align : top" onmousedown="xuanzhong.speak(null,null,null,null);caidan.style.display='none';" oncontextmenu=" if (document.all) window.event.returnValue = false; else event.preventDefault();chanshengcaidan();" onmousemove="if(event.button==1 &&(xuanzhong.type=='f'||xuanzhong.type=='w')){tuodong.style.left=event.x-40;tuodong.style.top=event.y;tuodong.style.display='block';tuodong.innerHTML=xuanzhong.src.innerHTML;body.requestFocus();}">
<div style =" background-image : url(images/top_back1.jpg) ; height : 24px ; color : #668aae ; font-size : 16px" id="Address_Bar"></div>
<div style=" width : 100% ; height : 100% ; overflow:auto ; text-align : left">
<ul id="ul1"></ul><script type="text/javascript">Drives_onload();</script>
</div>
</td>
<td style =" width : 200px ; text-align : left ; vertical-align : top ;">
<div style="position:absolute ; width : 200px ; text-align : center ; z-index : 2">
最大可上传<% Response.Write(maxRequestLength());%>文件
<div id="fileinput" runat ="server">
<form id="form1" runat="server" onsubmit ="return ToggleVisibility('P','on');">
<div id="td1">
<input id="UploadID" type="hidden" runat ="server"/><asp:FileUpload ID="AttachFile" runat="server" style =" width : 193px"/><div style =" color :#ff0000 ; display : none" id="div1">您还没选择文件</div></div>
<table border ="0" cellpadding ="0" cellspacing ="0">
<tr><td></td><td><input id="Checkbox1" type="checkbox" onclick ="c_click();"/>设置下载密码</td></tr>
<tr id="tr1" style ="display : none;"><td>密码</td><td><asp:TextBox ID="TextBox3" runat="server" TextMode="Password" Width="140px" MaxLength="16"></asp:TextBox></td></tr>
<tr id="tr2" style ="display : none;"><td></td><td style="color: #505255">输入17位密码</td></tr>
<tr id="tr3" style ="display : none;">
<td style="height: 25px">再密码</td>
<td id="td2" style="height: 25px"><asp:TextBox ID="TextBox4" runat="server" TextMode="Password" Width="140px" MaxLength="16"></asp:TextBox><div id="div2" style =" color :#ff0000 ; display : none;">两次密码必须相同</div></td>
</tr>
<tr id="tr4" style ="display : none;"><td></td><td style="color: #505255">确认一次密码</td></tr>
</table>
<asp:Button ID="Upload" runat="server" Text="上传" style="border-right: #4a95c9 thin solid; border-top: #4a95c9 thin solid; border-left: #4a95c9 thin solid; width: 58px; color: #ffffff; border-bottom: #4a95c9 thin solid; background-color: transparent" OnClick="Upload_Click" />
</form>
</div>
<div id="p" style=" width : 193px ; height : 22px ; display : none ; text-align : left ;border-right: #75b8af thin solid; border-top: #75b8af thin solid; border-left: #75b8af thin solid; border-bottom: #75b8af thin solid;"></div>
<div id="quxiao" style=" width : 193 ; display : none">
鼠标移到进度条<br />
查看具体进度信息<br />
<input type="button" id="Button1" style=" border : #4a95c9 thin solid;width: 58px; color: #ffffff;background-color: transparent ;" onclick="made=0;window.location=window.location;" value ="取消"/>
</div>
<div style =" width : 100% ; text-align : left ; ">
其它位置
<table border ="0" cellpadding ="0" cellspacing ="0">
<tr style =" height : 5px"><td></td><td></td></tr>
<tr>
<td style =" width : 30px"> </td>
<td>
<a href="#" style=" color : #ffffff" onclick="Drives_onload();">我的网盘</a><br />
<a href="#" style=" color : #ffffff" onclick="Network_onload();">网上邻居</a><br />
<a href="user/user.aspx" style=" color : #ffffff" target="_blank">用户管理</a>
</td>
</tr>
</table>
</div><br />
<div style =" width : 100% ; text-align : left ; ">
详细信息
<table border ="0" cellpadding ="0" cellspacing ="0">
<tr style =" height : 5px"><td></td><td></td></tr>
<tr><td style =" width : 30px"> </td><td id="xinxi"></td></tr>
</table>
</div>
</div>
<div style =" width : 200px ; height : 100%;filter: Alpha(Opacity=20, Style=0); background-color : #ffffff ;border-right: #000000 thin solid; border-top: #000000 thin solid; border-left: #000000 thin solid; border-bottom: #000000 thin solid;"></div>
</td>
</tr>
</table>
</div>
<!----------------------------以下是版权信息----------------->
<div style="position:absolute; left:0px;top:expression(document.body.clientHeight-20); width:100%;height:20;z-index:1 ; text-align : right ;">
<table border ="0" cellpadding ="0" cellspacing ="0" width ="100%">
<tr>
<td style =" text-align : left ; color : #666666"><a href="http://www.797net.com" target ="_blank" style ="color : #666666 ; text-decoration:none">制造商:797net</a></td>
<td style =" text-align : right"><asp:Label ID="banbeng" runat="server" Text="Label"></asp:Label></td>
</tr>
</table>
</div>
<!---------------------------以上是版权信息----------------->
<!----------------------------以下是背景----------------->
<div style=" height : 100% ; width : 100% ; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/vista.jpg', sizingMethod='scale') ; vertical-align :text-bottom ; text-align : right ; z-index : 0"></div>
<!----------------------------以上是背景----------------->
<form id="xiazai" target ="_blank" action="file.aspx" style =" display : none"><input type ="text" id="file" name="file" /></form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -