<%@ LANGUAGE="VBScript" %> f r e e k f l y - g a l l e r y

lincoln, r.i. & lebanon - september, 22 & 23, 2001

lebanon - sunday - ok, first off, photo's are from myself, billy calhoun, matt arguin and chris mcnaughty......thanks guys! got in some nice jumps with al, savage, matt, billy, cliff, chris, jason, andrea and i'm sure more......good times......not sure where that ball came from.....these must be old pics from a land far far away ;-)

saturday | sunday
<% ListFolderContents(Server.MapPath("3")) %> <% ListFolderContents(Server.MapPath("4")) %>
saturday | sunday

<% sub ListFolderContents(path) dim fs, folder, file, item, url set fs = CreateObject("Scripting.FileSystemObject") set folder = fs.GetFolder(path) 'Display the target folder and info. ' *************I'm commenting this OUT ' Response.Write("
  • " & folder.Name & " - " _ ' & folder.Files.Count & " files, ") ' if folder.SubFolders.Count > 0 then ' Response.Write(folder.SubFolders.Count & " directories, ") ' end if ' Response.Write(Round(folder.Size / 1000) & " KB total." _ ' & "
  • " & vbCrLf) Response.Write("" & vbCrLf) ' *************I'm commenting this OUT ' ********************************************************************* 'Display a list of sub folders. Uncomment the three lines below ' ********************************************************************* ' for each item in folder.SubFolders ' ListFolderContents(item.Path) ' next ' ********************************************************************* 'Display a list of files. ' ********************************************************************* for each item in folder.Files url = MapURL(item.path) Response.Write("
    " _ & "
    " & vbCrLf) next Response.Write("" & vbCrLf) end sub function MapURL(path) dim rootPath, url ' ********************************************************************* 'Convert a physical file path to a URL for hypertext links. ' ********************************************************************* rootPath = Server.MapPath("/") url = Right(path, Len(path) - Len(rootPath)) MapURL = Replace(url, "\", "/") end function %>