| 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 : |
<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 liveeventpackages
SET
package = '#form.package#',
typer = '#form.typer#',
packagetext = '#form.packagetext#',
packateconfirmationpage = '#form.packateconfirmationpage#',
packageconfirmationemail = '#form.packageconfirmationemail#',
numtickets = #form.numtickets#,
price = #form.price#
WHERE ID = #form.id#
</CFQUERY>
done
<Cfelse>
<cfquery name="getrecord" datasource="#ds#">
select *
from liveeventpackages
where id = #url.id#
</cfquery>
<cfoutput><FORM action="cg-liveevent-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">Package Name:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="package" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.package#"></td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Type:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="typer" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.typer#"></td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Number of Tickets:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="numtickets" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.numtickets#">
</td>
</tr>
<tr>
<td style="padding:5px;" VALIGN=TOP><b><font face="Arial" size="+0">Price:</font></b></td>
<td style="padding:5px;" VALIGN=TOP><input NAME="price" MAXLENGTH="200" TYPE="text" SIZE="30" value="#getrecord.price#">
</td>
</tr>
</table>
<!-- /tinyMCE -->
</td>
</tr>
</table>
Description of Package:</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?asd" charset="utf-8"></script>
<script type="text/javascript" src="ckfinder34/ckfinder.js?asd" charset="utf-8"></script>
<textarea id="myarea12" class="ckeditor" name="packagetext" >#htmlEditFormat(getrecord.packagetext)#</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( 'packagetext',{
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="packateconfirmationpage" style="height:600px;">#htmlEditFormat(getrecord.packateconfirmationpage)#</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( 'packateconfirmationpage',{
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="packageconfirmationemail" style="height:600px;">#htmlEditFormat(getrecord.packageconfirmationemail)#</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( 'packageconfirmationemail',{
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">