403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.68
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/stealsadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/public_html/stealsadmin/previewcoupon.cfm
<cflocation url="https://www.samedaysavings.com/previewcoupon.cfm?couponid=#url.couponid#" addToken="no">
<cfabort>
<cfif parameterexists(url.redeemed)>
	<cfquery name=ydoa dataSource="#ds#">
		update steals.stealsvendorcoupons
		set numberavailable = numberavailable -1
		where couponid = #url.couponid#
	</cfquery>
</cfif>
<Cfquery name="getcoupon"	dataSource="#ds#">
		select * from steals.stealsvendorcoupons
		where couponid = #url.couponid#
</cfquery>
<Cfquery name="getcouponname"	dataSource="#ds#">
		select * from steals.stealsvendor
		where vendorid = #getcoupon.vendorid#
</cfquery>
<Cfquery name="getlocation"	dataSource="#ds#">
		select * from steals.stealsvendorlocations
		where locationid = #getcoupon.locationid#
</cfquery>


<Cfquery name="getinfo"	dataSource="#ds#">
		select * from steals.stealsvendorsinfo
		where vendorid = #getcoupon.vendorid#
</cfquery>


<html>
	<head>
		<title>Preview</title>
<link type="text/css" rel=stylesheet href='https://fonts.googleapis.com/css?family=Montserrat:400,700'/>
<meta name="viewport" content="width=device-width, initial-scale=1">

	</head>
<body style="background-color: white;margin:20px;font-family: 'Montserrat'">
	<center>
	<table style="width:80%;margin: 10px;border-color: red;border-style: dashed;border-width: 4px;background-color: white;">
		<tr><Td style="padding:30px;">

<center>			<table>
				<Tr><td><center><img src="https://www.cityguideny.com/steals/samedaysavings2.png?123=on" style="height:100px;vertical-align: top;">
						<cfif (#cgi.HTTP_USER_AGENT# contains 'iphone' or #cgi.http_user_agent# contains 'android') >
						<p></cfif>

				</td>

				</tr><tr>
				<td style="padding-left:15px;vertical-align: middle;"><Center>
				<cfoutput><img src="https://www.cityguideny.com/stealsimages/#getinfo.logo#" style="height:80px;"></cfoutput>	</Center></td>

			</table>	</center>

			<Cfoutput query="getcoupon">
				<center><h1 style="margin-bottom: 0px;padding-bottom: 0px;">#couponname# for #getcouponname.vendorname#</h1>
				<h2 style="margin-top:0px;">
					<table><tr><td><center>Expires: <Font color="red">#dateformat(expirationdate,'mm/dd/yyyy')#</Font>
					</center></td>

					<Cfif not parameterexists(url.orderid)>

					<cfelse>
					<td><center>Purchased: <Font color="red">#dateformat(now(),'mm/dd/yyyy')#</Font>
					</center></td>


					</Cfif>
					</tr></table>

					</h2>
					<h3>#getlocation.address# <Cfif #getlocation.address2# is not ''><br>#getlocation.address2#</Cfif> <br>#getlocation.city#, #getlocation.state# #getlocation.zip#<br>
				#getlocation.phone#  </h3>


<Cfif not parameterexists(url.orderid)>

<table>
<Cfif normalpriceadults is not ''>
<tr>
<Td>Adults:</Td>
<td><S>$#normalpriceadults#</S> - $#specialpriceadults#
</td>
<Cfset price = normalpriceadults - specialpriceadults>
<td>SAVE: <font color="red">$#price#</font>
</tr>
</Cfif>

<Cfif normalpricekids is not ''>
<tr>
<Td>Kids:</Td>
<td><S>$#normalpricekids#</S> - $#specialpricekids#
</td>
<Cfset price = normalpricekids - specialpricekids>
<td>SAVE: <font color="red">$#price#</font>
</tr>
</Cfif>

<Cfif normalpriceseniors is not ''>
<tr>
<Td>Seniors:</Td>
<td><S>$#normalpriceseniors#</S> - $#specialpriceseniors#
</td>
<Cfset price = normalpriceseniors - specialpriceseniors>
<td>SAVE: <font color="red">$#price#</font>
</tr>
</Cfif>

<Cfif otherprice is not ''>
<tr>
<Td>#otherprice#:</Td>
<td><S>$#normalprice#</S> - $#specialprice#
</td>
<Cfset price = normalprice - specialprice>
<td>SAVE: <font color="red">$#price#</font>
</tr>
</Cfif>
</table>					</center>
</Cfif>
<br>
	#description#

<p>
	Restrictions: <small>#restrictions#</small>


<cfif parameterexists(url.redeemed)><br>
	<center><font style="background-color:b20223;color: white;padding:10pt;font-size: 20pt;font-weight: bold;">COUPON CODE HAS BEEN USED</font></center><br><cfelse>
		<center>
		<script src="JsBarcode/dist/JsBarcode.all.js?ModPagespeed=off"></script>
	<script>
		Number.prototype.zeroPadding = function(){
			var ret = "" + this.valueOf();
			return ret.length == 1 ? "0" + ret : ret;
		};
	</script>
		<div>
		<img id="barcode2"/>
		<script>
			JsBarcode("##barcode2", "#codetypeinfo#", {
			<!---  format:"#codetype#",--->
			  displayValue:true,
			  fontSize:24,
			  lineColor: "##00c"
			});
		</script>
	</div>

<br><br>
Have a good day today!
</cfif>
				</Cfoutput>

	<p>

<Cfif parameterexists(url.orderid)>
	<Cfquery name="getorder" dataSource="#ds#">
		select * from steals.couponorder
		where id = #url.orderid#
    </cfquery>

    <cfoutput query="Getorder">
	    <font color="00c">
	    #firstname# #lastname#<br>
	    #address# #address2#
	    #city#, #state#, #zip#
	    <p>
		#email#
		<p>
		Adults: #adults#<br>
		Kids: #kids#<br>
		Senior: #senior#<br>
		Other: #other#<br>
		Total $#total#

	<p>
	    </font>


    </cfoutput>

    <Cfif not parameterexists(url.redeemed)>
	    <Cfoutput>
	    <a href="previewcoupon.cfm?couponid=#url.couponid#&redeemed=on">
	<button style="background-color:##000;color: white;font-size: 20pt;font-family: 'Montserrat';padding: 6px; ">CLICK TO MARK COUPON AS REDEEMED</button>
	</a>
	</center></Cfoutput></cfif>

</Cfif>

<div align=right>PREVIEW CODE - <Cfoutput>#right(createUUID(),8)#</Cfoutput></div>


		</Td></tr></table>
				Copyright 2017 Davler Media 					<cfif (#cgi.HTTP_USER_AGENT# contains 'iphone' or #cgi.http_user_agent# contains 'android') >
<br><cfelse>-</cfif> <a href="previewterms.cfm">Terms & Conditions</a>

 </center>

</body>
</html

Youez - 2016 - github.com/yon3zu
LinuXploit