%@ LANGUAGE = "VBScript" %>
<%
Dim thisFilename
thisFilename = "ChapterMeeting_2008_05_01_Photos.asp"
Dim rows, columns, index, imgCnt
index = -1
rows = 3
columns = 3
imgCnt = 8
Dim imgFilename()
Dim imgDirectory
imgDirectory = "photos/2008_05_01_ChapterMeeting/"
ReDim imgFilename(imgCnt)
imgFilename(0) = "IMG_0052.jpg"
imgFilename(1) = "IMG_0053.jpg"
imgFilename(2) = "IMG_0299.jpg"
imgFilename(3) = "IMG_0300.jpg"
imgFilename(4) = "IMG_0056.jpg"
imgFilename(5) = "IMG_0058.jpg"
imgFilename(6) = "IMG_0062.jpg"
imgFilename(7) = "IMG_0302.jpg"
Dim imgText()
ReDim imgText(imgCnt)
imgText(0) = "Scott, our chapter's ""Thursday Ride"" contact, showing off his skills at our Q1 Meeting / Ride in Willowdale State Forest. Photo by Kirk Goldsworthy."
imgText(1) = "Chapter President Frank Lane riding a log in Willowdale State Forest. Photo by Kirk Goldsworthy."
imgText(2) = "Chapter Treasurer Ron Corporon on the log. Photo by Dan Streeter."
imgText(3) = "Scott Merloni riding a log pile. Photo by Dan Streeter."
imgText(4) = "The group ready to head out for the Chapter Meeting Ride. Photo by Kirk Goldsworthy."
imgText(5) = "Re-Group out on the trail. Photo by Kirk Goldsworthy."
imgText(6) = "The group on the bridge in Bradley Palmer that crosses the Ipswich River. Photo by Kirk Goldsworthy."
imgText(7) = "Some of the Thursday Night regulars: Frank, Eric, Kerry, Ron, Steve, & Scott out on the trail. Photo by Dan Streeter."
If Request.QueryString("index").Count = 1 Then
index = Request.QueryString("index")
End If
%>
North Shore NEMBA Photos
<% If index = -1 Then %>
| Chapter
Meeting Ride - May 1, 2008 |
<%
Dim tableHTML
Dim cellWidth
cellWidth = CInt(100 / columns)
tableHTML = ""
For i = 0 to (rows - 1)
tableHTML = tableHTML & "" & VbCrLf
For j = 0 to (columns - 1)
tableHTML = tableHTML & " "
if i*columns+j < imgCnt Then
tableHTML = tableHTML & "![]() | "
End If
Next
tableHTML = tableHTML & " " & VbCrLf
Next
Response.Write tableHTML
%>
|
<% Else %>
|
<%
Dim prevLink
Dim prevIndex
prevIndex = index - 1
If prevIndex < 0 Then
prevIndex = imgCnt - 1
End If
prevLink = "<Prev | "
Response.Write prevLink
%>
<%
Dim thumbsLink
thumbsLink = " Thumbs View "
Response.Write thumbsLink
%>
|
<%
Response.Write imgText(index) & " | "
%>
<%
Dim imgSrc
imgSrc = "![]() | "
Response.Write imgSrc
%>
|
<%
Dim nextLink
Dim nextIndex
nextIndex = index + 1
If nextIndex >= imgCnt Then
nextIndex = 0
End If
nextLink = "Next> | "
Response.Write nextLink
%>
<% End If %>