Subversion Repositories SmartDukaan

Rev

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