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())
-
 
2
#if($banners)
-
 
3
#set($bannerCount = $banners.size())
-
 
4
#else
-
 
5
#set($bannerCount = 0)
-
 
6
#end
-
 
7
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8
<!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">
9
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
10
<head>
4
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
11
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
 
12
 
Line 143... Line 150...
143
	<!-- Main -->
150
	<!-- Main -->
144
	<div id="main">
151
	<div id="main">
145
		<div class="main-content">
152
		<div class="main-content">
146
			<div class="main-top"></div>
153
			<div class="main-top"></div>
147
			<div class="main-left left">
154
			<div class="main-left left">
-
 
155
				 #if ( $bannerCount == 0 )
148
				<div class="main-left-banner">
156
					<div class="main-left-banner" style="display: none">
-
 
157
				#elseif ( $bannerCount < 3 )
-
 
158
					<div class="main-left-banner"  style="height: 210px;">
-
 
159
				#else
149
					<script type='text/javascript'><!--//<![CDATA[
160
					<div class="main-left-banner"  style="height: 230px;">
-
 
161
				#end
-
 
162
				
-
 
163
				#if($bannerCount > 1 && $bannerCount < 3)
-
 
164
					<ul id="bannerMenu">
-
 
165
						#foreach($banner in $banners)
-
 
166
							#if($banner.isHasMap())
150
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
167
								<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>
-
 
168
								<map name='map$velocityCount'> 
151
               var m3_r = Math.floor(Math.random()*99999999999);
169
									#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
152
               if (!document.MAX_used) document.MAX_used = ',';
170
									#foreach($mapdetail in $mapdetails)
153
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
171
										<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
-
 
172
									#end
-
 
173
									</map>
-
 
174
									</li>
-
 
175
							#else
-
 
176
								<li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' height="200" width="710" /></a></li>
154
               document.write ("?zoneid=1");
177
	                        #end
-
 
178
						#end
-
 
179
					</ul>
-
 
180
					<div class="container">
155
               document.write ('&amp;cb=' + m3_r);
181
                      <div class="slider_arrow_left"></div>
156
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
182
                      <div class="slider_arrow_right"></div>
-
 
183
                    </div>
-
 
184
				#else
-
 
185
					  <div id="banner-menu">
-
 
186
						#foreach($banner in $banners)
-
 
187
							#if($banner.isHasMap())
157
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
188
								<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
-
 
189
								<map name='map$velocityCount'> 
158
               document.write ("&amp;loc=" + escape(window.location));
190
									#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
-
 
191
									#foreach($mapdetail in $mapdetails)
159
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
192
										<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
-
 
193
									#end
-
 
194
									</map>
-
 
195
							#else
160
               if (document.context) document.write ("&context=" + escape(document.context));
196
								<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
161
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
197
	                        #end
-
 
198
						#end
162
               document.write ("'><\/scr"+"ipt>");
199
                       </div>
163
            //]]>--></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>
200
				#end
164
				</div>
201
				</div>
165
				<div style='height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: #FFFFFF;border: solid 1px #2789C1;width: 100%;'>
202
				<div style='height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: #FFFFFF;border: solid 1px #2789C1;width: 100%;'>
166
					<div style='margin:0 10px 0 10px;padding-top:7px'>
203
					<div style='margin:0 10px 0 10px;padding-top:7px'>
167
						ENTER YOUR DETAILS
204
						ENTER YOUR DETAILS
168
					</div>
205
					</div>
Line 319... Line 356...
319
      	</a>
356
      	</a>
320
      </noscript>
357
      </noscript>
321
 
358
 
322
 
359
 
323
	</div>
360
	</div>
324
	<div style="margin-bottom:10px;" id="banner-side">
-
 
325
	<img usemap="#popup" src="/images/banner-side.jpg">
-
 
326
		<map name="popup">
361
	<div class="widgets right">
327
          <area href="javascript:void(0)" id="otg_know_more" coords="0,90,255,146" shape="rect">
-
 
328
          <area href="javascript:void(0)" id="pickupstoreInfo" coords="0,144,255,215" shape="rect">
-
 
329
          <area href="javascript:void(0)" class="emiInfo" coords="0,213,255,284" shape="rect">
-
 
330
		  <area href="javascript:void(0)" class="insuranceInfo" coords="0,280,255,346" shape="rect">
-
 
331
        </map>
-
 
332
	</div>
-
 
333
	<div style="margin-bottom:10px; margin-top:10px;cursor: pointer; float:right" id="promotion">
-
 
334
	<a href="/mobile-phones/spice-coolpad-2-mi-496-1006864">
-
 
335
		<img src="/images/Side-Add-blue.jpg">
362
		$action.getCartWidgetSnippet()
336
	</a>
-
 
337
	</div>
363
	</div>
338
</div>
364
</div>
339
		</div>
365
		</div>
340
	</div>
366
	</div>
341
	#include("templates/footer.vm")
367
	#include("templates/footer.vm")
342
	#include ( "templates/commonjsfiles.vm" )
368
	#include ( "templates/commonjsfiles.vm" )
-
 
369
	<script type="text/javascript" charset="utf-8">
-
 
370
	#if ($bannerCount == 1 )
-
 
371
	jQuery('#banner-menu').slidy({
-
 
372
        animation:  'none',
-
 
373
        children:   'a',
-
 
374
        menu:       false,
-
 
375
        pause:      true,
-
 
376
        speed:      400,
-
 
377
        time:       4000
-
 
378
    });
-
 
379
 
-
 
380
	#elseif ($bannerCount > 1 && $bannerCount < 3 )
-
 
381
	$(document).ready(function() {
-
 
382
           $('#bannerMenu').DDSlider({
-
 
383
           nextSlide: '.slider_arrow_right',
-
 
384
           prevSlide: '.slider_arrow_left',
-
 
385
           selector: '.slider_selector'
-
 
386
            });
-
 
387
          }); 
-
 
388
	#else
-
 
389
	jQuery('#banner-menu').slidy({
-
 
390
        animation:  'fade',
-
 
391
        children:   'a',
-
 
392
        menu:       true,
-
 
393
        pause:      true,
-
 
394
        speed:      200,
-
 
395
        time:       5000
-
 
396
    });
-
 
397
	#end
-
 
398
	jQuery("#banner-menu").find("a, area").click(
-
 
399
    function(){
-
 
400
        if($(this).attr("href") != "#") {
-
 
401
            bannername = $(this).attr("banner-name");
-
 
402
            url = $(this).attr("href");
-
 
403
			trackEventWithGA('Banner Region Clicked', bannername, url);
-
 
404
        }
-
 
405
    }
-
 
406
);
-
 
407
	</script>
-
 
408
	<style type="text/css">
-
 
409
		.slider_arrow_left {
-
 
410
         background: url(/images/left_arrow.png) no-repeat top left;
-
 
411
         }
-
 
412
		.slider_arrow_right {
-
 
413
         background: url(/images/right_arrow.png) no-repeat top left;
-
 
414
         }
-
 
415
	</style>
343
	<script type="text/javascript">
416
	<script type="text/javascript">
344
    	jQuery('.planSelector').hide();
417
    	jQuery('.planSelector').hide();
345
    	#if($action.getServiceType() == "1")
418
    	#if($action.getServiceType() == "1")
346
        	var jsonMap = $action.getPlanMapInJson();
419
        	var jsonMap = $action.getPlanMapInJson();
347
        	jQuery('#operatorSelector').change(function() {
420
        	jQuery('#operatorSelector').change(function() {