| 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/nympadmin/ |
Upload File : |
<cfcontent type="text/html;charset=iso-8859-1">
<cfprocessingDirective pageencoding="iso-8859-1">
<cfset setEncoding("Form", "ISO-8859-15")>
<cfinclude template="header.cfm">
<div id="content">
<div id="content-header">
</div>
<div class="container-fluid" style="margin-left:200px;">
<cfquery name="getum" dataSource="#ds#">
select * from ParentsListingsNewHold
<cfif parameterexists(url.id)>
where id = #url.id#
<cfelse>
order by id desc
</cfif></cfquery>
<cfif parameterexists(url.id)>
<Cfif parameterexists(url.copy)>
<Cfif #getum.offername6# is not ''>
<Cfquery name="Gecheck" dataSource="#ds#">
select id from ParentsListingsTab where micrositeid = #getum.linkid#
and type = 'Page3'
</cfquery>
<Cfif #Gecheck.recordcount# eq 0>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page3',1)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page3',2)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page3',3)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page3',4)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page3',5)
</cfquery></Cfif>
<Cfif #getum.offername6# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername6#',
subhead = '#getum.offerrange6#',
text = '#getum.offerabout6#',
button1link = '#getum.offerlink6#'
where micrositeid = #getum.linkid#
and type = 'Page3'
and orderid = 1
</cfquery>
</Cfif>
<Cfif #getum.offername7# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername7#',
subhead = '#getum.offerrange7#',
text = '#getum.offerabout7#',
button1link = '#getum.offerlink7#'
where micrositeid = #getum.linkid#
and type = 'Page3'
and orderid = 2
</cfquery>
</Cfif>
<Cfif #getum.offername8# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername8#',
subhead = '#getum.offerrange8#',
text = '#getum.offerabout8#',
button1link = '#getum.offerlink8#'
where micrositeid = #getum.linkid#
and type = 'Page3'
and orderid = 3
</cfquery>
</Cfif>
<Cfif #getum.offername9# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername9#',
subhead = '#getum.offerrange9#',
text = '#getum.offerabout9#',
button1link = '#getum.offerlink9#'
where micrositeid = #getum.linkid#
and type = 'Page3'
and orderid = 4
</cfquery>
</Cfif>
<Cfif #getum.offername10# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername10#',
subhead = '#getum.offerrange10#',
text = '#getum.offerabout10#',
button1link = '#getum.offerlink10#'
where micrositeid = #getum.linkid#
and type = 'Page3'
and orderid = 5
</cfquery>
</Cfif>
</Cfif>
<Cfif #getum.offername11# is not ''>
<Cfquery name="Gecheck" dataSource="#ds#">
select id from ParentsListingsTab where micrositeid = #getum.linkid#
and type = 'Page4'
</cfquery>
<Cfif #Gecheck.recordcount# eq 0>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page4',1)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page4',2)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page4',3)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page4',4)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page4',5)
</cfquery></Cfif>
<Cfif #getum.offername11# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername11#',
subhead = '#getum.offerrange11#',
text = '#getum.offerabout11#',
button1link = '#getum.offerlink11#'
where micrositeid = #getum.linkid#
and type = 'Page4'
and orderid = 1
</cfquery>
</Cfif>
<Cfif #getum.offername12# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername12#',
subhead = '#getum.offerrange12#',
text = '#getum.offerabout12#',
button1link = '#getum.offerlink12#'
where micrositeid = #getum.linkid#
and type = 'Page4'
and orderid = 2
</cfquery>
</Cfif>
<Cfif #getum.offername13# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername13#',
subhead = '#getum.offerrange13#',
text = '#getum.offerabout13#',
button1link = '#getum.offerlink13#'
where micrositeid = #getum.linkid#
and type = 'Page4'
and orderid = 3
</cfquery>
</Cfif>
<Cfif #getum.offername14# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername14#',
subhead = '#getum.offerrange14#',
text = '#getum.offerabout14#',
button1link = '#getum.offerlink14#'
where micrositeid = #getum.linkid#
and type = 'Page4'
and orderid = 4
</cfquery>
</Cfif>
<Cfif #getum.offername15# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername15#',
subhead = '#getum.offerrange15#',
text = '#getum.offerabout15#',
button1link = '#getum.offerlink15#'
where micrositeid = #getum.linkid#
and type = 'Page4'
and orderid = 5
</cfquery>
</Cfif>
</Cfif>
<Cfif #getum.offername11# eq ''>
<cfquery name="upds" datasource="#ds#">
Update ParentsListings
set newtext1 = '#getum.about#',tab2type = 'Template', tab3type = 'Template', tab4type = 'Contact',
newtitle1 = 'About Us', newsubtitle1 = 'About #getum.businessname#',
newtitle2 = '', newtitle3 = 'Photo Gallery',
socialinstagram = '#getum.instagram#',socialfb = '#getum.facebook#'
where id = #getum.linkid#
</cfquery>
<cfelse>
<cfquery name="upds" datasource="#ds#">
Update ParentsListings
set newtext1 = '#getum.about#',tab2type = 'Template',tab3type = 'Template', tab4type = 'Template',
newtitle1 = 'About Us', newsubtitle1 = 'About #getum.businessname#',
newtitle2 = '', newtitle3 = 'Photo Gallery',
socialinstagram = '#getum.instagram#',socialfb = '#getum.facebook#'
where id = #getum.linkid#
</cfquery>
</Cfif>
<Cfquery name="Gecheck" dataSource="#ds#">
select id from ParentsListingsTab where micrositeid = #getum.linkid#
and type = 'Page1'
</cfquery>
<Cfif #Gecheck.recordcount# eq 0>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page1',1)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page1',2)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page1',3)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page1',4)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page1',5)
</cfquery>
</Cfif>
<Cfif #getum.teamname1# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.teamname1#',
subhead = '#getum.teamtitle1#',
<Cfif #getum.teamheadshot1# is not ''>
image = 'https://www.nymetroparents.com/newmicro/#getum.id#/#getum.teamheadshot1#',
</cfif>
text = '#getum.teambio1#'
where micrositeid = #getum.linkid#
and type = 'Page1'
and orderid = 1
</cfquery>
</Cfif>
<Cfif #getum.teamname2# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.teamname2#',
subhead = '#getum.teamtitle2#',
<Cfif #getum.teamheadshot2# is not ''> image = 'https://www.nymetroparents.com/newmicro/#getum.id#/#getum.teamheadshot2#',
</cfif>
text = '#getum.teambio2#'
where micrositeid = #getum.linkid#
and type = 'Page1'
and orderid = 2
</cfquery>
</Cfif>
<Cfif #getum.teamname3# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.teamname3#',
subhead = '#getum.teamtitle3#',
<Cfif #getum.teamheadshot3# is not ''> image = 'https://www.nymetroparents.com/newmicro/#getum.id#/#getum.teamheadshot3#',
</cfif>
text = '#getum.teambio3#'
where micrositeid = #getum.linkid#
and type = 'Page1'
and orderid = 3
</cfquery>
</Cfif>
<Cfif #getum.teamname4# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.teamname4#',
subhead = '#getum.teamtitle4#',
<Cfif #getum.teamheadshot4# is not ''> image = 'https://www.nymetroparents.com/newmicro/#getum.id#/#getum.teamheadshot4#',
</cfif>
text = '#getum.teambio4#'
where micrositeid = #getum.linkid#
and type = 'Page1'
and orderid = 4
</cfquery>
</Cfif>
<Cfif #getum.teamname5# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.teamname5#',
subhead = '#getum.teamtitle5#',
<Cfif #getum.teamheadshot5# is not ''> image = 'https://www.nymetroparents.com/newmicro/#getum.id#/#getum.teamheadshot5#',
</Cfif>
text = '#getum.teambio5#'
where micrositeid = #getum.linkid#
and type = 'Page1'
and orderid = 5
</cfquery>
</Cfif>
<Cfquery name="Gecheck" dataSource="#ds#">
select id from ParentsListingsTab where micrositeid = #getum.linkid#
and type = 'Page2'
</cfquery>
<Cfif #Gecheck.recordcount# eq 0>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page2',1)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page2',2)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page2',3)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page2',4)
</cfquery>
<cfquery name=addphoto datasource="cityguide">
INSERT INTO ParentsListingsTab (micrositeid,type,orderid)
VALUES (#getum.linkid#,'Page2',5)
</cfquery></Cfif>
<Cfif #getum.offername1# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername1#',
subhead = '#getum.offerrange1#',
text = '#getum.offerabout1#',
button1link = '#getum.offerlink1#'
where micrositeid = #getum.linkid#
and type = 'Page2'
and orderid = 1
</cfquery>
</Cfif>
<Cfif #getum.offername2# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername2#',
subhead = '#getum.offerrange2#',
text = '#getum.offerabout2#',
button1link = '#getum.offerlink2#'
where micrositeid = #getum.linkid#
and type = 'Page2'
and orderid = 2
</cfquery>
</Cfif>
<Cfif #getum.offername3# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername3#',
subhead = '#getum.offerrange3#',
text = '#getum.offerabout3#',
button1link = '#getum.offerlink3#'
where micrositeid = #getum.linkid#
and type = 'Page2'
and orderid = 3
</cfquery>
</Cfif>
<Cfif #getum.offername4# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername4#',
subhead = '#getum.offerrange4#',
text = '#getum.offerabout4#',
button1link = '#getum.offerlink4#'
where micrositeid = #getum.linkid#
and type = 'Page2'
and orderid = 4
</cfquery>
</Cfif>
<cfquery name="upds" dataSource="#ds#">
update ParentsListings
set newtoptitle2 = '#getum.tabtitle2#',
newtoptitle3 = '#getum.tabtitle3#',
newtoptitle4 = '#getum.tabtitle4#'
where id = #getum.linkid#
</cfquery>
<Cfif #getum.offername5# is not ''>
<Cfquery name="upda" dataSource="#ds#">
update ParentsListingsTab
set title = '#getum.offername5#',
subhead = '#getum.offerrange5#',
text = '#getum.offerabout5#',
button1link = '#getum.offerlink5#'
where micrositeid = #getum.linkid#
and type = 'Page2'
and orderid = 5
</cfquery>
</Cfif>
<cfquery name="upds" datasource="#ds#">
Update ParentsListings
set
name = '#getum.businessname#',
Address = '#getum.address#',
City = '#getum.city#',
State = '#getum.address#',
Zip = '#getum.zip#',
phone = '#getum.phone#',
website = '#getum.website#',
slideshow = '#getum.videoembed#',
socialfb = '#getum.facebook#',
socialinstagram = '#getum.instagram#'
where
id = #getum.linkid#
</cfquery>
</Cfif>
<br><cfoutput>
<a href="microsites.cfm?copy=on&id=#url.id#">Copy to Microsite</a> | <a href="listingseditpk.cfm?id=#getum.linkid#&table=ParentsListings&cat=0&catid=0" target="_new">Microsite Edit</a><br><br>
</cfoutput>
<table>
<cfoutput query="getum">
<Tr><Td style="padding:4px;"><b>datetime</td><td style="padding:4px;">#dateformat(getum.datetime,'m/d/yy')#</td></tr>
<Tr><Td style="padding:4px;"><b>businessname</td><td style="padding:4px;">#getum.businessname#</td></tr>
<Tr><Td style="padding:4px;"><b>address</td><td style="padding:4px;">#getum.address#</td></tr>
<Tr><Td style="padding:4px;"><b>address2</td><td style="padding:4px;">#getum.address2#</td></tr>
<Tr><Td style="padding:4px;"><b>city</td><td style="padding:4px;">#getum.city#</td></tr>
<Tr><Td style="padding:4px;"><b>state</td><td style="padding:4px;">#getum.state#</td></tr>
<Tr><Td style="padding:4px;"><b>zip</td><td style="padding:4px;">#getum.zip#</td></tr>
<Tr><Td style="padding:4px;"><b>phone</td><td style="padding:4px;">#getum.phone#</td></tr>
<Tr><Td style="padding:4px;"><b>website</td><td style="padding:4px;">#getum.website#</td></tr>
<Tr><Td style="padding:4px;"><b>account</td><td style="padding:4px;">#getum.account#</td></tr>
<Tr><Td style="padding:4px;"><b>multipleaddress</td><td style="padding:4px;">#getum.multipleaddress#</td></tr>
<Tr><Td style="padding:4px;"><b>contactfirstname</td><td style="padding:4px;">#getum.contactfirstname#</td></tr>
<Tr><Td style="padding:4px;"><b>contactlastname</td><td style="padding:4px;">#getum.contactlastname#</td></tr>
<Tr><Td style="padding:4px;"><b>contactemail</td><td style="padding:4px;">#getum.contactemail#</td></tr>
<Tr><Td style="padding:4px;"><b>contactphone</td><td style="padding:4px;">#getum.contactphone#</td></tr>
<Tr><Td style="padding:4px;"><b>instagram</td><td style="padding:4px;">#getum.instagram#</td></tr>
<Tr><Td style="padding:4px;"><b>facebook</td><td style="padding:4px;">#getum.facebook#</td></tr>
<Tr><Td style="padding:4px;"><b>about</td><td style="padding:4px;">#getum.about#</td></tr>
<Tr><Td style="padding:4px;"><b>Title 1</td><td style="padding:4px;">#getum.teamname1#</td></tr>
<Tr><Td style="padding:4px;"><b>Sub Title 1</td><td style="padding:4px;">#getum.teamtitle1#</td></tr>
<Tr><Td style="padding:4px;"><b>Text 1</td><td style="padding:4px;">#getum.teambio1#</td></tr>
<Tr><Td style="padding:4px;"><b>Image 1</td><td style="padding:4px;"><a href="https://www.nymetroparents.com/newmicro/#url.id#/#getum.teamheadshot1#" target="_new">#getum.teamheadshot1#</a></td></tr>
<Tr><Td style="padding:4px;"><b>Title 2</td><td style="padding:4px;">#getum.teamname2#</td></tr>
<Tr><Td style="padding:4px;"><b>Sub Title 2</td><td style="padding:4px;">#getum.teamtitle2#</td></tr>
<Tr><Td style="padding:4px;"><b>Text 2</td><td style="padding:4px;">#getum.teambio2#</td></tr>
<Tr><Td style="padding:4px;"><b>Image 2</td><td style="padding:4px;"><a href="https://www.nymetroparents.com/newmicro/#url.id#/#getum.teamheadshot2#" target="_new">#getum.teamheadshot2#</a></td></tr>
<Tr><Td style="padding:4px;"><b>Title 3</td><td style="padding:4px;">#getum.teamname3#</td></tr>
<Tr><Td style="padding:4px;"><b>Sub Title 3</td><td style="padding:4px;">#getum.teamtitle3#</td></tr>
<Tr><Td style="padding:4px;"><b>Text 3</td><td style="padding:4px;">#getum.teambio3#</td></tr>
<Tr><Td style="padding:4px;"><b>Image 3</td><td style="padding:4px;"><a href="https://www.nymetroparents.com/newmicro/#url.id#/#getum.teamheadshot3#" target="_new">#getum.teamheadshot3#</a></td></tr>
<Tr><Td style="padding:4px;"><b>Title 4</td><td style="padding:4px;">#getum.teamname4#</td></tr>
<Tr><Td style="padding:4px;"><b>Sub Title 4</td><td style="padding:4px;">#getum.teamtitle4#</td></tr>
<Tr><Td style="padding:4px;"><b>Text 4</td><td style="padding:4px;">#getum.teambio4#</td></tr>
<Tr><Td style="padding:4px;"><b>Image 4</td><td style="padding:4px;"><a href="https://www.nymetroparents.com/newmicro/#url.id#/#getum.teamheadshot4#" target="_new">#getum.teamheadshot4#</a></td></tr>
<Tr><Td style="padding:4px;"><b>Title 5</td><td style="padding:4px;">#getum.teamname5#</td></tr>
<Tr><Td style="padding:4px;"><b>Sub Title 5</td><td style="padding:4px;">#getum.teamtitle5#</td></tr>
<Tr><Td style="padding:4px;"><b>Text 5</td><td style="padding:4px;">#getum.teambio5#</td></tr>
<Tr><Td style="padding:4px;"><b>Image 5</td><td style="padding:4px;"><a href="https://www.nymetroparents.com/newmicro/#url.id#/#getum.teamheadshot5#" target="_new">#getum.teamheadshot5#</a></td></tr>
</table></cfoutput>
<cfelse>
<br>
<table style="width: 100%">
<tr>
<Td style="padding:4px;border-width:1px;border-style:solid;">
<b>VIEW</b>
</Td>
<Td style="padding:4px;border-width:1px;border-style:solid;">
<b>BUSINESS NAME</b>
</Td>
<Td style="padding:4px;border-width:1px;border-style:solid;">
<b>SUBMITTED</b>
</Td>
<Td style="padding:4px;border-width:1px;border-style:solid;">
<b>SALES</b>
</Td>
</tr>
<cfoutput query="getum">
<tr>
<Td style="padding:4px;border-width:1px;border-style:solid;"> <a href="microsites.cfm?id=#id#">edit</a></td>
<Td style="padding:4px;border-width:1px;border-style:solid;"> #businessname#</td>
<Td style="padding:4px;border-width:1px;border-style:solid;"> #dateformat(datetime,'m/d/yyyy')#</td>
<Td style="padding:4px;border-width:1px;border-style:solid;"> #account#</td>
</tr>
</cfoutput>
</table>
</cfif>
</div>
<!--Footer-part-->
<br><br><br><br>
<cfinclude template="footer.cfm">