| 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 : |
<cfinclude template="header.cfm"> <div id="content"> <div id="content-header"> </div> <div class="container-fluid" style="margin-left:200px;"> <cfif parameterexists(Session.email) and (Session.email IS NOT -1)> <cfif (#getuser.accesslevel# eq 100)> <table width=100%><tr><td> <div align="center"><font face=verdana size=+1><strong>NYMP Media Kit Requests Stats</strong></font> </div> <font face=verdana size=-1><br /><br> <table border="1" cellpadding="4" cellspacing="0"> <Tr> <Td style="vertical-align: top;padding:4px;"><h2>BY DATE</h2> <cfquery name="geter" dataSource="cityguide"> select date(datetime) as date, count(id) as counter from mediakit group by date order by date desc <Cfif not parameterexists(url.dayofweek)> limit 0, 90 <Cfelse> limit 0, 400 </cfif> </cfquery> <Cfif not parameterexists(url.dayofweek)> <table border="1" cellpadding="4" cellspacing="0"> <tr><Td style="padding:4px;"><B>DATE</Td><td style="padding:4px;"><B>TOTAL</td></tr> <cfoutput query="geter"> <Tr><Td><a href="nympmediakitstats.cfm?dayofweek=#dateformat(date,'dddd')#">#dateformat(date,'dddd')#</a> #dateformat(date,' mmm, d yyyy')#</Td><td>#counter#</td> </Tr> </cfoutput> </table> <Cfelse> <table border="1" cellpadding="4" cellspacing="0"> <tr><Td style="padding:4px;"><B>DATE</Td><td style="padding:4px;"><B>TOTAL</td></tr> <cfoutput query="geter"> <Cfif #dateformat(date,'dddd')# eq '#url.dayofweek#'> <Tr><Td style="padding:4px;"><a href="nympmediakitstats.cfm?dayofweek=#dateformat(date,'dddd')#">#dateformat(date,'dddd')#</a> #dateformat(date,' mmm, d yyyy')#</Td><td style="padding:4px;">#counter#</td> </Tr> </Cfif> </cfoutput> </table> </Cfif> </Td> <Cfif not parameterexists(url.dayofweek)> <Td style="vertical-align: top;"><h2>BY MONTH</h2> <cfquery name="geter" dataSource="cityguide"> select month(datetime) as month, year(datetime) as year, count(id) as counter from mediakit group by month(datetime), year(datetime) order by year(datetime) desc, month(datetime) desc limit 0, 90 </cfquery> <table border="1" cellpadding="4" cellspacing="0"> <tr><Td style="padding:4px;"><B>DATE</Td><td style="padding:4px;"><B>TOTAL</td></tr> <cfoutput query="geter"> <Tr><Td style="padding:4px;"> <Cfif #month# eq '1'>January<cfset daycount = 31></Cfif> <Cfif #month# eq '2'>February<cfset daycount = 28></Cfif> <Cfif #month# eq '3'>March<cfset daycount = 31></Cfif> <Cfif #month# eq '4'>April<cfset daycount = 30></Cfif> <Cfif #month# eq '5'>May<cfset daycount = 31></Cfif> <Cfif #month# eq '6'>June<cfset daycount = 30></Cfif> <Cfif #month# eq '7'>July<cfset daycount = 31></Cfif> <Cfif #month# eq '8'>August<cfset daycount = 31></Cfif> <Cfif #month# eq '9'>September<cfset daycount = 30></Cfif> <Cfif #month# eq '10'>October<cfset daycount = 31></Cfif> <Cfif #month# eq '11'>November<cfset daycount = 30></Cfif> <Cfif #month# eq '12'>December<cfset daycount = 31></Cfif> #year#</Td><td style="padding:4px;">#counter#</td> </Tr> </Cfoutput> </Cfif> </table> </Td> </Table> </td></tr></table> </cfif> </cfif>