| Server IP : 172.67.201.108 / 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/domains/nycyouth/ |
Upload File : |
<cfinclude template="/header.cfm">
<style>
.block-form-8 .form-control {
--cnvs-input-btn-input-bg: var(--cnvs-contrast-200);
--cnvs-input-btn-input-color: var(--cnvs-contrast-1000);
--cnvs-input-focus-color: var(--cnvs-input-btn-input-color);
}
.block-form-8 .form-select {
background-color: var(--cnvs-contrast-200);
}
</style>
</head>
<body class="stretched block-form-8">
<!-- Document Wrapper
============================================= -->
<div id="wrapper">
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap" style="background: linear-gradient(to bottom, #f9f5f2 640px, var(--cnvs-contrast-0) 640px);">
<img src="images/blocks/preview/pattern.svg" alt=".." class="position-absolute top-0 start-0 op-01 w-100">
<div class="w-100 h-100 position-absolute top-0 left-0" style="background: linear-gradient(to bottom, transparent 640px, var(--cnvs-contrast-0) 640px);"></div>
<div class="container mw-lg">
<div class="row justify-content-between col-mb-30">
<div class="col-lg-5">
<cfquery name="Getc" datasource="cg22">
select copy from columntable where id = 157289
</cfquery>
<cfoutput>#getc.copy#</cfoutput>
</div>
<div class="col-lg-6">
<div class="card bg-contrast-0 rounded-6 border-0 shadow">
<div class="card-body p-5">
<div class="form-wi1dget">
<cfif structKeyExists(url, "form")>
<Cfquery name="checkuser" datasource="#ds#">
select id from familyfun_users
where email = '#form.email#'
</Cfquery>
<cfif #checkuser.recordcount# gt 0>
Error, user already exists. Need help? <a href="/contact.cfm">Contact Us</a>...
</div>
</section><!-- #content end -->
</div><!-- #wrapper end -->
<cfinclude template="/footer.cfm">
<cfabort>
</cfif>
<cfparam name="form.full_name" default="">
<cfparam name="form.address" default="">
<cfparam name="form.city" default="">
<cfparam name="form.age_range" default="">
<cfparam name="form.state" default="">
<cfparam name="form.zip" default="">
<cfparam name="form.email" default="">
<cfparam name="form.submitting_personnel_title" default="">
<cfparam name="form.phone" default="">
<cfparam name="form.website" default="">
<cfparam name="form.experience_nature" default="">
<cfparam name="form.experience_nature_other" default="">
<cfparam name="form.indoors_outdoors" default="">
<cfparam name="form.appropriate_ppl" default="">
<cfparam name="form.age_range_attendees" default="">
<cfparam name="form.times_days_offered" default="">
<cfparam name="form.educational_component" default="">
<cfparam name="form.adult_staffing" default="">
<cfparam name="form.sensory_friendly" default="">
<cfparam name="form.sensory_friendly_explanation" default="">
<cfparam name="form.potential_risks" default="">
<cfparam name="form.wheelchair_accessible" default="">
<cfparam name="form.languages_spoken" default="">
<cfparam name="form.languages_spoken_other" default="">
<cfparam name="form.experience_duration" default="">
<cfparam name="form.social_handles_instagram" default="">
<cfparam name="form.social_handles_facebook" default="">
<cfparam name="form.social_handles_twitter" default="">
<cfparam name="form.social_handles_tiktok" default="">
<cfparam name="form.description" default="">
<cfif structKeyExists(form, "template-contactform-submit")>
<!--- Perform validation and data sanitization --->
<!--- Add your own validation logic here --->
<!--- Insert the data into the database --->
<cfquery name="insertRecord" datasource="cg22" result="results">
INSERT INTO familyfun_organizations
(organization_name, address, address2, city, state, zip, email, submitting_personnel_title, phone_number, website_social_media, c3_number, is_title1_school, mission_focus, age_range, adult_child_ratio, signature)
VALUES
(
<cfqueryparam value="#form.organization_name#" cfsqltype="cf_sql_varchar" maxlength="255">,
<cfqueryparam value="#form.address#" cfsqltype="cf_sql_varchar" maxlength="255">,
<cfqueryparam value="#form.address2#" cfsqltype="cf_sql_varchar" maxlength="255">,
<cfqueryparam value="#form.city#" cfsqltype="cf_sql_varchar" maxlength="100">,
<cfqueryparam value="#form.state#" cfsqltype="cf_sql_varchar" maxlength="100">,
<cfqueryparam value="#form.zip#" cfsqltype="cf_sql_varchar" maxlength="20">,
<cfqueryparam value="#form.email#" cfsqltype="cf_sql_varchar" maxlength="255">,
<cfqueryparam value="#form.submitting_personnel_title#" cfsqltype="cf_sql_varchar" maxlength="100">,
<cfqueryparam value="#form.phone_number#" cfsqltype="cf_sql_varchar" maxlength="20">,
<cfqueryparam value="#form.website_social_media#" cfsqltype="cf_sql_varchar" maxlength="255">,
<cfqueryparam value="#form.c3_number#" cfsqltype="cf_sql_varchar" maxlength="50">,
<cfqueryparam value="#form.is_title1_school#" cfsqltype="cf_sql_varchar" maxlength="3">,
<cfqueryparam value="#form.mission_focus#" cfsqltype="cf_sql_longvarchar">,
<cfqueryparam value="#form.age_range#" cfsqltype="cf_sql_varchar" maxlength="100">,
<cfqueryparam value="#form.adult_child_ratio#" cfsqltype="cf_sql_varchar" maxlength="50">,
<cfqueryparam value="#form.signature#" cfsqltype="cf_sql_longvarchar">
)
</cfquery>
<cfquery name="insertRecord" datasource="cg22" result="results">
INSERT INTO familyfun_users
(email,password,isa,associated)
VALUES
(
<cfqueryparam value="#form.email#" cfsqltype="cf_sql_varchar" maxlength="255">,
<cfqueryparam value="#form.password#" cfsqltype="cf_sql_varchar" maxlength="255">,
'Organization',#results.generatedkey#
)
</cfquery>
<!--- Redirect to the success page --->
</cfif>
<!--- Display success message or redirect to a success page --->
<div class="form-result">
<cfquery name="getc" datasource="cg22">
select copy from columntable where id = 157290
</cfquery>
<Cfoutput>#getc.copy#</Cfoutput>
<cfquery name="getc" datasource="cg22">
select copy from columntable where id = 157291
</cfquery>
<CFMAIL
TO="#form.email#"
SUBJECT="Family Fun Days Venue Submission"
FROM="[email protected]"
SERVER="us-smtp-outbound-1.mimecast.com"
type="html"
>#getc.copy#
</cfmail>
</div>
<cfelse>
<form class="mb-0" action="/organizations.cfm?form" method="post">
<div class="row">
<div class="col-12 form-group">
<label for="organization-name">What is the full name of the organization? <small>*</small></label>
<input type="text" id="organization-name" name="organization_name" value="" class="form-control required">
</div>
<div class="col-12 form-group">
<label for="organization-address">Address</label>
<input type="text" id="organization-address" name="address" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label for="organization-address2">Address 2</label>
<input type="text" id="organization-address2" name="address2" value="" class="form-control">
</div>
<div class="col-12 col-md-6 form-group">
<label for="organization-city">City</label>
<input type="text" id="organization-city" name="city" value="" class="form-control">
</div>
<div class="col-12 col-md-6 form-group">
<label for="organization-state">State</label>
<input type="text" id="organization-state" name="state" value="" class="form-control">
</div>
<div class="col-12 col-md-6 form-group">
<label for="organization-zip">Zip</label>
<input type="text" id="organization-zip" name="zip" value="" class="form-control">
</div>
<div class="col-12 col-md-6 form-group">
<label for="organization-email">Email</label>
<input type="email" id="organization-email" name="email" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label for="submitting-personnel-title">Title of submitting personnel</label>
<input type="text" id="submitting-personnel-title" name="submitting_personnel_title" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label for="template-contactform-personnel-title">Password</label>
<input type="text" id="template-contactform-personnel-title" name="password" value="" class="form-control" placeholder="Pick a password to allow you to login.">
</div>
<div class="col-12 form-group">
<label for="organization-phone">Phone Number of organization</label>
<input type="text" id="organization-phone" name="phone_number" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label for="organization-website-social">What is the website and social media of the organization?</label>
<input type="text" id="organization-website-social" name="website_social_media" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label for="organization-c3-number">What is the 501C3 number of the organization (if applicable and a copy of your designation may be requested)</label>
<input type="text" id="organization-c3-number" name="c3_number" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label>Are you a Title 1 school? (if applicable)</label>
<div class="form-check">
<input class="form-check-input" type="radio" name="is_title1_school" id="title1-school-yes" value="Yes">
<label class="form-check-label" for="title1-school-yes">Yes</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="is_title1_school" id="title1-school-no" value="No" checked>
<label class="form-check-label" for="title1-school-no">No</label>
</div>
</div>
<div class="col-12 form-group">
<label for="organization-mission">What is the organization’s mission / focus?</label>
<textarea class="form-control" id="organization-mission" name="mission_focus" rows="5"></textarea>
</div>
<div class="col-12 form-group">
<label for="organization-age-range">What is the age range for children in the organization?</label>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="age_range[]" id="age-range-0-4" value="0-4yo">
<label class="form-check-label" for="age-range-0-4">0-4 years old</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="age_range[]" id="age-range-5-10" value="5-10yo">
<label class="form-check-label" for="age-range-5-10">5-10 years old</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="age_range[]" id="age-range-11-13" value="11-13yo">
<label class="form-check-label" for="age-range-11-13">11-13 years old</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="age_range[]" id="age-range-14-18" value="14-18yo">
<label class="form-check-label" for="age-range-14-18">14-18 years old</label>
</div>
</div>
<div class="col-12 form-group">
<label for="organization-adult-child-ratio">Adult supervision is required. What is the ratio of adults to kids?</label>
<input type="text" id="organization-adult-child-ratio" name="adult_child_ratio" value="" class="form-control">
</div>
<div class="col-12 form-group">
<label>By signing electronically below Organization agrees to any additional fees incurred beyond gratis admission for all Experiences chosen, once approved as a participating organization.</label>
<input type="text" id="organization-signature" name="signature" value="" class="form-control">
</div>
<div class="col-12 form-group">
<button class="button button-large button-dark rounded m-0" type="submit" id="template-contactform-submit" name="template-contactform-submit" value="submit">Submit</button>
</div>
</div>
</form>
</cfif>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section><!-- #content end -->
</div><!-- #wrapper end -->
<cfinclude template="/footer.cfm">