<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <%'are we logged in? if session("admin")<>"true" then pid=request("pid") 'retain current pid for accidental navigation response.redirect("login.asp?pid=" & pid) end if 'setup connection string set cn=server.createobject("ADODB.Connection") cn.open="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("..\db\mccullohreunion.mdb") & ";Persist Security Info=False" set rs=server.createobject("ADODB.Recordset") rs.activeconnection=cn set rs2=server.createobject("ADODB.Recordset") rs2.activeconnection=cn 'get info to fill in page 'personID pid=request("pid") if pid="get" then pid=request.form("quickfind") end if if request("do")="delD" or request("do")="delL" or request("do")="delS" then delID=request("delID") if delID=-1 then session("strErr")="Uhh... you can't really delete something that doesn't exist...
" else delType=right(request("do"),1) if delType="D" then tbname="[descendant]" elseif delType="L" then tbname="[link]" elseif delType="S" then tbname="[spouse]" end if sql="DELETE FROM " & tbname & " WHERE ID = " & delID cn.execute sql strMsg="Successful delete
" session("strMsg")=strMsg 'clear the deleted session variables x=cint(session("DescendantCount")) i=i+0 do until i=x i=i+1 d="d" & i session(d)="" loop x=0 i=0 d="" y=0 x=cint(session("SpouseCount")) i=i+0 do until i=x i=i+1 s="s" & i session(s)="" loop x=0 i=0 s="" y=0 z=cint(session("LinkCount")) i=i+0 do until i=z i=i+1 l="l" & i ll="ll" & i session(l)="" session(ll)="" loop y=0 i=0 p="" pl="" end if end if if request("do")="del" then pid=request("pid") sql="DELETE FROM [person] WHERE ID = " & pid cn.execute sql sql="DELETE FROM [descendant] WHERE pID = " & pid cn.execute sql sql="DELETE FROM [spouse] WHERE pID = " & pid cn.execute sql sql="DELETE FROM [image] WHERE pID = " & pid cn.execute sql sql="DELETE FROM [link] WHERE pID = " & pid cn.execute sql strMsg="Successful delete
" session("strMsg")=strMsg end if if request("action")="view" then pid=request("pid") 'get personal info sql="SELECT * FROM [person] WHERE ID = " & pid rs.source=sql rs.open session("FullName")=rs("FullName") session("FirstName")=rs("FirstName") session("MiddleName")=rs("MiddleName") session("LastName")=rs("LastName") session("BirthDate")=rs("BirthDate") session("DeathDate")=rs("DeathDate") session("MarriageDate")=rs("MarriageDate") session("Image1")=rs("Image1") session("Bio")=rs("Bio") session("Obituary")=rs("Obituary") session("MiscText")=rs("Misc") session("MiscURL")=rs("MiscURL") rs.close dexist=false sexist=false pexist=false lexist=false 'get descendant count sql="SELECT count(*) FROM [descendant] WHERE pID = " & pid set rsCount=cn.execute(sql) session("DescendantCount")=rsCount(0) 'response.write("DescendantCount: " & session("DescendantCount") & "
") if cint(session("DescendantCount"))>0 then dexist=true end if 'get spouse count sql="SELECT count(*) FROM [spouse] WHERE pID = " & pid set rsCount=cn.execute(sql) session("SpouseCount")=rsCount(0) 'response.write("SpouseCount: " & session("SpouseCount") & "
") if cint(session("SpouseCount"))>0 then sexist=true end if 'get link count sql="SELECT count(*) FROM [link] WHERE pID = " & pid set rsCount=cn.execute(sql) session("LinkCount")=rsCount(0) 'response.write("LinkCount: " & session("LinkCount") & "
") if cint(session("LinkCount"))>0 then lexist=true end if if request("do")<>"edit" then 'get all the values for the descendants i=0 if dexist then sql="SELECT * FROM [descendant] WHERE pID = " & pid rs.source=sql rs.open do until rs.eof i=i+1 d="d" & i session(d)=replace(rs("DescendantID"),"*ap*","'") rs.movenext loop rs.close end if 'get all the values for the spouses i=0 if dexist then sql="SELECT * FROM [spouse] WHERE pID = " & pid rs.source=sql rs.open do until rs.eof i=i+1 s="s" & i session(s)=replace(rs("SpouseID"),"*ap*","'") rs.movenext loop rs.close end if 'get all the values for the images i=0 if lexist then sql="SELECT * FROM [link] WHERE pID = " & pid rs.source=sql rs.open do until rs.eof i=i+1 l="l" & i ll="ll" & i session(l)=replace(rs("LinkURL"),"*ap*","'") session(ll)=replace(rs("LinkLabel"),"*ap*","'") rs.movenext loop rs.close end if end if end if if request("do")="add" or request("do")="edit" then if request("submitchecker")="adddescendant" then inc="adddescendant" elseif request("submitchecker")="addspouse" then inc="addspouse" elseif request("submitchecker")="addphoto" then inc="addphoto" elseif request("submitchecker")="addlink" then inc="addlink" elseif request("submitchecker")="remdescendant" then inc="remdescendant" elseif request("submitchecker")="remlink" then inc="remlink" elseif request("submitchecker")="true" then inc="false" end if 'coming from this page to this page for increase in descendants, photos, or links session("DescendantCount")=request.form("descendantcount") session("SpouseCount")=request.form("spousecount") session("PhotoCount")=request.form("photocount") session("LinkCount")=request.form("linkcount") session("FullName")=request.form("fullname") session("FirstName")=request.form("firstname") session("MiddleName")=request.form("middlename") session("LastName")=request.form("lastname") session("BirthDate")=request.form("birthdate") session("DeathDate")=request.form("deathdate") session("MarriageDate")=request.form("marriagedate") session("Bio")=request.form("bio") session("Obituary")=request.form("obituary") session("MiscText")=request.form("misctext") session("MiscURL")=request.form("miscURL") 'get all the values for the descendants i=0 x=cint(session("DescendantCount")) 'response.write("i=" & i & "
" & "x=" & x & "
") 'response.End() do until i=x i=i+1 d="d" & i session(d)=request.form(d) strd=strd & session(d) 'response.write("request" & d & ": " & request.form(d) & "
") loop 'get all the values for the spouses i=0 zz=cint(session("SpouseCount")) 'response.write("i=" & i & "
" & "zz=" & zz & "
") 'response.End() do until i=zz i=i+1 s="s" & i session(s)=request.form(s) strs=strs & session(s) 'response.write("request" & s & ": " & request.form(s) & "
") loop 'get all the values for the links i=0 z=cint(session("LinkCount")) 'response.write("i=" & i & "
" & "x=" & x & "
") 'response.End() do until i=z i=i+1 l="l" & i ll="ll" & i session(l)=request.form(l) session(ll)=request.form(ll) strl=strl & session(l) strll=strll & session(ll) 'response.write("request" & d & ": " & request.form(d) & "
") loop if inc="false" then'if we're not increasing a value, we must be submitting the form insert=true 'get rid of apostraphes if session("FullName")<>"" then fullname=replace(session("FullName"),"'","*ap*") end if if session("FirstName")<>"" then firstname=replace(session("FirstName"),"'","*ap*") end if if session("MiddleName")<>"" then middlename=replace(session("MiddleName"),"'","*ap*") end if if session("LastName")<>"" then lastname=replace(session("LastName"),"'","*ap*") end if if session("BirthDate")<>"" then birthdate=replace(session("BirthDate"),"'","*ap*") end if if session("DeathDate")<>"" then deathdate=replace(session("DeathDate"),"'","*ap*") end if if session("MarriageDate")<>"" then marriagedate=replace(session("MarriageDate"),"'","*ap*") end if if session("Bio")<>"" then bio=replace(session("Bio"),"'","*ap*") end if if session("Obituary")<>"" then obituary=replace(session("Obituary"),"'","*ap*") end if if session("MiscText")<>"" then misctext=replace(session("MiscText"),"'","*ap*") end if if session("MiscURL")<>"" then miscURL=replace(session("MiscURL"),"'","*ap*") end if if fullname="" then insert=false strErr=strErr & "
  • Full Name is required.
  • " end if if firstname="" then insert=false strErr=strErr & "
  • First Name is required
  • " end if session("strErr")=strErr if insert then 'good data strMsg="Successful insert(s) into:" strMsg=strMsg & "
  • Person table
  • " if request("do")="add" then 'new record sql="INSERT INTO [person] (FullName, FirstName, MiddleName, LastName, BirthDate, DeathDate, MarriageDate, Bio, Obituary, Misc, MiscURL) VALUES (" & "'" & FullName & "'," & "'" & FirstName & "'," & "'" & MiddleName & "'," & "'" & LastName & "'," & "'" & BirthDate & "'," & "'" & DeathDate & "'," & "'" & MarriageDate & "'," & "'" & Bio & "'," & "'" & Obituary & "'," & "'" & MiscText & "'," & "'" & MiscURL & "');" else 'update record sql="UPDATE [person] SET FullName = '" & FullName & "', FirstName = '" & FirstName & "', MiddleName = '" & MiddleName & "', LastName = '" & LastName & "', BirthDate = '" & BirthDate & "', DeathDate = '" & Deathdate & "', MarriageDate = '" & MarriageDate & "', Bio = '" & Bio & "', Obituary = '" & Obituary & "', Misc = '" & MiscText & "', MiscURL = '" & MiscURL & "' WHERE ID = " & pid end if cn.execute sql if request("do")="add" then sql="SELECT ID FROM [person] WHERE FullName = '" & FullName & "' AND FirstName = '" & FirstName & "' AND MiddleName = '" & MiddleName & "' AND LastName = '" & LastName & "' AND BirthDate = '" & BirthDate & "';" rs.source=sql rs.open newpid=rs("ID") rs.close end if 'if updating, clear out descendants, photos, and links if request("do")="edit" then newpid=pid sql="DELETE FROM [descendant] WHERE pID = " & pid cn.execute sql sql="DELETE FROM [spouse] WHERE pID = " & pid cn.execute sql sql="DELETE FROM [link] WHERE pID = " & pid cn.execute sql end if if strd<>"" then 'descendants exist i=0 do until i=x i=i+1 d="d" & i if session(d)="" then session(d)=-999 'indicates no descendant was chosen end if if session(d)<>"" then session(d)=replace(session(d),"'","*ap*") end if sql="INSERT INTO [descendant] (pID, DescendantID) VALUES (" & newpid & "," & session(d) & ");" if session(d)<>"" then cn.execute sql end if loop strMsg=strMsg & "
  • Descendant table
  • " end if if strs<>"" then 'spouses exist i=0 do until i=zz i=i+1 s="s" & i if session(s)="" then session(s)=-999 'indicates no spouse was chosen end if if session(s)<>"" then session(s)=replace(session(s),"'","*ap*") end if sql="INSERT INTO [spouse] (pID, SpouseID) VALUES (" & newpid & "," & session(s) & ");" if session(s)<>"" then cn.execute sql end if loop strMsg=strMsg & "
  • Spouse table
  • " end if if strl<>"" then 'links exist i=0 do until i=z i=i+1 l="l" & i ll="ll" & i if session(ll)<>"" then session(ll)=replace(session(ll),"'","*ap*") end if if session(l)<>"" then session(l)=replace(session(l),"'","*ap*") end if sql="INSERT INTO [link] (pID, LinkLabel, LinkURL) VALUES (" & newpid & "," & "'" & session(ll) & "'," & "'" & session(l) & "');" if session(l)<>"" then cn.execute sql end if loop strMsg=strMsg & "
  • Link table
  • " end if session("strMsg")=strMsg if request("do")="add" then response.redirect("?action=add") end if end if end if end if if request("do")="" and request("action")<>"view" then 'clear fields session("DescendantCount")="" session("SpouseCount")="" session("PhotoCount")="" session("LinkCount")="" session("FullName")="" session("FirstName")="" session("MiddleName")="" session("LastName")="" session("BirthDate")="" session("DeathDate")="" session("MarriageDate")="" session("Bio")="" session("Obituary")="" session("MiscText")="" session("MiscURL")="" i=0 do until i=500 i=i+1 s="s" & i d="d" & i l="l" & i ll="ll" & i session(s)="" session(d)="" session(l)="" session(ll)="" loop end if 'get values to populate form if unsuccessful insert DescendantCount=session("DescendantCount") SpouseCount=session("SpouseCount") PhotoCount=session("PhotoCount") LinkCount=session("LinkCount") if session("FullName")<>"" then FullName=replace(session("FullName"),"*ap*","'") end if if session("FirstName")<>"" then FirstName=replace(session("FirstName"),"*ap*","'") end if if session("MiddleName")<>"" then MiddleName=replace(session("MiddleName"),"*ap*","'") end if if session("LastName")<>"" then LastName=replace(session("LastName"),"*ap*","'") end if if session("BirthDate")<>"" then BirthDate=replace(session("BirthDate"),"*ap*","'") end if if session("DeathDate")<>"" then DeathDate=replace(session("DeathDate"),"*ap*","'") end if if session("MarriageDate")<>"" then MarriageDate=replace(session("MarriageDate"),"*ap*","'") end if if session("Bio")<>"" then Bio=replace(session("Bio"),"*ap*","'") end if if session("Obituary")<>"" then Obituary=replace(session("Obituary"),"*ap*","'") end if if session("MiscText")<>"" then MiscText=replace(session("MiscText"),"*ap*","'") end if if session("MiscURL")<>"" then MiscURL=replace(session("MiscURL"),"*ap*","'") end if if request("do")="delimage" then id=request("id") sql="DELETE FROM [image] WHERE ID = " & id cn.execute sql strMsg="Image deleted." session("strMsg")=strMsg end if if request("do")="editimage" then id=request("id") caption=request("caption") if caption<>"" then caption=replace(caption,"'","*ap*") end if sql="UPDATE [image] SET ImageLabel = '" & caption & "' WHERE ID = " & id cn.execute sql strMsg="Caption edited." session("strMsg")=strMsg end if if request("do")="editemail" then id=request.form("id") email=request.form("email") if email <> "" then email=replace(email,"'","*ap*") sql="UPDATE tbEmailList SET Email = '" & email & "' WHERE ID = " & id cn.execute sql strMsg="Email address edited." session("strMsg")=strMsg else strErr="Email address cannot be blank." session("strErr")=strErr end if end if if request("do")="delemail" then id=request("id") sql="DELETE FROM tbEmailList WHERE ID = " & id cn.execute sql strMsg="Person deleted." session("strMsg")=strMsg end if %> Admin Panel






    Admin Panel

    What would you like to do?
    Add new family member
    Edit family member
    Extract email addresses

    <%if session("strErr")<>"" then%> <%=session("strErr")%> <%session("strErr")=""%> <%end if%> <%if session("strMsg")<>"" then%> <%=session("strMsg")%> <%session("strMsg")=""%> <%end if%> <%if request("action")="email" then%> <%sql="SELECT * FROM tbEmailList" rs.source=sql rs.open strEmail="" if not rs.eof then do until rs.eof email=rs("email") strEmail=strEmail & replace(email,"*ap*","'") & "; " rs.movenext loop end if if strEmail="" then strEmail="[no email addresses submitted]" end if rs.close%>
    The text area contains all email addresses for people that wish to be contacted by mccullohreunion.org.


    <%sql="SELECT * FROM tbEmailList" rs.source=sql rs.open i=0 if not rs.eof then%>
    <%do until rs.eof i=i+1 id=rs("ID") fname=rs("FirstName") lname=rs("LastName") email=rs("Email") dateinserted=rs("DateInserted") if fname<>"" then fname=replace(fname,"*ap*","'") end if if lname<>"" then lname=replace(lname,"*ap","'") end if if email<>"" then email=replace(email,"*ap*","'") end if%> style="background-color:#CCFF00;"<%end if%>> <%rs.movenext loop%>
      Name Email Address Date Inserted  
    <%=i%> <%if lname<>"" then%><%=lname%>, <%end if%><%=fname%> <%if request("view") = "editemail" AND cint(request("id")) = id then%> <%else%> <%=email%> <%end if%> <%=dateinserted%> <%if request("view") = "editemail" AND cint(request("id")) = id then%>
    cancel <%else%> [Edit] <%end if%>
    [Delete]
    <%end if rs.close%> <%end if%> <%if request("action")="new" then%>
    Add New Family Member
    First Name
    Middle Name
    Last Name
    Full Name

    Birth Date
    Death Date
    Marriage Date
    Spouse
    Spouse  [add] [remove]
    <% if SpouseCount<>"" then y=cint(SpouseCount) end if if inc="addspouse" then y=y+1 'add one spouse elseif inc="remspouse" then if y>1 then y=y-1 'remove one spouse end if end if if y="" then y=1 'default number of spouses to display end if i=0 'response.write("i=" & i & "
    " & "y=" & y & "
    ") 'response.End() do until i=y i=i+1 s="s" & i 'response.write("s: " & s & "
    ") %> <%=i%>.  <% loop %>

    Textarea commands: <br> = inserts line break, <i></i> = enclosed text is italic, <b></b> = enclosed text is bold, <li></li> = enclosed text is a bullet point, <center></center> = enclosed text is center aligned.
    Biography
    Obituary
    Miscellaneous
    Miscellaneous URL

    Descendants  [add] [remove]
    <% if DescendantCount<>"" then x=cint(DescendantCount) end if if inc="adddescendant" then x=x+1 'add one descendant elseif inc="remdescendant" then if x>1 then x=x-1 'remove one descendant end if end if if x="" then x=4 'default number of descendants to display end if i=0 'response.write("i=" & i & "
    " & "x=" & x & "
    ") 'response.End() do until i=x i=i+1 d="d" & i 'response.write("d: " & d & "
    ") %> <%=i%>. 
    <% loop %>

    Links  [add] [remove]
    <% if LinkCount<>"" then z=cint(LinkCount) end if if inc="addlink" then z=z+1 'add one link elseif inc="remlink" then if z>1 then z=z-1 'remove one link end if end if if z="" then z=2 'default number of links to display end if i=0 'response.write("i=" & i & "
    " & "y=" & y & "
    ") 'response.End() do until i=z i=i+1 l="l" & i ll="ll" & i 'response.write("d: " & d & "
    ") tempsessionl=replace(session(l),"*ap*","'") tempsessionll=replace(session(ll),"*ap*","'") %> <%=i%>. URL: 
        Label: 

    <% loop %>


    Note: You may upload photos using the Edit form after you have initially added the family member to the database.
    <%end if%> <%if request("action")="edit" or request("action")="" then%> <% 'clear out old ddl sessions for i = 1 to 20 s="s" & i i=i+1 session(s) = "" next for i = 1 to 50 d="d" & i i=i+1 session(d) = "" next %> Edit A Family Member

    <% trstyle=0 sql="SELECT * FROM [person] ORDER BY LastName, FirstName, MiddleName, BirthDate" rs.source=sql rs.open do until rs.eof pid=rs("ID") fullname=replace(rs("FullName"),"*ap*","'") firstname=replace(rs("FirstName"),"*ap*","'") middlename=replace(rs("MiddleName"),"*ap*","'") lastname=replace(rs("LastName"),"*ap*","'") birthdate=replace(rs("BirthDate"),"*ap*","'") %> style="background-color:#DFE6F2;"<%end if%>> <% if trstyle=0 then trstyle=1 else trstyle=0 end if rs.movenext loop rs.close %>
    ID LAST NAME FIRST NAME MIDDLE NAME FULL NAME BIRTH DATE  
    <%=pid%> <%=lastname%> <%=firstname%> <%=middlename%> <%=fullname%> <%=birthdate%> Edit    Delete
    <%end if%> <%if request("action")="view" then%>
    Edit Family Member
    First Name
    Middle Name
    Last Name
    Full Name

    Birth Date
    Death Date
    Marriage Date
    <% if SpouseCount<>"" then zz=cint(SpouseCount) end if if inc="addspouse" then zz=zz+1 'add one descendant elseif inc="remspouse" then if zz>1 then zz=zz-1 'remove one descendant end if end if if zz="" then zz=1 'default number of descendants to display elseif zz=0 then zz=1 end if i=0 'response.write("i=" & i & "
    " & "zz=" & zz & "
    ") 'response.End() %> Spouse  [add] [remove]
    (Removing an item will not delete it; instead, use Delete or select the blank option in the drop down list)
    <% do until i=zz i=i+1 s="s" & i if not session(s)="" then 'response.write("s: " & s & "
    ") 'get spouseID if sexist then 'only do this if there are spouses in the db sql="SELECT ID FROM [spouse] WHERE pID = " & pid & " AND SpouseID = " & session(s) 'response.write("sql: " & sql & "
    ") rs.source=sql rs.open if not rs.eof then deleteid=rs("ID") 'response.write("not rs.eof
    ") else 'response.write("rs.eof
    ") deleteid=-1 end if rs.close end if end if sql="SELECT ID, FirstName, MiddleName, LastName, BirthDate FROM [person] ORDER BY LastName, FirstName, MiddleName, BirthDate" rs.source=sql rs.open %> <%=i%>.  <%if not session(s)="" then%> <%'if zz>1 and not zerospouses then%> [Delete]
    <%'end if%> <%end if%> <% loop %>

    Textarea commands: <br> = inserts line break, <i></i> = enclosed text is italic, <b></b> = enclosed text is bold, <li></li> = enclosed text is a bullet point, <center></center> = enclosed text is center aligned.
    Biography
    Obituary
    Miscellaneous
    Miscellaneous URL

    <% if DescendantCount<>"" then x=cint(DescendantCount) end if if inc="adddescendant" then x=x+1 'add one descendant elseif inc="remdescendant" then if x>1 then x=x-1 'remove one descendant end if end if if x="" then x=4 'default number of descendants to display elseif x=0 then x=1 end if i=0 'response.write("i=" & i & "
    " & "x=" & x & "
    ") 'response.End() %> Descendants  [add] [remove]
    (Removing an item will not delete it; instead, use Delete or select the blank option in the drop down list)
    <% do until i=x i=i+1 d="d" & i if not session(d)="" then 'response.write("d: " & d & "
    ") 'get descendantID if dexist then 'only do this if there are descendants in the db sql="SELECT ID FROM [descendant] WHERE pID = " & pid & " AND DescendantID = " & session(d) 'response.write("sql: " & sql & "
    ") rs.source=sql rs.open if not rs.eof then deleteid=rs("ID") 'response.write("not rs.eof
    ") else 'response.write("rs.eof
    ") deleteid=-1 end if rs.close end if end if sql="SELECT ID, FirstName, MiddleName, LastName, BirthDate FROM [person] ORDER BY LastName, FirstName, MiddleName, BirthDate" rs.source=sql rs.open %> <%=i%>.  <%if not session(d)="" then%> <%'if x>1 and not zerodescendants then%> [Delete]
    <%'end if%> <%end if%> <% loop %>

    Links  [add] [remove]
    (Removing an item will not delete it; instead, use the Delete link next to the item)
    <% if LinkCount<>"" then z=cint(LinkCount) end if if inc="addlink" then z=z+1 'add one link elseif inc="remlink" then if z>1 then z=z-1 'remove one link end if end if if z="" then z=2 'default number of links to display elseif z=0 then z=1 end if i=0 'response.write("i=" & i & "
    " & "y=" & y & "
    ") 'response.End() do until i=z i=i+1 l="l" & i ll="ll" & i if not session(l)="" then 'response.write("d: " & d & "
    ") 'get photoID sql="SELECT ID FROM [link] WHERE pID = " & pid & " AND LinkURL = '" & session(l) & "' AND LinkLabel = '" & session(ll) & "'" 'response.write("sql: " & sql & "
    ") rs.source=sql rs.open if not rs.eof then deleteid=rs("ID") else deleteid=-1 end if 'response.write("deleteid: " & deleteid & "
    ") rs.close tempsessionl=replace(session(l),"*ap*","'") tempsessionll=replace(session(ll),"*ap*","'") end if %> <%=i%>. URL: 
        Label:  <%if not session(l)="" then%> [Delete]

    <%end if%> <% loop %>


    » Upload Images

    Current Images
    Use the Upload Images link above to overwrite the current main image by uploading a new one, or to upload new additional images (will not overwrite the current additional images). To delete current additional images, click [delete] next to the image name in the list below.


    <%if session("image1")<>"" then%>
    Main image: <%=session("image1")%>

    ">



    <%end if%> <% sql="SELECT * FROM [image] WHERE pID = " & pid rs.source=sql rs.open if rs.eof then%>
    no additional images on file <%else i=1 do until rs.eof id=rs("ID") imagelabel=rs("ImageLabel") if imagelabel<>"" then imagelabel=replace(imagelabel,"*ap*","'") end if imageurl=rs("ImageURL") %>
    Additional Image <%=i%>: <%=imageurl%> [delete]
    Caption: <%if imagelabel="" or isnull(imagelabel) then%>no caption<%else%>"<%=imagelabel%>"<%end if%>
    [edit caption]





    <% i=i+1 rs.movenext loop end if rs.close %>

    <%end if%>


    powered by geneology engine v0.1
    © <%=year(date)%> Brian McCulloh Web Development