Subversion Repositories SmartDukaan

Rev

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

Rev 8792 Rev 8917
Line -... Line 1...
-
 
1
#set($banners = $action.getActiveBanners("/confirm"))
-
 
2
#if($banners)
-
 
3
#set($bannerCount = $banners.size())
-
 
4
#else
-
 
5
#set($bannerCount = 0)
-
 
6
#end
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
8
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
9
<head>
4
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
 
11
 
Line 60... Line 66...
60
	<!-- Main -->
66
	<!-- Main -->
61
	<div id="main">
67
	<div id="main">
62
		<div class="main-content">
68
		<div class="main-content">
63
			<div class="main-top"></div>
69
			<div class="main-top"></div>
64
			<div class="main-left left">
70
			<div class="main-left left">
-
 
71
				 #if ( $bannerCount == 0 )
65
				<div class="main-left-banner">
72
					<div class="main-left-banner" style="display: none">
-
 
73
				#elseif ( $bannerCount < 3 )
-
 
74
					<div class="main-left-banner"  style="height: 210px;">
-
 
75
				#else
66
					<script type='text/javascript'><!--//<![CDATA[
76
					<div class="main-left-banner"  style="height: 230px;">
-
 
77
				#end
-
 
78
				
-
 
79
				#if($bannerCount > 1 && $bannerCount < 3)
-
 
80
					<ul id="bannerMenu">
-
 
81
						#foreach($banner in $banners)
-
 
82
							#if($banner.isHasMap())
67
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
83
								<li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' usemap='#map$velocityCount' height="200" width="710"/></a>
-
 
84
								<map name='map$velocityCount'> 
68
               var m3_r = Math.floor(Math.random()*99999999999);
85
									#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
69
               if (!document.MAX_used) document.MAX_used = ',';
86
									#foreach($mapdetail in $mapdetails)
70
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
87
										<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
-
 
88
									#end
-
 
89
									</map>
-
 
90
									</li>
-
 
91
							#else
-
 
92
								<li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' height="200" width="710" /></a></li>
71
               document.write ("?zoneid=1");
93
	                        #end
-
 
94
						#end
-
 
95
					</ul>
-
 
96
					<div class="container">
72
               document.write ('&amp;cb=' + m3_r);
97
                      <div class="slider_arrow_left"></div>
73
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
98
                      <div class="slider_arrow_right"></div>
-
 
99
                    </div>
-
 
100
				#else
-
 
101
					  <div id="banner-menu">
-
 
102
						#foreach($banner in $banners)
-
 
103
							#if($banner.isHasMap())
74
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
104
								<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
-
 
105
								<map name='map$velocityCount'> 
75
               document.write ("&amp;loc=" + escape(window.location));
106
									#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
-
 
107
									#foreach($mapdetail in $mapdetails)
76
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
108
										<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
-
 
109
									#end
-
 
110
									</map>
-
 
111
							#else
77
               if (document.context) document.write ("&context=" + escape(document.context));
112
								<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
78
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
113
	                        #end
-
 
114
						#end
79
               document.write ("'><\/scr"+"ipt>");
115
                       </div>
80
            //]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a592d2cd&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a592d2cd' border='0' alt='' /></a></noscript>
116
				#end
81
				</div>
117
				</div>
82
				<div style='height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: #FFFFFF;border: solid 1px #2789C1;width: 100%;'>
118
				<div style='height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: #FFFFFF;border: solid 1px #2789C1;width: 100%;'>
83
					<div style='margin:0 10px 0 10px;padding-top:7px'>
119
					<div style='margin:0 10px 0 10px;padding-top:7px'>
84
						PLEASE CONFIRM
120
						PLEASE CONFIRM
85
					</div>
121
					</div>
Line 164... Line 200...
164
							</div>
200
							</div>
165
						#end
201
						#end
166
                 	</form>
202
                 	</form>
167
				</div>
203
				</div>
168
			</div>
204
			</div>
169
    			<div id="banner-side" style="margin-left: 10px; float: right;">
205
    			<div class="widgets right">
170
                	<img src="/images/banner-side.jpg" usemap="#popup">
-
 
171
                		<map name="popup">
-
 
172
                          <area shape="rect" coords="0,90,255,146" id="otg_know_more" href="javascript:void(0)">
-
 
173
                          <area shape="rect" coords="0,144,255,215" id="pickupstoreInfo" href="javascript:void(0)">
-
 
174
                          <area shape="rect" coords="0,213,255,284" class="emiInfo" href="javascript:void(0)">
-
 
175
                		  <area shape="rect" coords="0,280,255,346" class="insuranceInfo" href="javascript:void(0)">
-
 
176
                        </map>
-
 
177
				<div style="margin-top:10px;cursor: pointer;" id="promotion">
-
 
178
					<a href="/mobile-phones/spice-coolpad-2-mi-496-1006864">
-
 
179
						<img src="/images/Side-Add-blue.jpg">
206
					$action.getCartWidgetSnippet()
180
					</a>
-
 
181
				</div>
207
				</div>
182
                 </div>
-
 
183
		</div>
208
		</div>
184
	</div>
209
	</div>
185
	#include("templates/footer.vm")
210
	#include("templates/footer.vm")
186
	<!-- color by color lightbox -->
211
	<!-- color by color lightbox -->
187
	<div style="display:none;">
212
	<div style="display:none;">
Line 198... Line 223...
198
		</div>
223
		</div>
199
	</div>
224
	</div>
200
	<!-- /color by color lightbox -->
225
	<!-- /color by color lightbox -->
201
	#include ( "templates/commonjsfiles.vm" )
226
	#include ( "templates/commonjsfiles.vm" )
202
	<script type="text/javascript" charset="utf-8">
227
	<script type="text/javascript" charset="utf-8">
-
 
228
	#if ($bannerCount == 1 )
-
 
229
	jQuery('#banner-menu').slidy({
-
 
230
        animation:  'none',
-
 
231
        children:   'a',
-
 
232
        menu:       false,
-
 
233
        pause:      true,
-
 
234
        speed:      400,
-
 
235
        time:       4000
-
 
236
    });
-
 
237
 
-
 
238
	#elseif ($bannerCount > 1 && $bannerCount < 3 )
-
 
239
	$(document).ready(function() {
-
 
240
           $('#bannerMenu').DDSlider({
-
 
241
           nextSlide: '.slider_arrow_right',
-
 
242
           prevSlide: '.slider_arrow_left',
-
 
243
           selector: '.slider_selector'
-
 
244
            });
-
 
245
          }); 
-
 
246
	#else
-
 
247
	jQuery('#banner-menu').slidy({
-
 
248
        animation:  'fade',
-
 
249
        children:   'a',
-
 
250
        menu:       true,
-
 
251
        pause:      true,
-
 
252
        speed:      200,
-
 
253
        time:       5000
-
 
254
    });
-
 
255
	#end
-
 
256
	jQuery("#banner-menu").find("a, area").click(
-
 
257
    function(){
-
 
258
        if($(this).attr("href") != "#") {
-
 
259
            bannername = $(this).attr("banner-name");
-
 
260
            url = $(this).attr("href");
-
 
261
			trackEventWithGA('Banner Region Clicked', bannername, url);
-
 
262
        }
-
 
263
    }
-
 
264
);
-
 
265
	</script>
-
 
266
	<style type="text/css">
-
 
267
		.slider_arrow_left {
-
 
268
         background: url(/images/left_arrow.png) no-repeat top left;
-
 
269
         }
-
 
270
		.slider_arrow_right {
-
 
271
         background: url(/images/right_arrow.png) no-repeat top left;
-
 
272
         }
-
 
273
	</style>
-
 
274
	<script type="text/javascript" charset="utf-8">
203
        $(function(){
275
        $(function(){
204
        	$('ul.product-description li').truncate({addtitle: true});
276
        	$('ul.product-description li').truncate({addtitle: true});
205
        	
277
        	
206
        	$('#pay-now-button').click(function(){
278
        	$('#pay-now-button').click(function(){
207
        		trackEventWithGA('Recharge', 'Pay Now', '');
279
        		trackEventWithGA('Recharge', 'Pay Now', '');