| 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/cgny/public_html/2019/ |
Upload File : |
<Cfinclude template="header.cfm">
<cfinclude template="rossavings.cfm">
<main>
<div class="white_bg" >
<div class="container margin_60" style="max-width: 600px;">
<div class="main_title">
<h2>Contact CityGuideNY.com</span></h2>
</div>
<!-- Containers -->
<cfif not parameterexists(form.date1) or #form.date1# eq ''>
Error, you must enter the dates of your trip.
<br> <a href = "javascript:history.back()"> Go back </a>
<cfabort>
</cfif>
<cfparam name="form.subject" default="#form.date1#">
<cfif not parameterexists(form.email) or #form.email# eq ''>
Error, you must enter your email address.
<br> <a href = "javascript:history.back()"> Go back </a>
<cfabort>
</cfif>
<cfif not parameterexists(form.name) or #form.name# eq ''>
Error, you must enter your name.
<br> <a href = "javascript:history.back()"> Go back </a>
<cfabort>
</cfif>
<cfif not parameterexists(form.groupname) or #form.groupname# eq 'Please Pick One'>
Error, you must pick a type of group.
<br> <a href = "javascript:history.back()"> Go back </a>
<cfabort>
</cfif>
<cfif parameterexists(form.captchatext) and '#form.captchatext#' eq '#form.chide#'>
<cfparam name="form.wherefrom" default="">
<cfparam name="form.questiontype" default="">
<cfparam name="form.groupname" default="">
<cfparam name="form.numberinparty" default="">
<cfset temp=Evaluate("blurb")>
<CFSET CurrentDateTime = #CreateODBCDateTime(Now())#>
<cfif #form.email# eq ''>
<Cfset emailfrom = '[email protected]'>
<cfelse>
<cfset emailfrom = '#form.email#'>
</cfif>
<cfif #form.questiontype# eq 'Dining'><cfset toadd="[email protected]"></cfif>
<cfif #form.questiontype# eq 'Shopping'><cfset toadd="[email protected]"></cfif>
<cfif #form.questiontype# eq 'Nightlife'><cfset toadd="[email protected]"></cfif>
<cfif #form.questiontype# eq 'Theater'><cfset toadd="[email protected]"></cfif>
<cfif #form.questiontype# eq 'Transportation'><cfset toadd="[email protected]"></cfif>
<cfif #form.questiontype# eq 'Sightseeing'><cfset toadd="[email protected]"></cfif>
<cfif #form.questiontype# eq 'Sightseeing'><cfset toadd="[email protected]"></cfif>
<Cfif parameterexists(url.microsite)>
<cfset sendto = '[email protected],
[email protected],
[email protected],[email protected]'>
<Cfelse>
<cfset sendto = '[email protected],
[email protected],
[email protected],
[email protected],[email protected]'>
</Cfif>
<cfif #form.questiontype# eq 'Restaurants'>
<cfset sendto = '[email protected],
[email protected],
[email protected],[email protected]'>
</Cfif>
<CFMAIL
TO="[email protected],
[email protected],
[email protected], [email protected]"
FROM="CGNY <[email protected]>"
SUBJECT="City Guide - #form.questiontype# Group Planning Inquiry - #form.subject#"
SERVER="127.0.0.1"
>
Name: #form.name#
Email: #form.email#
Message: #temp#
Type of Group: #form.groupname#
Group is From: #form.wherefrom#
Group Size: #form.numberinparty#
Dates: #form.subject#
Date and Time submitted: #dateformat(currentdatetime,'yyyy-mm-dd')# at #TimeFormat(currentdatetime, 'h:mm tt')#
<Cfif #url.from# eq 'archives'>
From: Archives Page
<cfelseif #url.from# contains 'listing'>
#url.from#
<cfelse>
From: https://www.cityguideny.com/article/#url.from#
</Cfif>
</cfmail>
<cfquery name=addphoto datasource="#ds#">
INSERT INTO groupdb (
questiontype,
subject,
author,
temp,
groupname,
numberinparty,
email,
wherefrom,
dt)
VALUES (
'#form.questiontype#',
'#form.subject#',
'#form.name#',
'#form.blurb#',
'#form.groupname#',
'#form.numberinparty#',
'#form.email#',
'#form.wherefrom#',
#currentdatetime#)
</cfquery>
<table border="0" cellpadding="8" cellspacing="0" width="100%">
<tr>
<td valign="top">
<cfoutput>
<h1 class="header">Ask the Experts</h1></strong><br>
<table width=100% cellspacing=0 cellpadding=0 bgcolor=#color#><tr><td></td></tr></table></cfoutput>
<center>
<p>
<font face=verdana size=+1>Thanks for contacting City Guide, one of our group planning experts will be in touch shortly!
<p>
For more Group Travel content, tips and recommendations - <a href="http://www.cityguideny.com/articles/Group-Travel">Click Here</a>.
<p>
</td></tr></table>
<cfelse>
Error, incorrect captcha entered, <a href="javascript:history.back()">Click Here to Go Back</a>
</cfif>
</div>
</div>
</div>
</div>
</div>
</main>
<cfinclude template="footer.cfm">