Subversion Repositories SmartDukaan

Rev

Rev 5542 | Rev 5570 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2847 mandeep.dh 1
#set ( $minPrice = $action.getMinPrice() )
2
#set ( $maxPrice = $action.getMaxPrice() )
3
 
4
#set ( $results = $action.getResults() )
5
#set ( $facets = $action.getFacets() )
6
 
7
#set( $totalItems = $action.getTotalResults() )
8
#set( $beginIndex = $action.getBeginIndex() )
9
#set( $endIndex  = $action.getBeginIndex() + 19 )
10
 
11
#if( $totalItems <= $endIndex )
12
#set( $endIndex = $totalItems )
13
#end
14
#set($totalPages = $action.getTotalPages())
15
#set($currentPage  = $action.getCurrentPage())
16
#set($url = $action.getUrl())
17
#set($priceUrl = $action.getPriceUrl())
18
 
19
 
20
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
21
<html xmlns="http://www.w3.org/1999/xhtml">
22
  <head>
23
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
24
	<meta name="Description" content="$action.getPageMetaDesc()" />
25
	<meta name="keywords" content="$action.getPageMetaKeywords()" />
26
    <!-- Prevent MS Office toolbar from changing layout -->
27
    <meta http-equiv="imagetoolbar" content="false" />
28
    <meta name="MSSmartTagsPreventParsing" content="true" />
29
    <title>$action.getSpecialPageTitle() | Saholic.com</title>
30
 
5542 amar.kumar 31
 #include ( "templates/commoncssfiles.vm" )
32
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
2847 mandeep.dh 33
	<link rel="stylesheet" href="/css/jquery-ui-1.8.6.custom.css" type="text/css" media="all" />
34
  </head>
35
 
36
  <body>
37
 
38
    <noscript>
39
      <p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
40
    </noscript>
41
 
42
 
43
	$action.getHeaderSnippet()
44
 
3830 chandransh 45
 
46
		<!-- Main -->
47
<div id="main">
48
	<div class="main-content">
49
		<div class="main-top">
50
			<div class="bread-crumbs">
51
				<a href="/">Home</a>&nbsp;&gt;&nbsp;
52
				<a href="#">$action.getSpecialPageName()</a>
53
			</div>
54
		</div>
5548 amit.gupta 55
		<div class="main-top">
56
            <h1>$action.getSpecialPageTitle()</h1>
57
		</div>
3830 chandransh 58
		<div class="main-left left">
2847 mandeep.dh 59
 
3830 chandransh 60
		<!-- tab buttons -->
3784 rajveer 61
		#if($action.getSpecialPageName()=="Android")
3960 rajveer 62
		<div class="main-left-banner">
63
            <script type='text/javascript'><!--//<![CDATA[
5056 rajveer 64
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
3960 rajveer 65
               var m3_r = Math.floor(Math.random()*99999999999);
66
               if (!document.MAX_used) document.MAX_used = ',';
67
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
3963 rajveer 68
               document.write ("?zoneid=2");
3960 rajveer 69
               document.write ('&amp;cb=' + m3_r);
70
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
71
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
72
               document.write ("&amp;loc=" + escape(window.location));
73
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
74
               if (document.context) document.write ("&context=" + escape(document.context));
75
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
76
               document.write ("'><\/scr"+"ipt>");
5056 rajveer 77
            //]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a323f9ff&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=2&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a323f9ff' border='0' alt='' /></a></noscript>
3960 rajveer 78
		</div>
4153 rajveer 79
		#elseif($action.getSpecialPageName()=="Nokia")
80
            <script type='text/javascript'><!--//<![CDATA[
5056 rajveer 81
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
4153 rajveer 82
               var m3_r = Math.floor(Math.random()*99999999999);
83
               if (!document.MAX_used) document.MAX_used = ',';
84
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
85
               document.write ("?zoneid=5");
86
               document.write ('&amp;cb=' + m3_r);
87
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
88
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
89
               document.write ("&amp;loc=" + escape(window.location));
90
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
91
               if (document.context) document.write ("&context=" + escape(document.context));
92
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
93
               document.write ("'><\/scr"+"ipt>");
5056 rajveer 94
            //]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a6dac3b0&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=5&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a6dac3b0' border='0' alt='' /></a></noscript>
3784 rajveer 95
		#end
4429 rajveer 96
 
97
		<div class="main-left-banner">
98
            <script type='text/javascript'><!--//<![CDATA[
5056 rajveer 99
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
4429 rajveer 100
               var m3_r = Math.floor(Math.random()*99999999999);
101
               if (!document.MAX_used) document.MAX_used = ',';
102
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
103
               document.write ("?zoneid=7");
104
               document.write ('&amp;cb=' + m3_r);
105
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
106
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
107
               document.write ("&amp;loc=" + escape(window.location));
108
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
109
               if (document.context) document.write ("&context=" + escape(document.context));
110
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
111
               document.write ("'><\/scr"+"ipt>");
5056 rajveer 112
            //]]>--></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=7&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a592d2cd' border='0' alt='' /></a></noscript>
4429 rajveer 113
		</div>
114
 
2847 mandeep.dh 115
        <ul id="tabButton" class="menu">
116
          <li class="tabButton1" id="catTab1">
117
            <a class="showBrowse" href="#" title="" id="catTab1-first">
118
                  Browse
119
            </a>
120
          </li>
121
          <li class="tabButton2" id="catTab2">
122
            <a class="category-tabs" href="#" title="Best Sellers" name="best-sellers" id="catTab2-10001-$action.getSpecialPageName()">
123
                  Best Sellers
124
            </a>
125
          </li>
126
          <li class="tabButton2" id="catTab3">
127
            <a class="category-tabs" href="#" title="Latest Arrivals" name="latest-arrivals" id="catTab3-10001-$action.getSpecialPageName()">
128
                  Latest Arrivals
129
            </a>
130
          </li>
131
          <li class="tabButton2" id="catTab4">
132
            <a class="category-tabs" href="#" title="Best Deals" name="best-deals" id="catTab4-10001-$action.getSpecialPageName()">
133
                  Best Deals
134
            </a>
135
          </li>
136
        </ul>
137
        <!-- /tab buttons -->
138
 
139
        <!-- my account -->
3830 chandransh 140
        <div id="productCat" class="blue-border">
2847 mandeep.dh 141
          <div class="top">
142
            <div class="left">&nbsp;</div>
143
            <div class="right">&nbsp;</div>
144
            <div class="clearBoth"></div>
145
          </div>
146
 
147
          <div class="middle">
148
            <div class="content">
149
 
150
              <!-- multifaceted search -->
151
              <div id="multifacetedSearch">
152
 
153
					#set ( $crumbs = $action.getCrumbs() )
154
					#if($crumbs && $crumbs.size()!=0)
155
                <h2>Current filters:</h2>
156
 
157
                <div id="currentFilters">
158
 
159
                  #foreach ( $crumb in $crumbs )
160
                  <div id="filterTalkTime">
161
                    <span class="sectionHeader">$crumb.get(0):</span>
162
                    <span class="filterContent">
163
                      <span class="filterOption">$crumb.get(1)</span>
3830 chandransh 164
                      <span class="filterClose"><a href="$crumb.get(2)">[X]</a></span>
2847 mandeep.dh 165
                    </span>
166
                  </div>
167
    					#end
168
                </div>
169
					#end
170
 
171
 
172
 
173
                <!-- filter by -->
174
                <div id="filterBy">
175
 
176
                    	#if($facets && $facets.size()!=0)
177
                  <h2>Filter by:</h2>
178
 
179
                    	#foreach ( $facetLabel in $facets.keySet() )
180
                    		#set ( $facetvalues = $facets.get($facetLabel) )
181
                    		#if( $facetLabel == "Price" )
182
                  <!-- price -->
183
                  <div id="filterByPrice">
184
                    <div class="filterHeading">
185
                      <div class="filterArrow">&nbsp;</div>
186
                      <div class="sectionHeader">Price <span class="noBold">(Rs.)</span></div>
187
                    </div>
188
 
189
                    <div id="priceSlider">
190
                      <div id="priceRange1"></div>
191
                      <div id="priceRange2"></div>
192
                      <div class="clearBoth"></div>
193
 
194
 
195
                      <div id="slider-range"></div>
196
                      <div id="diff">&nbsp;</div>
197
                    </div>
198
                  </div>
199
                  <!-- /price -->
200
                    		#else
201
                  <div id="filterByTalkTime">
202
                    <div class="filterHeading">
203
                      <div class="filterArrow">&nbsp;</div>
204
                      <div class="sectionHeader">$facetLabel</div>
205
                    </div>
206
 
207
                    <div class="filterOption">
208
                      <ul>
209
                    				#foreach ( $facetdetail in $facetvalues )
210
                        <li>
211
                          <a href="$facetdetail.get(2)" id="ttMedium">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
212
                        </li>
213
                        #end
214
                      </ul>
215
                    </div>
216
                  </div>
217
                    		#end
218
                    	#end
219
 
220
                    	#end
221
                  <div class="bottomBorder">&nbsp;</div>
222
                </div>
223
                <!-- /filter by -->
224
 
225
              </div>
226
              <!-- /multifaceted search -->
227
 
228
              <!-- productList -->
229
              <div id="productList">
230
 
231
                <!-- browse tab content -->
232
                <div id="browseContent">
233
 
234
 
235
 
236
                  <!-- productListTop -->
237
                  <div class="productListTop">
238
                    <div class="productListResult">
239
									$beginIndex to $endIndex  of <span class="resultLimit">$totalItems</span> <span class="style1">results</span>
240
                    </div>
241
                    <div class="pagination1 moveTop">
242
                      <ul class="pagination">
243
										#if($currentPage == 1)
244
                        <li class="pager-previous">
245
                          <span class="current prev">Prev</span>
246
                        </li>
247
										#else
248
											#set($prev = $currentPage-1)
249
                        <li class="pager-previous">
250
                          <a href="${url}&page=${prev}" class="current prev">Prev</a>
251
                        </li>
252
										#end
253
 
254
 
255
										#set( $begin = 1 )
256
										#set( $end = 1 )
257
										#if($totalPages <= 5)
258
											#set( $begin = 1 )
259
											#set( $end = $totalPages )
260
										#else
261
											#if($currentPage <= 3)
262
												#set( $begin = 1 )
263
												#set( $end = 5 )
264
											#else
265
												#set( $begin = $currentPage - 2 )
266
    											#set( $end = $currentPage + 2 )
267
												#if( $end > $totalPages)
268
													#set( $end = $totalPages)
269
													#set( $begin = $end - 4 )
270
												#end
271
											#end
272
										#end
273
										#set( $pages = [$begin..$end] )
274
 
275
										#foreach( $pageId in $pages )
276
										#if($currentPage == $pageId)
277
                        <li class="pager-item">
278
                          <span class="current">$pageId</span>
279
                        </li>
280
										#else
281
                        <li class="pager-item">
282
                          <a href="${url}&page=${pageId}">$pageId</a>
283
                        </li>
284
										#end
285
										#end
286
 
287
										#if($currentPage == $totalPages)
288
                        <li class="pager-next">
289
                          <span class="current next">Next</span>
290
                        </li>
291
										#else
292
											#set($next = $currentPage+1)
293
                        <li class="pager-next">
294
                          <a href="${url}&page=${next}" class="current next">Next</a>
295
                        </li>
296
										#end
297
                      </ul>
298
                    </div>
299
                    <div class="clearBoth"></div>
300
                  </div>
301
                  <!-- /productListTop -->
302
 
303
                  <!-- productListCenter -->
304
                  <div id="productListCenter1">
305
 
306
                    <!-- page 1 -->
307
                    <div class="page">
308
                      <ul class="deal-items category-page-items">
309
								#set($snippets =  $action.getSnippets())
310
 
311
								#set( $isLeft = 0 )
312
								#foreach ( $entityid in $results )
313
 
314
                        <li
315
                          #if( $isLeft == 0 )
316
									class="floatLeft"
317
									#set($isLeft = 1)
318
								#else
319
									class="floatRight"
320
									#set($isLeft = 0)
321
								#end
322
								>
323
 
324
								$snippets.get($entityid)
325
                      </li>
326
								#end
327
                    </ul>
328
 
329
                  </div>
330
                  <div class="clearBoth"></div>
331
 
332
                </div>
333
                <!-- /productListCenter -->
334
 
335
                <!-- productListBottom -->
336
                <div class="productListBottom">
337
                  <div class="pagination1">
338
					                      <ul class="pagination">
339
										#if($currentPage == 1)
340
                        <li class="pager-previous">
341
                          <span class="current prev">Prev</span>
342
                        </li>
343
										#else
344
											#set($prev = $currentPage-1)
345
                        <li class="pager-previous">
346
                          <a href="${url}&page=${prev}" class="current prev">Prev</a>
347
                        </li>
348
										#end
349
 
350
 
351
										#set( $begin = 1 )
352
										#set( $end = 1 )
353
										#if($totalPages <= 5)
354
											#set( $begin = 1 )
355
											#set( $end = $totalPages )
356
										#else
357
											#if($currentPage <= 3)
358
												#set( $begin = 1 )
359
												#set( $end = 5 )
360
											#else
361
												#set( $begin = $currentPage - 2 )
362
    											#set( $end = $currentPage + 2 )
363
												#if( $end > $totalPages)
364
													#set( $end = $totalPages)
365
													#set( $begin = $end - 4 )
366
												#end
367
											#end
368
										#end
369
										#set( $pages = [$begin..$end] )
370
 
371
										#foreach( $pageId in $pages )
372
										#if($currentPage == $pageId)
373
                        <li class="pager-item">
374
                          <span class="current">$pageId</span>
375
                        </li>
376
										#else
377
                        <li class="pager-item">
378
                          <a href="${url}&page=${pageId}">$pageId</a>
379
                        </li>
380
										#end
381
										#end
382
 
383
										#if($currentPage == $totalPages)
384
                        <li class="pager-next">
385
                          <span class="current next">Next</span>
386
                        </li>
387
										#else
388
											#set($next = $currentPage+1)
389
                        <li class="pager-next">
390
                          <a href="${url}&page=${next}" class="current next">Next</a>
391
                        </li>
392
										#end
393
                      </ul>
394
 
395
				  </div>
396
                  <div class="clearBoth"></div>
397
                </div>
398
                <!-- /productListBottom -->
399
 
400
              </div>
401
              <!-- /browse tab content -->
402
 
403
              <!-- otherTabContent -->
404
              <div id="otherTabContent">
405
 
406
                <!-- productListTop -->
407
                <div class="productListTop">
408
 
409
                  <div class="productListHeading"></div>
410
                  <div class="pagination2"></div>
411
                  <div class="productListResult"></div>
412
 
413
                  <div class="clearBoth"></div>
414
                </div>
415
                <!-- /productListTop -->
416
 
417
                <!-- productListCenter -->
418
                <div id="productListCenter2">
419
 
420
 
421
                  <div class="clearBoth"></div>
422
 
423
                </div>
424
                <!-- /productListCenter -->
425
              </div>
426
              <!-- /otherTabContent -->
427
 
428
            </div>
429
            <!-- /productList -->
430
 
431
            <div class="clearBoth"></div>
432
          </div>
433
 
434
        </div>
435
 
436
        <div class="bottom">
437
          <div class="left">
438
            <div class="right">&nbsp;</div>
439
          </div>
440
        </div>
441
      </div>
442
      <!-- /my account -->
3830 chandransh 443
 
444
		</div>
445
		<!-- Widgets -->
446
		<div class="widgets right">
447
			$action.getCartWidgetSnippet()
448
			<div id="myresearch" class="common-widget">
3304 rajveer 449
                #include("templates/myresearch.vm")
3830 chandransh 450
			</div>
451
			<div id="browsehistory" class="common-widget">
3304 rajveer 452
                #include("templates/browsehistory.vm")
3830 chandransh 453
			</div>
454
		</div>
455
		<!-- /Widgets -->
2847 mandeep.dh 456
 
3830 chandransh 457
	</div>
458
</div>
459
<!-- /Main -->
2847 mandeep.dh 460
 
3830 chandransh 461
 
3304 rajveer 462
  #include("templates/footer.vm")
2847 mandeep.dh 463
 
464
  <!-- color by color lightbox -->
465
  <div style="display:none;">
466
    <div class="colorSelLightBoxColor">
467
      <form name="frmColorSelName" method="post" action="#">
468
        <h1>Color Selector</h1>
469
        <h2>"Please choose color of product"</h2>
470
 
471
        <div class="content"></div>
472
 
473
        <div class="bigImgButton yellow-image">
474
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
475
        </div>
476
        <div class="clearBoth"></div>
477
 
478
      </form>
479
    </div>
480
  </div>
481
  <!-- /color by color lightbox -->
482
 
483
    #include ( "templates/commonjsfiles.vm" )
484
    <script language="javascript" type="text/javascript" src="/js/priceSlider.js"></script>
485
    <script type="text/javascript" charset="utf-8">
486
        $(function(){
487
			$('ul.product-description li').truncate({addtitle: true});
488
        });
489
    </script>
490
 
491
    <script type="text/javascript">
492
      minPrice        = $minPrice ;
493
      maxPrice        = $maxPrice ;
494
      stepPrice       = 10;
495
      priceUrl		   = "$priceUrl";
496
    </script>
497
 
498
</body>
499
</html>