<%@ Language=VBScript %> <% sub Footer() response.write("

All material on these pages is copyrighted by CFPACS and may not be used without permission.

Web space provided by:
The Palm and Cycad Societies of Florida and Zone10.com

Please contact the Webmaster if you have any questions or suggestions on how to improve our site.
") End Function %> <%Function MenuBar()%> <% End Function Function MetaTags(sTitle) If sTitle = "" Then sTitle = "Central Florida Palm & Cycad Society" End If%> <%=sTitle%>

<% End Function Function SmallHeader(sTitle) MetaTags sTitle%>


Upload a picture!

Central Florida Palm & Cycad Society
<% MenuBar End Function Function Header(sTitle) MetaTags sTitle%>

 Upload a picture of a palm to our site

Recent Pictures
<%MenuBar%>

<% End Function %> <% Function GetConn() Dim sConnect Dim sDB Err.Clear On Error Resume Next Set conn = Server.CreateObject("ADODB.Connection") MdbFilePath = Server.MapPath("observations/vpe.mdb") sconnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";" conn.Mode = 3 conn.Open sConnect Set GetConn = conn Set conn = Nothing If Err.number <> 0 Then%>

The CFPACS Database is unavailable at this time.

Please try again later.

<% Footer Response.End End If End Function Function GetMemConn() Dim sConnect Dim sDB Err.Clear On Error Resume Next Set conn = Server.CreateObject("ADODB.Connection") MdbFilePath = Server.MapPath("membership/CFPACSRoster.mdb") sconnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";" conn.Mode = 3 conn.Open sConnect Set GetMemConn = conn Set conn = Nothing If Err.number <> 0 Then%>

The CFPACS Membership Database is unavailable at this time.

Please try again later.

<% Footer Response.End End If End Function %> <% Header "CFPACS - Pictures by Person Who Posted " %>

Observation & Photo Database

Pictures by Person who Posted

<% 'Make the table of palms Dim sSQL, sFullName Dim rs, conn, nCount, nHalf,i, sCommon, lTotal lTotal = 0 Set oConn = GetConn Set rs = Server.CreateObject("ADODB.Recordset") sSQL = "SELECT PhotoCredit, Count(*) " sSQL = sSQL & " FROM AllPictures " sSQL = sSQL & " Group by PhotoCredit order by 2 desc, 1 asc" Set rs = oConn.Execute(sSQL) If Not rs.EOF Then Do While Not rs.EOF%> <% lTotal = lTotal + rs(1) rs.MoveNext i = i + 1 Loop rs.Close End If set rs = nothing set oConn = nothing %>
Poster Number of Pictures
" title="View all pictures from <%=rs("PhotoCredit")%>"><%=rs("PhotoCredit")%>  <%=rs(1)%> 
Total <%=lTotal%> 
<%Footer%>