Subversion Repositories SmartDukaan

Rev

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