| Server IP : 104.21.21.239 / 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/2019/ |
Upload File : |
<cfif parameterexists(url.id) and isnumeric(url.id)> <cfset today=#DateFormat(now(),"yyyy-mm-dd")#> <cfquery name="getstats" datasource="#ds#"> select * from ListingsRelatedStats where showdate = '#today#' and showid = #url.id# and mag = 1 </cfquery> <Cfif #getstats.recordcount# gt 0> <CFQUERY datasource="#ds#"> UPDATE ListingsRelatedStats SET views = views + 1 WHERE ID = #getstats.id# </CFQUERY> <cfelse> <cfquery name=addphoto datasource="#ds#"> INSERT INTO ListingsRelatedStats (showid,showdate,views,tablename,mag) VALUES (#url.id#,'#today#',1,'related',1) </cfquery> </CFIF> <cfquery name="getlistings" datasource="#ds#"> select link from ListingsRelated where id = #url.id# </cfquery> <Cfif #getlistings.recordcount# eq 0 or getlistings.link eq ''> Not found, <a href="/discounts.cfm">click here for the latest discounts</a>. </cfif> <cfquery name=addphoto datasource="#ds#"> INSERT INTO tickettrack (ticketid,datetime,ipadd,browser) VALUES (#url.id#,#currentdatetime#,'#CGI.REMOTE_ADDR#','#CGI.HTTP_USER_AGENT#') </cfquery> <Cfif #getlistings.link# is not ''> <cflocation url="#getlistings.link#" addtoken="no" statuscode="301"> </cfif> <cfelse> <cflocation url="/discounts.cfm" addtoken="no" statuscode="301"> </cfif>