403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/nympadmin/mbactivities.cfm
<cfsavecontent variable="reporter">

<Cfset weeker = dateadd('d',-7, currentdatetime)>

<cfquery name="getevents" datasource="#ds#">
select id,astart,aend,venuename,phone,description,event,address,city,state,nympregion,zip,dateend,website,contactemail,cost,time,ages
from ActivityPlannerHold
where 1=1
and dtentered > #weeker#
and ages like '%tod%'
and (catid = 0 and catid2 = 0)
order by dateend 
limit 0,10
</cfquery>

<cfoutput query="getevents">
<b>#event# at #venuename#<br>
<b>Dates:</b> #astart#-#aend#</b><br>
<b>Address:</b> #address#, #city#, #state#, #zip#<Br>
<b>Submitted By:</b> #contactemail#<br>
<b>Website:</b> <a href="#website#">#website#</a><Br>
<b>Phone:</b> #phone#<br>
	<b>Age(s):</b> <Cfset newages = #replace(ages,',',', ','all')#><Cfset newages = #replace(newages,'All Ages','All ages','all')#><cfif #newages# eq 'All' or #newages# eq 'All Ages'>All<cfelse>

<Cfif #newages# contains 'BAB' and #newages# contains 'ToD'>
Newborn-5
<Cfelseif 	 #newages# contains 'BAB' and #newages# contains 'ToD' and #newages# contains 'YE'>
Newborn-8
<Cfelseif 	 #newages# contains 'BAB' and #newages# contains 'ToD' and #newages# contains 'YE'
 and #newages# contains 'TW'
>
Newborn-12
<Cfelseif 	 #newages# contains 'BAB' and #newages# contains 'ToD' and #newages# contains 'YE'
 and #newages# contains 'TW' and #newages# contains 'TE'>
Newborn-17
<Cfelseif 	 #newages# contains 'BAB' and #newages# contains 'ToD' and #newages# contains 'YE'
 and #newages# contains 'TW' and #newages# contains 'TE'  and #newages# contains 'AD'>
All Ages
<Cfelseif #newages# contains 'ToD'
 and #newages# contains 'AD'
and #newages# contains 'YE'
 and #newages# contains 'TW' and #newages# contains 'TE' and #newages# does not contain 'BAB'>
3 and older

<Cfelseif  #newages# contains 'YE'
 and #newages# contains 'AD'
 and #newages# contains 'TW' and #newages# contains 'TE' and #newages# does not contain 'BAB'  and #newages# does not contain 'TOD'>
5 and older
<Cfelseif  #newages# contains 'AD'
 and #newages# contains 'TW' and #newages# contains 'TE' and #newages# does not contain 'BAB'  and #newages# does not contain 'TOD' and newages does not contain 'YE'>
9 and older

<Cfelseif  #newages# contains 'AD'
 and #newages# does not contain 'TW' and #newages# contains 'TE' and #newages# does not contain 'BAB'  and #newages# does not contain 'TOD' and newages does not contain 'YE'>
13 and older


<Cfelseif #newages# contains 'TOD' and newages contains 'YE' and newages contains 'TW' and newages contains 'TE' and newages does not contain 'AD'>
3-17

<Cfelseif #newages# contains 'TOD' and newages contains 'YE' and newages contains 'TW' and newages does not contain 'TE' and newages does not contain 'AD'>
3-12

<Cfelseif #newages# contains 'TOD' and newages contains 'YE' and newages does not contain 'TW' and newages does not contain 'TE' and newages does not contain 'AD'>
3-8

<cfelseif newages contains 'YE' and newages contains 'TW' and newages contains 'TE' and newages does not contain 'BAB' and newages does not contain 'AD'>
5-17

<cfelseif newages contains 'YE' and newages contains 'TW' and newages does not contain 'TE' and newages does not contain 'BAB' and newages does not contain 'AD'>
5-12


<cfelseif newages contains 'TW' and newages contains 'TE' and newages does not contain 'TOD' and newages does not contain 'BAB' and newages does not contain 'AD'>
9-17
<cfelseif newages contains 'YE' and newages contains 'TW' and newages does not contain 'TOD' and newages does not contain 'BAB' and newages contains 'AD' and newages does not contain 'TE'>
5-12, Adult


<cfelse>
	<cfset newages = rereplace(newages,'BAB','0-2','ALL')>
	<cfset newages = rereplace(newages,'TOD','3-5','ALL')>
	<cfset newages = rereplace(newages,'YE','5-8','ALL')>
	<cfset newages = rereplace(newages,'TW','9-12','ALL')>
	<cfset newages = rereplace(newages,'TE','13-17','ALL')>
	<cfset newages = rereplace(newages,'AD','Adult','ALL')>


	#newages#
	</cfif></cfif><br>

	<b>Cost:</b> #cost#<br>
	<b>Time:</b> #time#<p>
	#paragraphformat(description)#

<hr>
</cfoutput>

</cfsavecontent>
 
<Cfoutput>#reporter#</Cfoutput>
<cfif parameterexists(url.sendit)>
<CFMAIL
TO="[email protected]"
SUBJECT="NYMP Calendar Submissions for #dateformat(today,'dddd mmmm d, yyyy')#"
        FROM="NYMP <[email protected]>"
SERVER="us-smtp-outbound-1.mimecast.com"
type="html">

The below data shows events submitted to the NYMP Calendar for Brooklyn, Manhattan and Queens for ages 0-5. 
<p></p>
#reporter#


</cfmail>


</cfif>

Youez - 2016 - github.com/yon3zu
LinuXploit