<% Dim strScriptName Dim arrPhotoNames Dim arrPhotoTitles Dim intPhotoId Dim I ' Get script URL for links strScriptName = Request.ServerVariables("URL") ' You'd probably get this info from a database or an XML file or ' something like that, but the source will vary based on your ' situation so I'm just loading the array manually. arrPhotoNames = Array("candid001", "candid002", "candid003", _ "candid004", "candid005", "candid006", _ "candid007", "candid008", "candid009", "candid010", _ "candid011", "candid012", "candid013", "candid014", _ "candid015", "candid016", _ "candid017", "candid018", "candid019", "candid020", "candid021", "candid022", _ "candid023", "candid024", "candid025", "candid026", "candid027", "candid028", _ "candid029", "candid030", "candid031", "candid032", "candid033", "candid034", _ "candid035", "candid036", _ "candid037", "candid038", "candid039", "candid040", _ "candid041", "candid042", "candid043", "candid044", _ "candid045", "candid046", "candid047") arrPhotoTitles = Array("Submitted by Amy Abraham", "Submitted by Amy Abraham", "Submitted by Amy Abraham", _ "Submitted by Donna Kay", "Submitted by Donna Kay", "Submitted by Donna Kay", _ "Submitted by E. Fannin", "Submitted by E. Fannin", "Submitted by E. Fannin", "Submitted by E. Fannin", _ "Submitted by E. Fannin", "Submitted by E. Fannin", "Submitted by E. Fannin", "Submitted by E. Fannin", _ "Submitted by Yvette", "Submitted by Yvette", _ "Candid", "Candid", "Candid", "Candid", "Candid", "Candid", _ "Candid", "Candid", "Candid", "Candid", "Candid", "Candid", _ "Candid", "Candid", "Candid", "Candid", "Candid", "Candid", _ "Candid", "Candid", _ "Submitted by Jill Truelove", "Submitted by Jill Truelove", "Submitted by Jill Truelove", "Submitted by Jill Truelove", _ "Submitted by Jill Truelove", "Submitted by Jill Truelove", "Submitted by Jill Truelove", "Submitted by Jill Truelove", _ "Submitted by Jill Truelove", "Submitted by Jill Truelove", "Submitted by Jill Truelove") intPhotoId = Request.QueryString("photo") If intPhotoId <> "" Then intPhotoId = CInt(intPhotoId) If intPhotoId < LBound(arrPhotoNames) Or intPhotoId > UBound(arrPhotoNames) Then intPhotoId = -1 End If Else intPhotoId = -1 End If If intPhotoId = -1 Then ' Show Gallery Response.Write "

Candid Photo Gallery

" & vbCrLf Response.Write "" & vbCrLf Response.Write "" & vbCrLf For I = LBound(arrPhotoNames) To UBound(arrPhotoNames) ' Show each thumbnail in it's own table cell Response.Write "" & vbCrLf ' Start a new row every 4 thumbnails. ' In the Mod line below, the 4 is because we want 4 thumbnails ' per row and the 3 is because we started counting from 0. ' If you want more or less columns just adjust accordingly: ' I Mod [Columns] = [Columns - 1] 'If I Mod 4 = 3 Then ' I actually changed it so that we're only showing 2 images across ' to deal with the images overlapping with our flex ads. If I Mod 6 = 5 Then Response.Write "" & vbCrLf End If Next 'I Response.Write "" & vbCrLf Response.Write "
" Response.Write "" Response.Write "
" Response.Write "" & arrPhotoTitles(I) & "" Response.Write "
" & vbCrLf Else ' Show Photo Detail Response.Write "

Candid Photo Gallery

" & vbCrLf ' photo title Response.Write "

" & arrPhotoTitles(intPhotoId) & "

" & vbCrLf ' Show full photo image. Response.Write "

" Response.Write "" Response.Write "

" & vbCrLf ' previous and next links Response.Write "

" If intPhotoId > LBound(arrPhotoNames) Then Response.Write "" Response.Write "<-- previous" End If Response.Write "     " If intPhotoId < UBound(arrPhotoNames) Then Response.Write "" Response.Write "next -->" End If Response.Write "

" & vbCrLf Response.Write "

" Response.Write "" Response.Write "Back to Album" Response.Write "

" & vbCrLf End If %>
 

2008 Pageant Events
Pool Party | Casual Wear | Fitness | Evening Gown | Parade | Finals | Candid Candid 2
 

About Us | Contact Us | Copyright Policy |Privacy Policy