Subversion Repositories SmartDukaan

Rev

Rev 4404 | Rev 4934 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4404 Rev 4494
Line 51... Line 51...
51
				</div>
51
				</div>
52
				<!-- /wrapper-->
52
				<!-- /wrapper-->
53
			</div>
53
			</div>
54
			
54
			
55
			#set($ismobile = $action.isMobile())
55
			#set($ismobile = $action.isMobile())
-
 
56
			#set($discounts = $action.getDiscounts())
-
 
57
			
56
    		<!-- Widgets -->
58
    		<!-- Widgets -->
57
    		<div class="widgets right">
59
    		<div class="widgets right">
58
			<div class="side-banner">
60
			<div class="side-banner">
59
            <script type='text/javascript'><!--//<![CDATA[
61
            <script type='text/javascript'><!--//<![CDATA[
60
				var m3_u = (location.protocol=='https:'?'https://promotions.saholic.com/openx/www/delivery/ajs.php':'http://promotions.saholic.com/openx/www/delivery/ajs.php');
62
				var m3_u = (location.protocol=='https:'?'https://promotions.saholic.com/openx/www/delivery/ajs.php':'http://promotions.saholic.com/openx/www/delivery/ajs.php');
61
   				var m3_r = Math.floor(Math.random()*99999999999);
63
   				var m3_r = Math.floor(Math.random()*99999999999);
62
   				if (!document.MAX_used) document.MAX_used = ',';
64
   				if (!document.MAX_used) document.MAX_used = ',';
63
   				document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
65
   				document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
64
   				document.write ("?zoneid=6");
66
   				document.write ("?zoneid=6");
65
   				document.write ('&amp;cb=' + m3_r);
67
   				document.write ('&amp;cb=' + m3_r);
-
 
68
				#if($discounts)
-
 
69
					#foreach($couponCode in $discounts.keySet())
-
 
70
						#set($discountValue = $discounts.get($couponCode))
-
 
71
 
-
 
72
				document.write ('&amp;coupon=$couponCode');
-
 
73
				document.write ('&amp;discount=$discountValue');
-
 
74
					#end
-
 
75
				#end
-
 
76
 
66
   				if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
77
   				if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
67
   				document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
78
   				document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
68
   				document.write ("&amp;loc=" + escape(window.location));
79
   				document.write ("&amp;loc=" + escape(window.location));
69
   				if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
80
   				if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
70
   				if (document.context) document.write ("&context=" + escape(document.context));
81
   				if (document.context) document.write ("&context=" + escape(document.context));