| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/cgny/nympadmin/ |
Upload File : |
<cfinclude template="/header2.cfm"> <cfif parameterexists(Session.email) and (Session.email IS NOT -1)> <cfif (#getuser.accesslevel# eq 100)> <table width=800><tr><td> <div align="center"><font face=verdana size=+1><strong>Camps Admin</strong></font> <br /> <a href="addcamp.cfm">Add Camp</a><p> <Table width=100% bgcolor="#efefef" width=100% cellspacing=0 cellpadding=4 border=1 bordercolor="black"> <Tr><td> <cfFORM action="campsadmin.cfm?Search=on" method="post" name="MyForm" > <Table width=100%> <Tr> <Td valign="top" width="33%"> <font face=verdana size=-1> <cfoutput> <strong>Camp Name:</strong> <input name="campname" type="text" <Cfif parameterexists(form.campname) and #form.campname# is not ''>value="#form.campname#"</cfif>><br /> </cfoutput> <input name="Advertiser" type="checkbox" value="y" <Cfif parameterexists(form.Advertiser) and #form.Advertiser# eq 'y'>checked</cfif>> <strong>Advertiser</strong> <br /> <Cfquery name="Getcities" datasource="cityguide"> select distinct state from camps order by state </Cfquery> <strong>State:</strong> <select name="state"><Cfif parameterexists(form.state)><Cfoutput><option value="#form.state#">#form.state#</option></Cfoutput></Cfif> <option value="All">All<Cfoutput query="getcities"><option value="#getcities.state#">#getcities.state#</Cfoutput></select><br /> <Cfquery name="Getcities" datasource="cityguide"> select distinct region from camps where region <> '' and region <> 'Long Island' order by region </Cfquery> <strong>Region:</strong> <select name="Region"><Cfif parameterexists(form.Region)><Cfoutput><option value="#form.Region#">#form.Region#</option></Cfoutput></Cfif> <option value="All">All<Cfoutput query="getcities"><option value="#getcities.Region#">#getcities.Region#</Cfoutput></select><br> <Cfquery name="Getcities" datasource="cityguide"> select distinct startage from camps order by startage </Cfquery> <strong>Start Age:</strong> <select name="startage"><Cfif parameterexists(form.startage)><Cfoutput><option value="#form.startage#">#form.startage#</option></Cfoutput></Cfif><option value="All">All <Cfoutput> <cfloop from="5" to="25" index="i"> <option value="#i#">#i# </cfloop> </Cfoutput> </select><br /> <Cfquery name="Getcities" datasource="cityguide"> select distinct endage from camps order by endage </Cfquery> <strong>End Age:</strong> <select name="endage"><Cfif parameterexists(form.endage)><Cfoutput><option value="#form.endage#">#form.endage#</option></Cfoutput></Cfif><option value="All">All <Cfoutput> <cfloop from="5" to="25" index="i"> <option value="#i#">#i# </cfloop> </Cfoutput> </select><br /> <input name="overnight" type="checkbox" value="y" <Cfif parameterexists(form.overnight) and #form.overnight# eq 'y'>checked</cfif>> <strong>Overnight</strong> <br /> <input name="daycamp" type="checkbox" value="y" <Cfif parameterexists(form.daycamp) and #form.daycamp# eq 'y'>checked</cfif>> <strong>Day Camp</strong> <br /> <input name="Coed" type="checkbox" value="y" <Cfif parameterexists(form.coed) and #form.coed# eq 'y'>checked</cfif>> <strong>Coed</strong> <br /> <input name="boysonly" type="checkbox" value="y" <Cfif parameterexists(form.daycamp) and #form.daycamp# eq 'y'>checked</cfif>> <strong>Boys Only</strong> <br /> <input name="girlsonly" type="checkbox" value="y" <Cfif parameterexists(form.daycamp) and #form.daycamp# eq 'y'>checked</cfif>> <strong>Girls Only</strong> <br /> <input name="Academics" type="checkbox" value="y" <Cfif parameterexists(form.Academics) and #form.Academics# eq 'y'>checked</cfif>> <strong>Academics</strong> <br /> <input name="Aerobics" type="checkbox" value="y" <Cfif parameterexists(form.Aerobics) and #form.Aerobics# eq 'y'>checked</cfif>> <strong>Aerobics</strong> <br /> </Td> <Td valign="top" width="33%"> <font face=verdana size=-1> <input name="Aquatics" type="checkbox" value="y" <Cfif parameterexists(form.Aquatics) and #form.Aquatics# eq 'y'>checked</cfif>> <strong>Aquatics</strong> <br /> <input name="Archery" type="checkbox" value="y" <Cfif parameterexists(form.Archery) and #form.Archery# eq 'y'>checked</cfif>> <strong>Archery</strong> <br /> <input name="ArtsCrafts" type="checkbox" value="y" <Cfif parameterexists(form.ArtsCrafts) and #form.ArtsCrafts# eq 'y'>checked</cfif>> <strong>Arts and Crafts</strong> <br /> <input name="Backpacking" type="checkbox" value="y" <Cfif parameterexists(form.Backpacking) and #form.Backpacking# eq 'y'>checked</cfif>> <strong>Backpacking</strong> <br /> <input name="BaseballSoftball" type="checkbox" value="y" <Cfif parameterexists(form.BaseballSoftball) and #form.BaseballSoftball# eq 'y'>checked</cfif>> <strong>Baseball/Softball </strong> <br /> <input name="Basketball" type="checkbox" value="y" <Cfif parameterexists(form.Basketball) and #form.Basketball# eq 'y'>checked</cfif>> <strong>Basketball </strong> <br /> <input name="Bicycling" type="checkbox" value="y" <Cfif parameterexists(form.Bicycling) and #form.Bicycling# eq 'y'>checked</cfif>> <strong>Bicycling</strong> <br /> <input name="Boating" type="checkbox" value="y" <Cfif parameterexists(form.Boating) and #form.Boating# eq 'y'>checked</cfif>> <strong>Boating</strong> <br /> <input name="Camping" type="checkbox" value="y" <Cfif parameterexists(form.Camping) and #form.Camping# eq 'y'>checked</cfif>> <strong>Camping</strong> <br /> <input name="Ceramics" type="checkbox" value="y" <Cfif parameterexists(form.Ceramics) and #form.Ceramics# eq 'y'>checked</cfif>> <strong>Ceramics</strong> <br /> <input name="Climbing" type="checkbox" value="y" <Cfif parameterexists(form.Climbing) and #form.Climbing# eq 'y'>checked</cfif>> <strong>Climbing</strong> <br /> <input name="Clowning" type="checkbox" value="y" <Cfif parameterexists(form.Clowning) and #form.Clowning# eq 'y'>checked</cfif>> <strong>Clowning</strong> <br /> </Td> <Td valign="top" width="33%"> <font face=verdana size=-1> <input name="Dance" type="checkbox" value="y" <Cfif parameterexists(form.Dance) and #form.Dance# eq 'y'>checked</cfif>> <strong>Dance</strong> <br /> <input name="Drama" type="checkbox" value="y" <Cfif parameterexists(form.Drama) and #form.Drama# eq 'y'>checked</cfif>> <strong>Drama</strong> <br /> <input name="Drawing" type="checkbox" value="y" <Cfif parameterexists(form.Drawing) and #form.Drawing# eq 'y'>checked</cfif>> <strong>Drawing</strong> <br /> <input name="Golf" type="checkbox" value="y" <Cfif parameterexists(form.Golf) and #form.Golf# eq 'y'>checked</cfif>> <strong>Golf</strong> <br /> <input name="Hiking" type="checkbox" value="y" <Cfif parameterexists(form.Hiking) and #form.Hiking# eq 'y'>checked</cfif>> <strong>Hiking</strong> <BR /> <input name="Soccer" type="checkbox" value="y" <Cfif parameterexists(form.Soccer) and #form.Soccer# eq 'y'>checked</cfif>> <strong>Soccer</strong> <br /> <input name="Hockey" type="checkbox" value="y" <Cfif parameterexists(form.Hockey) and #form.Hockey# eq 'y'>checked</cfif>> <strong>Hockey</strong> <br /> <input name="Horseback" type="checkbox" value="y" <Cfif parameterexists(form.Horseback) and #form.Horseback# eq 'y'>checked</cfif>> <strong>Horseback</strong> <br /> <input name="Tennis" type="checkbox" value="y" <Cfif parameterexists(form.Tennis) and #form.Tennis# eq 'y'>checked</cfif>> <strong>Tennis</strong> <br /> <input name="Music" type="checkbox" value="y" <Cfif parameterexists(form.Music) and #form.Music# eq 'y'>checked</cfif>> <strong>Music</strong> <br /> <input name="Computer" type="checkbox" value="y" <Cfif parameterexists(form.Computer) and #form.Computer# eq 'y'>checked</cfif>> <strong>Computer</strong> <br /> <input name="Gymnastics" type="checkbox" value="y" <Cfif parameterexists(form.Gymnastics) and #form.Gymnastics# eq 'y'>checked</cfif>> <strong>Gymnastics</strong> <br /> <input name="CIT" type="checkbox" value="y" <Cfif parameterexists(form.CIT) and #form.CIT# eq 'y'>checked</cfif>><strong> Counselor in Training</strong> <br /> </Td> </Tr></Table> <Center><INPUT type=submit value="Search for a Camp!"></Center> </cfFORM> </td></Tr></Table> </cfif> <Cfif parameterexists(url.search)> <Cfquery name="Getcamps" datasource="cityguide"> select campname, id,city,state,description,advertiser,photo from camps where 1 = 1 <Cfif #parameterexists(form.campname)# and #form.campname# is not ''> and campname like '%#form.campname#%' </Cfif> <Cfif #parameterexists(form.daycamp)# and #form.daycamp# eq 'y'> and daycamp = 'y' </Cfif> <Cfif #parameterexists(form.overnight)# and #form.overnight# eq 'y'> and overnight = 'y' </Cfif> <Cfif #parameterexists(form.city)# and #form.city# is not 'All'> and city = '#form.city#' </Cfif> <Cfif #parameterexists(form.region)# and #form.region# is not 'All'> and region = '#form.region#' </Cfif> <Cfif #parameterexists(form.state)# and #form.state# is not 'All'> and state = '#form.state#' </Cfif> <Cfif #parameterexists(form.coed)# and #form.coed# is not 'All'> and coed = 'y' </Cfif> <Cfif #parameterexists(form.girlsonly)# and #form.girlsonly# is not 'All'> and girlsonly ='y' </Cfif> <Cfif #parameterexists(form.boysonly)# and #form.boysonly# is not 'All'> and boysonly = 'y' </Cfif> <Cfif #parameterexists(form.advertiser)# and #form.advertiser# is not 'All'> and advertiser = 1 </Cfif> <Cfif #parameterexists(form.startage)# and #form.startage# is not 'All'> and startage > #form.startage# </Cfif> <Cfif #parameterexists(form.endage)# and #form.endage# is not 'All'> and endage < #form.endage# </Cfif> <Cfif #parameterexists(form.academics)# and #form.academics# is not 'All'> and academics ='y' </Cfif> <Cfif #parameterexists(form.aerobics)# and #form.aerobics# is not 'All'> and aerobics = 'y' </Cfif> <Cfif #parameterexists(form.Aquatics)# and #form.Aquatics# is not 'All'> and Aquatics = 'y'</Cfif> <Cfif #parameterexists(form.Archery)# and #form.Archery# is not 'All'> and Archery = 'y'</Cfif> <Cfif #parameterexists(form.ArtsCrafts)# and #form.ArtsCrafts# is not 'All'> and ArtsCrafts = 'y'</Cfif> <Cfif #parameterexists(form.Backpacking)# and #form.Backpacking# is not 'All'> and Backpacking = 'y'</Cfif> <Cfif #parameterexists(form.BaseballSoftball)# and #form.BaseballSoftball# is not 'All'> and BaseballSoftball = 'y'</Cfif> <Cfif #parameterexists(form.Basketball)# and #form.Basketball# is not 'All'> and Basketball = 'y'</Cfif> <Cfif #parameterexists(form.Bicycling)# and #form.Bicycling# is not 'All'> and Bicycling = 'y'</Cfif> <Cfif #parameterexists(form.Boating)# and #form.Boating# is not 'All'> and Boating = 'y'</Cfif> <Cfif #parameterexists(form.Camping)# and #form.Camping# is not 'All'> and Camping = 'y'</Cfif> <Cfif #parameterexists(form.Ceramics)# and #form.Ceramics# is not 'All'> and Ceramics = 'y'</Cfif> <Cfif #parameterexists(form.Climbing)# and #form.Climbing# is not 'All'> and Climbing = 'y'</Cfif> <Cfif #parameterexists(form.Clowning)# and #form.Clowning# is not 'All'> and Clowning = 'y'</Cfif> <Cfif #parameterexists(form.Computer)# and #form.Computer# is not 'All'> and Computer = 'y'</Cfif> <Cfif #parameterexists(form.Gymnastics)# and #form.Gymnastics# is not 'All'> and Gymnastics = 'y'</Cfif> <Cfif #parameterexists(form.CIT)# and #form.CIT# is not 'All'> and CIT = 'y'</Cfif> <Cfif #parameterexists(form.Dance)# and #form.Dance# is not 'All'> and Dance = 'y'</Cfif> <Cfif #parameterexists(form.Drama)# and #form.Drama# is not 'All'> and Drama = 'y'</Cfif> <Cfif #parameterexists(form.Drawing)# and #form.Drawing# is not 'All'> and Drawing = 'y'</Cfif> <Cfif #parameterexists(form.Golf)# and #form.Golf# is not 'All'> and Golf = 'y'</Cfif> <Cfif #parameterexists(form.Hiking)# and #form.Hiking# is not 'All'> and Hiking = 'y'</Cfif> <Cfif #parameterexists(form.Soccer)# and #form.Soccer# is not 'All'> and Soccer = 'y'</Cfif> <Cfif #parameterexists(form.Hockey)# and #form.Hockey# is not 'All'> and Hockey = 'y'</Cfif> <Cfif #parameterexists(form.Horseback)# and #form.Horseback# is not 'All'> and Horseback = 'y'</Cfif> <Cfif #parameterexists(form.Tennis)# and #form.Tennis# is not 'All'> and Tennis = 'y'</Cfif> <Cfif #parameterexists(form.Music)# and #form.Music# is not 'All'> and Music = 'y'</Cfif> order by campname </Cfquery> <Cfelse> <Cfquery name="Getcamps" datasource="cityguide"> select campname, id,city,state,description,advertiser,photo from camps where 1 = 1 and advertiser =1 order by campname </Cfquery> </Cfif> <p></center></center></center></center></center></center></div> <font face=verdana size=-1> <Cfoutput query="Getcamps"> <cfif #id# is not #id[currentrow]# -1> <Table width="100%"><tr><Td> <font face=verdana size=-1> <cfif #advertiser# eq 1 and #photo# is not ''> <img src="http://www.cityguideny.com/listingsphotos/#photo#" border=0 align="left" hspace="10"> </cfif> <a href="campsedit.cfm?id=#id#"> <strong>#campname#<br /></strong></a> <Small>#city#, #state#<br></Small> #description# <hr /> </Td></tr></Table> </cfif> </Cfoutput> </cfif> </td></tr></table> <cfinclude template="/footer2.cfm">