| Server IP : 172.67.201.108 / Your IP : 216.73.216.191 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/newadmin/ |
Upload File : |
<cfinclude template="header.cfm">
<div id="content">
<div id="content-header">
</div>
<div class="container-fluid" style="margin-left:300px;">
<Cfif parameterexists(url.id)>
<cfquery name="geter" dataSource="#ds#">
select *
from ganyc
where id = #url.id#
order by id desc
</cfquery>
<cfset moveurl = reReplace(geter.nameoftour, "([^[:alnum:]|[:blank:]]) ", "", "all")>
<cfset moveurl = #reReplaceNoCase(moveurl, "[^a-z0-9]", "-", "all")#>
<Cfset moveurl = rereplace(moveurl," ","-","ALL")>
<cfset moveurl = rereplace(moveurl,"'","-","ALL")>
<cfset xxx = len(moveurl)>
<cfset xxx2 = xxx -1>
<Cfif #left(moveurl,1)# eq '-'>
<cfset moveurl = '#right(moveurl,xxx2)#'>
</cfif>
<cfset xxx = len(moveurl)>
<cfset xxx2 = xxx -1>
<Cfif #left(moveurl,1)# eq '-'>
<cfset moveurl = '#right(moveurl,xxx2)#'>
</cfif>
<CFQUERY name="addl" datasource="#ds#">
INSERT INTO ToursAttractions (name,address,city,state,zip,adrankml,contactname,phone,advertiser,fax,email,website,lastupdated,description,fulldescription,catid,contactfirst,contactlist,contacttitle,contactemail,contactphone,dateadded,iguide,seo_friendly)
values ('#geter.nameoftour#','','','','',0,'','#geter.phone1#',0,'','#geter.email#','#geter.website#',#currentdatetime#,'#geter.descriptionoftour#','',5,'','','','','#geter.phone2#',#currentdatetime#,'No','#moveurl#')
</CFQUERY>
<Cfquery name="Getid" datasource="#ds#">
select id
from ToursAttractions
order by id desc
limit 0,1
</Cfquery>
<cfquery name=addphoto datasource="cg22">
INSERT INTO blogregionstablecat (blogid,regionin)
VALUES (#getid.id#,5)
</cfquery>
<cfsavecontent variable="saveme">
<cfoutput>
<cfif #geter.photo2# is not ''>
<br><img src="https://www.cityguideny.com/listingsphotos/#geter.photo2#" width="600"><br>
</cfif>
<h2>Inside Scoop: #geter.nameoftour#</h2>
#geter.descriptionoftour#
<cfif #geter.photo3# is not ''>
<br><br><img src="https://www.cityguideny.com/listingsphotos/#geter.photo3#" width="600"><br>
</cfif>
<h2>From Your Guide: #geter.nameoftour#</h2>
#geter.fromyourguide#
<cfif #geter.photo4# is not ''>
<br><br><img src="https://www.cityguideny.com/listingsphotos/#geter.photo4#" width="600"><br>
</cfif>
<h2>Specialties: #geter.nameoftour#</h2>
#geter.specialties#
<h2>Connecting with #geter.nameoftour#</h2>
<Cfif #geter.email# is not ''><a href="mailto:#geter.email#" target="+new"><img src="/gmemail.gif" width="30" height="30" style="width:30px;height:30px;"></a> </Cfif>
<Cfif #geter.facebook# is not ''><a href="#geter.facebook#" target="+new"><img src="/gmfb.gif" width="30" height="30" style="width:30px;height:30px;"></a> </Cfif>
<Cfif #geter.instagram# is not ''><a href="#geter.instagram#" target="+new"><img src="/gminsta.gif" width="30" height="30" style="width:30px;height:30px;"></a> </Cfif>
<Cfif #geter.twitter# is not ''><a href="#geter.twitter#" target="+new"><img src="/gmtwit.gif" width="30" height="30" style="width:30px;height:30px;"></a> </Cfif>
<Cfif #geter.tripadvisor# is not ''><a href="#geter.tripadvisor#" target="+new"><img src="/gmtrip.gif" width="30" height="30" style="width:30px;height:30px;"></a></Cfif>
<p>
#geter.video#
</cfoutput>
</cfsavecontent>
<cfquery name="upds" dataSource="#ds#">
update ToursAttractions
set enhancedlisting = '#saveme#'
where id = #getid.id#
</cfquery>
<Cflocation url="https://www.cityguideny.com/newadmin/listingsedit.cfm?id=#getid.id#&table=ToursAttractions&requesttimeout=50000" addToken="no">
<cfabort>
</Cfif>
<center>
<p>
<center><font color="red">
<strong>GANYC Admin: </strong>
</font></center>
<p>
<table cellspacing=0 cellpadding=0 border=1>
<tr><td colspan=2>
<font face=verdana size=-1>
<cfquery name="getsites" datasource="#ds#">
select *
from ganyc
order by id desc
</cfquery>
</div>
<table width="100%" border="1" cellpadding="4">
<tr bgcolor="black">
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b></td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>ID</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>NameofTour</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>DescriptionofTour</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>FromYourGuide</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Specialties</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Email</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Phone1</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Phone2</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Website</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Facebook</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Instagram</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Twitter</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>TripAdvisor
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Photo1</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Photo2</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Photo3</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>photo4</td>
<td style="padding:4px;"> <font face=verdana size=-1 color=white><b>Video</td>
</tr>
<cfoutput query="getsites">
<tr bgcolor="white">
<td style="padding:4px;"> <font face=verdana size=-1 ><a href="ganycadmin.cfm?id=#ID#">make micro</a></td>
<td style="padding:4px;"> <font face=verdana size=-1 >#ID#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#NameofTour#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#DescriptionofTour#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#FromYourGuide#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Specialties#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Email#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Phone1#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Phone2#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Website#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Facebook#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Instagram#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Twitter#</td>
<td style="padding:4px;"> <font face=verdana size=-1 >#TripAdvisor#</td>
<td style="padding:4px;"> <font face=verdana size=-1 ><Cfif #photo1# is not ''><a href="https://www.cityguideny.com/listingsphotos/#Photo1#">pic</a></Cfif></td>
<td style="padding:4px;"> <font face=verdana size=-1 ><Cfif #photo2# is not ''><a href="https://www.cityguideny.com/listingsphotos/#Photo2#">pic</a></Cfif></td>
<td style="padding:4px;"> <font face=verdana size=-1 ><Cfif #photo3# is not ''><a href="https://www.cityguideny.com/listingsphotos/#Photo3#">pic</a></Cfif></td>
<td style="padding:4px;"> <font face=verdana size=-1 ><Cfif #photo4# is not ''><a href="https://www.cityguideny.com/listingsphotos/#Photo4#">pic</a></Cfif></td>
<td style="padding:4px;"> <font face=verdana size=-1 >#Video#</td>
</tr>
</cfoutput>
</table>