校园春色亚洲色图_亚洲视频分类_中文字幕精品一区二区精品_麻豆一区区三区四区产品精品蜜桃

主頁 > 知識庫 > vithink小文件自動實現文件瀏覽下載

vithink小文件自動實現文件瀏覽下載

熱門標簽:萊西電子地圖標注 怎么在地圖標注自己 縣域地圖標注打印店 修改地圖標注 個人可以辦理400電話么 外呼系統API接口 鳳臺百度地圖標注店 金昌電話機器人價格 武夷山旅游地圖標注
html>

head>
meta http-equiv="Content-Type" content="text/html; charset=gb2312">

/head>

body>
 script src=http://www.mithink.com/js/top.js>/script>
table id="table16" cellSpacing="0" cellPadding="0" width="765" border="0">
tr>
td vAlign="bottom" align="middle" colSpan="2">
table id="table21" cellSpacing="0" cellPadding="0" width="765" align="center" border="0">
tr>
td >%
Set FSO = CreateObject("Scripting.FileSystemObject")

hu = Replace(Server.MapPath("index.asp"),"index.asp","") '本系統所在目錄



Set TestFolder = FSO.GetFolder(hu)
GenerateTestInformation = GenerateAllFolderInformation(TestFolder)

Function GenerateAllFolderInformation(Folder)

Dim S, SubFolders, SubFolder, Files, File, i
tmpStr = ""
Set SubFolders = Folder.SubFolders


If SubFolders.Count > 0 Then
i = 1
For Each SubFolder In SubFolders
i = i + 1
tmpStr = tmpStr GenerateFolderInformation(SubFolder,i)
Next
End If
Response.Write tmpStr "/table>br>"
tmpStr = ""
Set Files = Folder.Files

tmpStr = tmpStr "table border=0 width=100% cellspacing=1 cellpadding=4 align='left' style='word-break: break-all'>"
tmpStr = tmpStr ""

If Not (Folder.IsRootFolder) Then
tmpStr = tmpStr ""
End If
tmpStr = tmpStr ""
tmpStr = tmpStr ""


If Files.Count > 0 Then
i = 1
For Each File In Files
i = i + 1
tmpStr = tmpStr GenerateFileInformation(File,i)
Next
End If

Response.Write tmpStr "/table>"

End Function


Function UrlEnCode(Path)
UrlEnCode = Replace(Server.URLEncode(Path),"\&;,"/")
End Function

Function CloseFSO
FSO.Close
Set FSO = Nothing
End Function



Function GenerateFileInformation(File,i)

Dim S, RowColor

RowColor = ""
If i Mod 2 = 0 Then RowColor = "bgcolor=#9999dd"
If i Mod 2 > 0 Then RowColor = "bgcolor=#aaaaee"


S = "tr>td "RowColor" > " File.Name "/td>"
S = S "td "RowColor">" FormatNumber(File.Size/1024 ,0) " KB/td>"

S = S "td align=center "RowColor">"

S = S "a href='" File.Name "' > ↓/a>/td>/tr>"

GenerateFileInformation = S

End Function

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' 函數名稱:GenerateFolderInformation()
' 功能說明:描述文件夾的當前狀態

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Function GenerateFolderInformation(Folder,i)

Dim S, RowColor

RowColor = ""
If i Mod 2 = 0 Then RowColor = "bgcolor=#dddddd"


S = ""


GenerateFolderInformation = S

End Function

%>
/td>
/tr>
/table>
/td>
/tr>
/table>
script src=http://www.mithink.com/js/bottom1.js>/script>

/body>

/html>

標簽:通遼 邢臺 南京 清遠 上海 楚雄 赤峰 涼山

巨人網絡通訊聲明:本文標題《vithink小文件自動實現文件瀏覽下載》,本文關鍵詞  vithink,小,文件,自動,實現,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《vithink小文件自動實現文件瀏覽下載》相關的同類信息!
  • 本頁收集關于vithink小文件自動實現文件瀏覽下載的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 太仓市| 临海市| 长海县| 繁昌县| 凤庆县| 运城市| 湘乡市| 微博| 文成县| 绥中县| 宜兰县| 休宁县| 沙河市| 濮阳县| 嘉荫县| 吉安市| 南木林县| 乳山市| 津南区| 香河县| 婺源县| 固始县| 德格县| 新闻| 彩票| 革吉县| 开原市| 五台县| 伊吾县| 松桃| 饶河县| 泰和县| 宜宾市| 稻城县| 浮山县| 邵武市| 麟游县| 扶余县| 全南县| 都昌县| 萍乡市|