| 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/newadmin/ |
Upload File : |
<Cfif parameterexists(url.add)>
<cfquery name=addphoto datasource="#ds#">
INSERT INTO cgevent(eventname,regularprice,kidprice,seniorprice)
VALUES ('',0.00,0.00,0.00)
</cfquery>
<Cfquery name="Geter" dataSource="#ds#">
select id from cgevent order by id desc limit 0,1
</Cfquery>
<cflocation url="cg-events-edit.cfm?id=#geter.id#" addtoken="no" statuscode="301">
</cfif>
<cfcontent type="text/html;charset=iso-8859-1">
<cfprocessingDirective pageencoding="iso-8859-1">
<cfset setEncoding("Form", "ISO-8859-15")>
<cfif DirectoryExists('/home/home2/cgny/public_html/listingsupload/#url.id#')>
<cfelse>
<cfdirectory action = "create" directory = "/home/home2/cgny/public_html/listingsupload/#url.id#" mode="777" >
</cfif>
<cfif DirectoryExists('/home/home2/cgny/public_html/2019/uploads2/#url.id#')>
<cfelse>
<cfdirectory action = "create" directory = "/home/home2/cgny/public_html/2019/uploads2/#url.id#" mode="777" >
</cfif>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link rel="stylesheet" type="text/css" href="/bwwstyles1.css" media="all">
<cfif not parameterexists(session.email) or #session.email# eq '' or #session.email# eq '-1'>
<Cfabort>
</cfif>
<cfparam name="getsubq.subcatid" default="0">
<CFSET CurrentDateTime = #CreateODBCDateTime(Now())#><cfif session.email eq ''><cfset Session.email = -1></cfif><cfif IsDefined("Cookie.email")><cfset Session.email = Cookie.email></cfif>
<cfinclude template="header.cfm">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<div id="content">
<div id="content-header">
</div>
<div class="container-fluid" style="margin-left:200px;">
<cfif parameterexists(url.edit)>
<cfparam name="form.adrankml" default="0">
<cfif #form.adrankml# eq '0'>
<cfset #form.adrankml# = 0>
</cfif>
<cfparam name="form.ccainfo" default="">
<cfparam name="form.ccadesc" default="">
<cfparam name="form.trackingpixel" default="">
<CFQUERY datasource="#ds#">
UPDATE cgevent
SET
eventname = '#form.eventname#',
venue = '#form.venue#',
address = '#form.address#',
city = '#form.city#',
state = '#form.state#',
zip = '#form.zip#',
seo_friendly= '#form.seo_friendly#',
phone = '#form.phone#',
website = '#form.website#',
dater = '#form.dater#',
starttime = '#form.starttime#',
endtime = '#form.endtime#',
descriptionofevent = '#form.copyedit#',
facebook = '#form.facebook#',
instagram = '#form.instagram#',
contactperson = '#form.contactperson#',
contactphone = '#form.contactphone#',
contactemail = '#form.contactemail#',
closingdate = '#form.closingdate#',
maxtix = #form.maxtix#,
regularprice = #form.regularprice#,
kidprice = #form.kidprice#,
soldouttext = '#form.soldouttext#',
soldoutconfirmationpage = '#form.soldoutconfirmationpage#',
soldoutconfirmationemail = '#form.soldoutconfirmationemail#',
seniorprice = #form.seniorprice#,
confirmationemail = '#form.confirmationemail#',
confirmationpage = '#form.confirmationpage#'
WHERE ID = #form.id#
</CFQUERY>
done
<cfif parameterexists(form.cropp) and #form.cropp# is not ''>
<cfset robpic = #createUUID()#>
<cfset ds='cityguide'>
<cfset imagepath="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic">
<cfset thumbpath="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic">
<cfset imagedir="https://www.cityguideny.com/columnpic">
<cfset thumbdir="https://www.cityguideny.com/columnpic">
<cffile action="upload"
nameconflict="makeunique"
filefield="cropp"
accept="image/jpeg,image/pjpeg,image/png"
destination="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/#robpic#.jpg"
mode="644">
<!---
<cffile action="upload"
nameconflict="makeunique"
filefield="photo"
accept="image/jpeg,image/pjpeg,image/png"
destination="#imagepath#/#robpic#.jpg"
mode="644">
--->
<cfset #file.serverfile# = '#robpic#.jpg'>
<cfset photo = "#File.ServerFile#">
<cftry>
<!--- Try to get image info --->
<cfimage action="info" source="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/#photo#" structname="cmyk" />
<cfcatch type="any">
<cffile action="copy"
source="#imagepath#/#robpic#.jpg"
destination="#imagepath#/original#robpic#.jpg"
mode="644">
<!--- If it fails convert to RGB and Strip Information with ImageMagick --->
<cfexecute name="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/img_to_rgb.sh"
arguments="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/#photo# /home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/#photo#"
timeout="30" variable="msg" />
</cfcatch>
</cftry>
<!--- Image can now be read
<cfimage action="info" source="/home/home2/domains/parentsknow.com/public_html/eventpic/#photo#" structname="cmyk" />--->
<Cfimage action="resize" width="600" height="" source="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/#photo#"
destination="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/a600#photo#" overwrite="true">
<cffile action="copy" mode="777" source="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/a600#photo#" destination="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/600#photo#">
<Cfimage action="resize" width="200" height="200"
source="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/#photo#"
destination="/home/home2/domains/parentsknow.com/public_html/newsite2018/2020/eventpic/150#photo#" overwrite="true">
<cfset thumbnail = '150#photo#'>
<Cfquery name="upds" dataSource="#ds#">
update cgevent
set photo = '600#photo#'
where id = #form.id#
</cfquery>
</cfif>
<cfelse>
<cfquery name="getrecord" datasource="#ds#">
select *
from cgevent
where id = #url.id#
</cfquery>
<Cfoutput>
<cfif #getrecord.photo# is not ''><img src="https://www.cityguideny.com/eventpic/#getrecord.photo#"></cfif>
</Cfoutput>
<cfoutput><FORM action="cg-events-edit.cfm?edit=on&id=#url.id#" method="post" enctype="multipart/form-data"> </cfoutput>
<cfoutput><input NAME="id" MAXLENGTH="200" TYPE="hidden" value="#url.id#">
<table>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Event SEO Friendly Link:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="seo_friendly" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.seo_friendly#"></td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Event Name:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="eventname" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.eventname#"></td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Venue Name:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="venue" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.venue#"></td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Address:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="Address" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.Address#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">City:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="City" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.City#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">State:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="State" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.State#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Zip:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="Zip" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.Zip#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Phone:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="Phone" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.Phone#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Web Site:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="website" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.website#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Facebook:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="Facebook" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.Facebook#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Instagram:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="Instagram" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.Instagram#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP width=20><b><font face="Arial" size="+0">Contact:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="contactperson" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.contactperson#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Phone:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="contactPhone" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.contactPhone#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Email:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="contactEmail" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.contactEmail#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Event Date (yyyy-mm-dd):</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="dater" MAXLENGTH="200" TYPE="text" SIZE="30" value="#dateformat(getrecord.dater,'yyyy-mm-dd')#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Photo :</font></b></td>
<td><input type=file name="cropp">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Closing Date (yyyy-mm-dd):</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="closingdate" MAXLENGTH="200" TYPE="text" SIZE="30" value="#dateformat(getrecord.closingdate,'yyyy-mm-dd')#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Start Time:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="starttime" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.starttime#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">End Time:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="endtime" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.endtime#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Max Tickets:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="maxtix" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.maxtix#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Regular Price:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="regularprice" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.regularprice#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Kid Price:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="kidprice" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.kidprice#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Senior Price:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="seniorprice" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.seniorprice#">
</td>
</tr>
</table>
<!-- /tinyMCE -->
</td>
</tr>
</table>
Description of Event:</font></b><Br />
<cfcookie name = "folderme"
value = "#Now()#"
expires = "NOW">
<cfcookie name = "folderme" value = "/uploads2/#url.id#/">
<Cfparam name="url.beta" default="on">
<script src="ckeditor46z27e/ckeditor.js?asd2" charset="utf-8"></script>
<script type="text/javascript" src="ckfinder3511/ckfinder.js?as441" charset="utf-8"></script>
<textarea id="myarea12" class="ckeditor" name="copyedit" >#htmlEditFormat(getrecord.descriptionofevent)#</textarea>
<script type="text/javascript">
CKEDITOR.on( 'dialogDefinition', function( ev ) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if ( dialogName == 'link' ){
var targetTab = dialogDefinition.getContents( 'target' );
var targetDropdown = targetTab.get( 'linkTargetType' );
targetDropdown.default = '_blank';
}
} );
CKFinder.setupCKEditor( editor, 'ckfinder34/' ) ;
var editor = CKEDITOR.replace( 'copyedit',{
extraAllowedContent : 'object(*);param(*);embed(*);p(*);script(*);form(*);input(*);div(*);blockquote(*)'
});
editor.on( 'instanceReady', function() {
console.log( editor.filter.allowedContent );
} );
</script>
<br><br>
<!-- /tinyMCE -->
<b><font face="Arial" size="+0">Confirmation Page:</font></b><Br />
<cfcookie name = "folderme"
value = "#Now()#"
expires = "NOW">
<cfcookie name = "folderme" value = "/uploads2/#url.id#/">
<Cfparam name="url.beta" default="on">
<textarea id="myarea123" class="ckeditor" name="confirmationpage" style="height:600px;">#htmlEditFormat(getrecord.confirmationpage)#</textarea>
<script type="text/javascript">
CKEDITOR.on( 'dialogDefinition', function( ev ) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if ( dialogName == 'link' ){
var targetTab = dialogDefinition.getContents( 'target' );
var targetDropdown = targetTab.get( 'linkTargetType' );
targetDropdown.default = '_blank';
}
} );
CKFinder.setupCKEditor( editor, 'ckfinder34/' ) ;
var editor = CKEDITOR.replace( 'confirmationpage',{
extraAllowedContent : 'object(*);param(*);embed(*);p(*);script(*);form(*);input(*);div(*);blockquote(*)'
});
editor.on( 'instanceReady', function() {
console.log( editor.filter.allowedContent );
} );
</script>
<br><br>
<!-- /tinyMCE -->
<b><font face="Arial" size="+0">Confirmation Email:</font></b><Br />
<cfcookie name = "folderme"
value = "#Now()#"
expires = "NOW">
<cfcookie name = "folderme" value = "/uploads2/#url.id#/">
<Cfparam name="url.beta" default="on">
<textarea id="myarea123" class="ckeditor" name="confirmationemail" style="height:600px;">#htmlEditFormat(getrecord.confirmationemail)#</textarea>
<script type="text/javascript">
CKEDITOR.on( 'dialogDefinition', function( ev ) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if ( dialogName == 'link' ){
var targetTab = dialogDefinition.getContents( 'target' );
var targetDropdown = targetTab.get( 'linkTargetType' );
targetDropdown.default = '_blank';
}
} );
CKFinder.setupCKEditor( editor, 'ckfinder34/' ) ;
var editor = CKEDITOR.replace( 'confirmationemail',{
extraAllowedContent : 'object(*);param(*);embed(*);p(*);script(*);form(*);input(*);div(*);blockquote(*)'
});
editor.on( 'instanceReady', function() {
console.log( editor.filter.allowedContent );
} );
</script>
<br><br>
<!-- /tinyMCE -->
<b><font face="Arial" size="+0">Free Invitation Text:</font></b><Br />
<cfcookie name = "folderme"
value = "#Now()#"
expires = "NOW">
<cfcookie name = "folderme" value = "/uploads2/#url.id#/">
<Cfparam name="url.beta" default="on">
<textarea id="myarea123" class="ckeditor" name="soldouttext" style="height:600px;">#htmlEditFormat(getrecord.soldouttext)#</textarea>
<script type="text/javascript">
CKEDITOR.on( 'dialogDefinition', function( ev ) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if ( dialogName == 'link' ){
var targetTab = dialogDefinition.getContents( 'target' );
var targetDropdown = targetTab.get( 'linkTargetType' );
targetDropdown.default = '_blank';
}
} );
CKFinder.setupCKEditor( editor, 'ckfinder34/' ) ;
var editor = CKEDITOR.replace( 'soldouttext',{
extraAllowedContent : 'object(*);param(*);embed(*);p(*);script(*);form(*);input(*);div(*);blockquote(*)'
});
editor.on( 'instanceReady', function() {
console.log( editor.filter.allowedContent );
} );
</script>
<br><br>
<!-- /tinyMCE -->
<b><font face="Arial" size="+0">Confirmation Page for Wait List:</font></b><Br />
<cfcookie name = "folderme"
value = "#Now()#"
expires = "NOW">
<cfcookie name = "folderme" value = "/uploads2/#url.id#/">
<Cfparam name="url.beta" default="on">
<textarea id="myarea123" class="ckeditor" name="soldoutconfirmationpage" style="height:600px;">#htmlEditFormat(getrecord.soldoutconfirmationpage)#</textarea>
<script type="text/javascript">
CKEDITOR.on( 'dialogDefinition', function( ev ) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if ( dialogName == 'link' ){
var targetTab = dialogDefinition.getContents( 'target' );
var targetDropdown = targetTab.get( 'linkTargetType' );
targetDropdown.default = '_blank';
}
} );
CKFinder.setupCKEditor( editor, 'ckfinder34/' ) ;
var editor = CKEDITOR.replace( 'soldoutconfirmationpage',{
extraAllowedContent : 'object(*);param(*);embed(*);p(*);script(*);form(*);input(*);div(*);blockquote(*)'
});
editor.on( 'instanceReady', function() {
console.log( editor.filter.allowedContent );
} );
</script>
<br><br>
<!-- /tinyMCE -->
<b><font face="Arial" size="+0">Confirmation Email for Wait List:</font></b><Br />
<cfcookie name = "folderme"
value = "#Now()#"
expires = "NOW">
<cfcookie name = "folderme" value = "/uploads2/#url.id#/">
<Cfparam name="url.beta" default="on">
<textarea id="myarea123" class="ckeditor" name="soldoutconfirmationemail" style="height:600px;">#htmlEditFormat(getrecord.soldoutconfirmationemail)#</textarea>
<script type="text/javascript">
CKEDITOR.on( 'dialogDefinition', function( ev ) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if ( dialogName == 'link' ){
var targetTab = dialogDefinition.getContents( 'target' );
var targetDropdown = targetTab.get( 'linkTargetType' );
targetDropdown.default = '_blank';
}
} );
CKFinder.setupCKEditor( editor, 'ckfinder34/' ) ;
var editor = CKEDITOR.replace( 'soldoutconfirmationemail',{
extraAllowedContent : 'object(*);param(*);embed(*);p(*);script(*);form(*);input(*);div(*);blockquote(*)'
});
editor.on( 'instanceReady', function() {
console.log( editor.filter.allowedContent );
} );
</script>
</cfoutput>
</table>
</table>
</table>
</table>
<br><br><br><input type="submit" value="Submit the form" style="font-size:14pt;">
<p><input type="submit" value="Submit the form">
</form></center>
</cfif>
<p>
</div>
</div>
</div>
</div>
<!-- /.row -->
<cfinclude template="footer.cfm">