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/scheduled/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/nympadmin/scheduled/dailyreport.cfm
<cfsetting requesttimeout="300">
<Cfif #dateformat(currentdatetime,'dddd')# eq 'Sunday' or 
#dateformat(currentdatetime,'dddd')# eq 'Tuesday'>
No Report Today
	<cfabort>
</Cfif>	 

<Cfif #dateformat(currentdatetime,'dddd')# eq 'Wednesday' or #dateformat(currentdatetime,'dddd')# eq 'Thursday' or #dateformat(currentdatetime,'dddd')# eq 'Friday' or #dateformat(currentdatetime,'dddd')# eq 'Saturday'><Cfset today = dateadd('d',-2,currentdatetime)>
</Cfif>	

<Cfif #dateformat(currentdatetime,'dddd')# eq 'Monday'><Cfset today = dateadd('d',-3,currentdatetime)>
</Cfif>	

<cfsavecontent variable="reporter">

<Cfoutput><h1>Report for #dateformat(today,'dddd mmmm d, yyyy')#</h1></Cfoutput>

<Cfquery name="Geter" dataSource="cityguidero">
select columntable.title, columntable.postedby,columnmaster.authorname, datesubmitted,columntable.id,columntable.dateposted as dtentered, columntable.region, regions.name,  count(newmastertrack.id) as views,columntable.seo_friendly
from newmastertrack FORCE INDEX (statme)   inner join columntable on newmastertrack.idnumber = columntable.id inner join regionstable on regionstable.colid = columntable.ID
inner join regions on regionstable.regionsid = regions.id
inner join columnmaster on columntable.columnnum = columnmaster.id

where newmastertrack.mag = 5
and newmastertrack.typer = 'article'
and newmastertrack.id > 25853140

and date(columntable.dateposted) = '#dateformat(today,'yyyy-mm-dd')#'
and date(newmastertrack.datetime) >= '#dateformat(today,'yyyy-mm-dd')#'

and columntable.status = 1
and columntable.mag = 5
and newmastertrack.idnumber > 10000
group by newmastertrack.idnumber
order by views desc
limit 0,1000

</cfquery>

<H2>New Articles</H2>
<table width="600" border="1" cellpadding="4" cellspacing="0">
<tr style="background-color: black;">
<td><font color="white"><b>Headline</b></td>
<td><font color="white"><b>Category</b></td>
<td><font color="white"><b>Posted</b></td>
<td><font color="white"><b>Author</b></td>
<td><font color="white"><b>Region</b></td>
<td><font color="white"><b>Submitted</b></td>

<td><font color="white"><b>Views</b></td>
<td><font color="white"><b>Total Views</b></td>

</tr>		
	
<cfoutput query="geter">
<TR bgcolor="#IIf(CurrentRow Mod 2, DE('ffffff'), DE('ffffcf'))#"><Td><a href="https://www.nymetroparents.com/article/#seo_friendly#"><b>#title#</b></a></Td><td>#name#</td><td>#postedby#</td><td>#authorname#</td>
<td>#region#</td>
<Td>#dateformat(datesubmitted,'m/d/yy')#</Td>
<cfquery name="getcount" dataSource="cityguidero">
	select count(newmastertrack.id) as views
	from newmastertrack
	where newmastertrack.mag = 5
and newmastertrack.typer = 'article'
and newmastertrack.idnumber = #id#
and date(newmastertrack.datetime) >= '#dateformat(today,'yyyy-mm-dd')#'


</cfquery>
<td>#getcount.views#</td>



<cfquery name="getcounttotal" dataSource="cityguidero">
	select count(newmastertrack.id) as views
	from newmastertrack
	where newmastertrack.mag = 5
and newmastertrack.typer = 'article'
and newmastertrack.idnumber = #id#


</cfquery>
<td>#getcounttotal.views#</td>


</tr>
</cfoutput>
</table>




<Cfquery name="Geter" dataSource="cityguidero">
select columntable.title, columntable.postedby, columnmaster.authorname,columntable.id,columntable.dateposted as dtentered, regions.name,  columntable.region,count(newmastertrack.id) as views,columntable.seo_friendly,editedby,datesubmitted
from newmastertrack FORCE INDEX (statme)   inner join columntable on newmastertrack.idnumber = columntable.id inner join regionstable on regionstable.colid = columntable.ID
inner join regions on regionstable.regionsid = regions.id
inner join columnmaster on columntable.columnnum = columnmaster.id
where newmastertrack.mag = 5
and newmastertrack.typer = 'article'
and date(columntable.lastedit) = '#dateformat(today,'yyyy-mm-dd')#'
and date(columntable.dateposted) <> '#dateformat(today,'yyyy-mm-dd')#'
and newmastertrack.id > 25853140

and columntable.status = 1
and columntable.mag = 5

and newmastertrack.idnumber > 10000
group by newmastertrack.idnumber
order by views desc
limit 0,1000

</cfquery>

<H2>Updated Articles</H2>
<table width="600" border="1" cellpadding="4" cellspacing="0">
	<tr style="background-color: black;">
<td><font color="white"><b>Headline</b></td>
<td><font color="white"><b>Category</b></td> 
<td><font color="white"><b>Posted</b></td>
<td><font color="white"><b>Author</b></td>
<td><font color="white"><b>Region</b></td>
<td><font color="white"><b>Submitted</b></td>

<td><font color="white"><b>Views</b></td>
<td><font color="white"><b>Total Views</b></td>

</tr>		
<cfoutput query="geter">
<TR bgcolor="#IIf(CurrentRow Mod 2, DE('ffffff'), DE('ffffcf'))#"><Td><a href="https://www.nymetroparents.com/article/#seo_friendly#"><b>#title#</b></a></Td><td>#name#</td><td>#rereplace(editedby,'@davlermedia.com','')#</td><td>#authorname#</td>

<td>#region#</td>
<Td>#dateformat(datesubmitted,'m/d/yy')#</Td>

<Cfset newd = dateadd('d',-1,today)>
<td><cfquery name="getcount" dataSource="cityguidero">
	select count(newmastertrack.id) as views
	from newmastertrack
	where newmastertrack.mag = 5
and newmastertrack.typer = 'article'
and date(newmastertrack.datetime) > '#dateformat(newd,'yyyy-mm-dd')#'

and newmastertrack.idnumber = #id#
</cfquery>
#getcount.views#
</td>

<td><cfquery name="getcounttotal" dataSource="cityguidero">
	select count(newmastertrack.id) as views
	from newmastertrack
	where newmastertrack.mag = 5
and newmastertrack.typer = 'article'
and newmastertrack.idnumber = #id#
</cfquery>
#getcounttotal.views#
</td>


</tr>
</cfoutput>
</table>
</cfsavecontent>

<Cfoutput>
	#reporter#</Cfoutput>



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

The below data shows the view counts for articles newly posted or freshly updated on #dateformat(today,'dddd mmmm d, yyyy')#".
<p></p>
#reporter#


</cfmail>


</cfif>

Youez - 2016 - github.com/yon3zu
LinuXploit