主頁(yè) > 知識(shí)庫(kù) > LINE9的目錄瀏覽源程序

LINE9的目錄瀏覽源程序

熱門(mén)標(biāo)簽:土地證宗地圖標(biāo)注符號(hào) 保定電銷(xiāo)機(jī)器人軟件 客服外呼系統(tǒng)呼叫中心 鎮(zhèn)江云外呼系統(tǒng)怎么樣 電話機(jī)器人銷(xiāo)售公司嗎 成都銷(xiāo)售外呼系統(tǒng)公司 vue 地圖標(biāo)注拖拽 電話機(jī)器人案例 自動(dòng)外呼系統(tǒng)怎么防止封卡

復(fù)制代碼 代碼如下:

%
' make sure you have the 6 dir_*.gif files!
' yes, you can copy ours if ya want too.. :)
' http://line9.com/img/dir_dir.gif .. etc.
Function ShowImageForType(strName)
strTemp = strName
If strTemp > "dir" Then
strTemp = LCase(Right(strTemp, Len(strTemp) - InStrRev(strTemp, ".", -1, 1)))
End If
Select Case strTemp
Case "dir"
strTemp = "dir"
Case "asp"
strTemp = "asp"
Case "htm", "html"
strTemp = "htm"
Case "gif", "jpg", "jpeg", "png", "tif", "cpt", "bmp", "pcx", "tga", "psd", "eps"
strTemp = "img"
Case "txt", "text", "dat", "bat", "sys"
strTemp = "txt"
Case Else
strTemp = "misc"
End Select
strTemp = "img src=""img/dir_"strTemp".gif"" width=16 height=16 border=0>"
ShowImageForType = strTemp
End Function
Tek9 = Request.QueryString("Tek9")
If Tek9 = "" Then strPath = "myDirectory/" Else strPath = Tek9
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(Server.MapPath(strPath))
Response.Write"b>View our files and folders here:/b>br>"_
"table border=0>tr>td colspan=2>"_
"img src=""img/dir_dir_open.gif"" width=16 height=13 border=0> font face=Arial
size=2>b>"strPath"/b>/font>/td>/tr>"
For Each objItem In objFolder.SubFolders
If InStr(1, objItem, "_vti", 1) = 0 Then
Response.Write"tr>td>font face=Arial size=2> "ShowImageForType("dir")" "_
"a href=""myFile.asp?Tek9="strPathobjItem.Name"/"">"_
""objItem.Name"/a>/font>/td>td> /td>/tr>"
End If
Next
For Each objItem In objFolder.Files
Response.Write"tr>td>font face=Arial size=2>"_
" "ShowImageForType(objItem.Name)" "_
"a href="""strPathobjItem.Name""">"objItem.Name"/a>/font>/td>"_
"td align=right>font face=Arial size=2>"objItem.Size"/font>/td>/tr>"
Next
Set objItem = Nothing
Set objFolder = Nothing
Set objFSO = Nothing
Response.Write"/table>"
%>

標(biāo)簽:天津 成都 內(nèi)江 公主嶺 麗江 懷化 重慶 臺(tái)灣

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《LINE9的目錄瀏覽源程序》,本文關(guān)鍵詞  LINE9,的,目錄,瀏覽,源程序,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《LINE9的目錄瀏覽源程序》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于LINE9的目錄瀏覽源程序的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章