| 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" />
|
| 5625 |
vikram.rag |
29 |
<title>$action.getSpecialPageTitle() | ${domain.name}</title>
|
| 2847 |
mandeep.dh |
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>
|
| 5572 |
anupam.sin |
39 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
| 2847 |
mandeep.dh |
40 |
</noscript>
|
|
|
41 |
|
| 5571 |
amit.gupta |
42 |
|
|
|
43 |
$action.getHeaderSnippet()
|
|
|
44 |
|
|
|
45 |
|
| 3830 |
chandransh |
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> >
|
|
|
52 |
<a href="#">$action.getSpecialPageName()</a>
|
|
|
53 |
</div>
|
|
|
54 |
</div>
|
|
|
55 |
<div class="main-left left">
|
| 2847 |
mandeep.dh |
56 |
|
| 3830 |
chandransh |
57 |
<!-- tab buttons -->
|
| 3784 |
rajveer |
58 |
#if($action.getSpecialPageName()=="Android")
|
| 3960 |
rajveer |
59 |
<div class="main-left-banner">
|
|
|
60 |
<script type='text/javascript'><!--//<![CDATA[
|
| 5056 |
rajveer |
61 |
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 |
62 |
var m3_r = Math.floor(Math.random()*99999999999);
|
|
|
63 |
if (!document.MAX_used) document.MAX_used = ',';
|
|
|
64 |
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
| 3963 |
rajveer |
65 |
document.write ("?zoneid=2");
|
| 3960 |
rajveer |
66 |
document.write ('&cb=' + m3_r);
|
|
|
67 |
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
|
|
|
68 |
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
|
|
|
69 |
document.write ("&loc=" + escape(window.location));
|
|
|
70 |
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
|
|
|
71 |
if (document.context) document.write ("&context=" + escape(document.context));
|
|
|
72 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
|
|
73 |
document.write ("'><\/scr"+"ipt>");
|
| 5056 |
rajveer |
74 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a323f9ff&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE&n=a323f9ff' border='0' alt='' /></a></noscript>
|
| 3960 |
rajveer |
75 |
</div>
|
| 4153 |
rajveer |
76 |
#elseif($action.getSpecialPageName()=="Nokia")
|
|
|
77 |
<script type='text/javascript'><!--//<![CDATA[
|
| 5056 |
rajveer |
78 |
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 |
79 |
var m3_r = Math.floor(Math.random()*99999999999);
|
|
|
80 |
if (!document.MAX_used) document.MAX_used = ',';
|
|
|
81 |
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
|
|
82 |
document.write ("?zoneid=5");
|
|
|
83 |
document.write ('&cb=' + m3_r);
|
|
|
84 |
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
|
|
|
85 |
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
|
|
|
86 |
document.write ("&loc=" + escape(window.location));
|
|
|
87 |
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
|
|
|
88 |
if (document.context) document.write ("&context=" + escape(document.context));
|
|
|
89 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
|
|
90 |
document.write ("'><\/scr"+"ipt>");
|
| 5056 |
rajveer |
91 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a6dac3b0&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=5&cb=INSERT_RANDOM_NUMBER_HERE&n=a6dac3b0' border='0' alt='' /></a></noscript>
|
| 3784 |
rajveer |
92 |
#end
|
| 4429 |
rajveer |
93 |
|
|
|
94 |
<div class="main-left-banner">
|
|
|
95 |
<script type='text/javascript'><!--//<![CDATA[
|
| 5056 |
rajveer |
96 |
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 |
97 |
var m3_r = Math.floor(Math.random()*99999999999);
|
|
|
98 |
if (!document.MAX_used) document.MAX_used = ',';
|
|
|
99 |
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
|
|
100 |
document.write ("?zoneid=7");
|
|
|
101 |
document.write ('&cb=' + m3_r);
|
|
|
102 |
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
|
|
|
103 |
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
|
|
|
104 |
document.write ("&loc=" + escape(window.location));
|
|
|
105 |
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
|
|
|
106 |
if (document.context) document.write ("&context=" + escape(document.context));
|
|
|
107 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
|
|
108 |
document.write ("'><\/scr"+"ipt>");
|
| 5056 |
rajveer |
109 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a592d2cd&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=7&cb=INSERT_RANDOM_NUMBER_HERE&n=a592d2cd' border='0' alt='' /></a></noscript>
|
| 4429 |
rajveer |
110 |
</div>
|
|
|
111 |
|
| 2847 |
mandeep.dh |
112 |
<ul id="tabButton" class="menu">
|
|
|
113 |
<li class="tabButton1" id="catTab1">
|
|
|
114 |
<a class="showBrowse" href="#" title="" id="catTab1-first">
|
| 5889 |
amit.gupta |
115 |
All
|
| 2847 |
mandeep.dh |
116 |
</a>
|
|
|
117 |
</li>
|
|
|
118 |
<li class="tabButton2" id="catTab2">
|
|
|
119 |
<a class="category-tabs" href="#" title="Best Sellers" name="best-sellers" id="catTab2-10001-$action.getSpecialPageName()">
|
|
|
120 |
Best Sellers
|
|
|
121 |
</a>
|
|
|
122 |
</li>
|
|
|
123 |
<li class="tabButton2" id="catTab3">
|
|
|
124 |
<a class="category-tabs" href="#" title="Latest Arrivals" name="latest-arrivals" id="catTab3-10001-$action.getSpecialPageName()">
|
|
|
125 |
Latest Arrivals
|
|
|
126 |
</a>
|
|
|
127 |
</li>
|
|
|
128 |
<li class="tabButton2" id="catTab4">
|
|
|
129 |
<a class="category-tabs" href="#" title="Best Deals" name="best-deals" id="catTab4-10001-$action.getSpecialPageName()">
|
|
|
130 |
Best Deals
|
|
|
131 |
</a>
|
|
|
132 |
</li>
|
|
|
133 |
</ul>
|
|
|
134 |
<!-- /tab buttons -->
|
|
|
135 |
|
|
|
136 |
<!-- my account -->
|
| 3830 |
chandransh |
137 |
<div id="productCat" class="blue-border">
|
| 2847 |
mandeep.dh |
138 |
<div class="top">
|
|
|
139 |
<div class="left"> </div>
|
|
|
140 |
<div class="right"> </div>
|
|
|
141 |
<div class="clearBoth"></div>
|
|
|
142 |
</div>
|
|
|
143 |
|
|
|
144 |
<div class="middle">
|
|
|
145 |
<div class="content">
|
|
|
146 |
|
|
|
147 |
<!-- multifaceted search -->
|
|
|
148 |
<div id="multifacetedSearch">
|
|
|
149 |
<!-- filter by -->
|
| 6866 |
amit.gupta |
150 |
<div id="filterBy">
|
| 2847 |
mandeep.dh |
151 |
|
| 6866 |
amit.gupta |
152 |
#if($facets && $facets.size()!=0)
|
| 2847 |
mandeep.dh |
153 |
<h2>Filter by:</h2>
|
| 6866 |
amit.gupta |
154 |
|
|
|
155 |
#if($facets.containsKey("Category"))
|
|
|
156 |
#renderCategory($facets)
|
|
|
157 |
#elseif($facets.containsKey("Sub Category"))
|
|
|
158 |
<div id="filterByTalkTime">
|
|
|
159 |
<div class="filterHeading">
|
|
|
160 |
<div class="filterArrow"> </div>
|
|
|
161 |
<div class="sectionHeader">Sub Category</div>
|
|
|
162 |
</div>
|
|
|
163 |
|
|
|
164 |
<div class="filterOption">
|
|
|
165 |
<ul>
|
|
|
166 |
#foreach ( $facetdetail in $facets.get("Sub Category") )
|
|
|
167 |
<li>
|
|
|
168 |
#if ($facetdetail.get(3) != "")
|
|
|
169 |
<a style="font-weight:bold" class="mk_bold mk_subcategory" value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
|
|
|
170 |
#else
|
|
|
171 |
<a href="javascript:void(0)" class="mk_subcategory mk_filter" value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
|
|
|
172 |
#end
|
|
|
173 |
</li>
|
|
|
174 |
#end
|
|
|
175 |
</ul>
|
|
|
176 |
</div>
|
|
|
177 |
</div>
|
|
|
178 |
#end
|
|
|
179 |
#foreach ( $facetLabel in $facets.keySet() )
|
|
|
180 |
#set ( $facetvalues = $facets.get($facetLabel) )
|
|
|
181 |
#if( $facetLabel == "Price" )
|
| 2847 |
mandeep.dh |
182 |
<!-- price -->
|
|
|
183 |
<div id="filterByPrice">
|
|
|
184 |
<div class="filterHeading">
|
|
|
185 |
<div class="filterArrow"> </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"> </div>
|
|
|
197 |
</div>
|
|
|
198 |
</div>
|
|
|
199 |
<!-- /price -->
|
| 6866 |
amit.gupta |
200 |
#elseif( $facetLabel == "Category" )
|
|
|
201 |
#elseif( $facetLabel == "Sub Category" )
|
|
|
202 |
#else
|
| 2847 |
mandeep.dh |
203 |
<div id="filterByTalkTime">
|
|
|
204 |
<div class="filterHeading">
|
|
|
205 |
<div class="filterArrow"> </div>
|
|
|
206 |
<div class="sectionHeader">$facetLabel</div>
|
|
|
207 |
</div>
|
|
|
208 |
|
|
|
209 |
<div class="filterOption">
|
|
|
210 |
<ul>
|
| 6866 |
amit.gupta |
211 |
#foreach ( $facetdetail in $facetvalues)
|
|
|
212 |
#set ($zeroClass = "")
|
|
|
213 |
#set ($isActive = "")
|
|
|
214 |
#if ($facetdetail.get(1) == "0")
|
|
|
215 |
#set ($zeroClass = "zero_count")
|
|
|
216 |
#set ($isActive = 'disabled="disabled"')
|
|
|
217 |
#end
|
|
|
218 |
#if ($facetdetail.get(3) == "")
|
|
|
219 |
#set ($checked = "")
|
|
|
220 |
#else
|
|
|
221 |
#set ($checked = "bold")
|
|
|
222 |
#end
|
|
|
223 |
<li class="$zeroClass $checked">
|
|
|
224 |
<input type="checkbox" value="$facetdetail.get(2)" $isActive class="mk_filter" $facetdetail.get(3)/>$facetdetail.get(0)<span class="noColor">($facetdetail.get(1))</span>
|
| 2847 |
mandeep.dh |
225 |
</li>
|
| 6866 |
amit.gupta |
226 |
#end
|
| 2847 |
mandeep.dh |
227 |
</ul>
|
|
|
228 |
</div>
|
|
|
229 |
</div>
|
| 6866 |
amit.gupta |
230 |
|
|
|
231 |
#end
|
|
|
232 |
#end
|
| 2847 |
mandeep.dh |
233 |
|
| 6866 |
amit.gupta |
234 |
#end
|
|
|
235 |
|
| 2847 |
mandeep.dh |
236 |
<div class="bottomBorder"> </div>
|
|
|
237 |
</div>
|
|
|
238 |
<!-- /filter by -->
|
|
|
239 |
|
|
|
240 |
</div>
|
|
|
241 |
<!-- /multifaceted search -->
|
|
|
242 |
|
|
|
243 |
<!-- productList -->
|
|
|
244 |
<div id="productList">
|
|
|
245 |
|
|
|
246 |
<!-- browse tab content -->
|
|
|
247 |
<div id="browseContent">
|
|
|
248 |
|
| 6866 |
amit.gupta |
249 |
<!--Put filters here-->
|
|
|
250 |
#if($crumbs && $crumbs.size()!=0)
|
|
|
251 |
<h2 style="padding:6px">Current filters:</h2>
|
|
|
252 |
<div id="currentFilters">
|
|
|
253 |
#foreach ( $crumb in $crumbs.keySet() )
|
|
|
254 |
#if ($crumb == "Category")
|
|
|
255 |
#else
|
|
|
256 |
<div id="filterTalkTime">
|
|
|
257 |
<span class="sectionHeader">$crumb:</span>
|
|
|
258 |
#foreach ($crumblist in $crumbs.get($crumb))
|
|
|
259 |
<span class="filterContent">
|
|
|
260 |
<span class="filterOption">$crumblist.get(0)</span>
|
|
|
261 |
<span class="filterClose"><a href="javascript:void(0)" value="$crumblist.get(1)" class="mk_filter_close">[X]</a></span>
|
|
|
262 |
</span>
|
|
|
263 |
#end
|
|
|
264 |
</div>
|
|
|
265 |
#end
|
|
|
266 |
#end
|
|
|
267 |
</div>
|
|
|
268 |
#end
|
|
|
269 |
|
|
|
270 |
|
| 2847 |
mandeep.dh |
271 |
|
|
|
272 |
<!-- productListTop -->
|
|
|
273 |
<div class="productListTop">
|
|
|
274 |
<div class="productListResult">
|
|
|
275 |
$beginIndex to $endIndex of <span class="resultLimit">$totalItems</span> <span class="style1">results</span>
|
|
|
276 |
</div>
|
|
|
277 |
<div class="pagination1 moveTop">
|
|
|
278 |
<ul class="pagination">
|
|
|
279 |
#if($currentPage == 1)
|
|
|
280 |
<li class="pager-previous">
|
|
|
281 |
<span class="current prev">Prev</span>
|
|
|
282 |
</li>
|
|
|
283 |
#else
|
|
|
284 |
#set($prev = $currentPage-1)
|
|
|
285 |
<li class="pager-previous">
|
|
|
286 |
<a href="${url}&page=${prev}" class="current prev">Prev</a>
|
|
|
287 |
</li>
|
|
|
288 |
#end
|
|
|
289 |
|
|
|
290 |
|
|
|
291 |
#set( $begin = 1 )
|
|
|
292 |
#set( $end = 1 )
|
|
|
293 |
#if($totalPages <= 5)
|
|
|
294 |
#set( $begin = 1 )
|
|
|
295 |
#set( $end = $totalPages )
|
|
|
296 |
#else
|
|
|
297 |
#if($currentPage <= 3)
|
|
|
298 |
#set( $begin = 1 )
|
|
|
299 |
#set( $end = 5 )
|
|
|
300 |
#else
|
|
|
301 |
#set( $begin = $currentPage - 2 )
|
|
|
302 |
#set( $end = $currentPage + 2 )
|
|
|
303 |
#if( $end > $totalPages)
|
|
|
304 |
#set( $end = $totalPages)
|
|
|
305 |
#set( $begin = $end - 4 )
|
|
|
306 |
#end
|
|
|
307 |
#end
|
|
|
308 |
#end
|
|
|
309 |
#set( $pages = [$begin..$end] )
|
|
|
310 |
|
|
|
311 |
#foreach( $pageId in $pages )
|
|
|
312 |
#if($currentPage == $pageId)
|
|
|
313 |
<li class="pager-item">
|
|
|
314 |
<span class="current">$pageId</span>
|
|
|
315 |
</li>
|
|
|
316 |
#else
|
|
|
317 |
<li class="pager-item">
|
|
|
318 |
<a href="${url}&page=${pageId}">$pageId</a>
|
|
|
319 |
</li>
|
|
|
320 |
#end
|
|
|
321 |
#end
|
|
|
322 |
|
|
|
323 |
#if($currentPage == $totalPages)
|
|
|
324 |
<li class="pager-next">
|
|
|
325 |
<span class="current next">Next</span>
|
|
|
326 |
</li>
|
|
|
327 |
#else
|
|
|
328 |
#set($next = $currentPage+1)
|
|
|
329 |
<li class="pager-next">
|
|
|
330 |
<a href="${url}&page=${next}" class="current next">Next</a>
|
|
|
331 |
</li>
|
|
|
332 |
#end
|
|
|
333 |
</ul>
|
|
|
334 |
</div>
|
|
|
335 |
<div class="clearBoth"></div>
|
|
|
336 |
</div>
|
|
|
337 |
<!-- /productListTop -->
|
|
|
338 |
|
|
|
339 |
<!-- productListCenter -->
|
|
|
340 |
<div id="productListCenter1">
|
|
|
341 |
|
|
|
342 |
<!-- page 1 -->
|
|
|
343 |
<div class="page">
|
|
|
344 |
<ul class="deal-items category-page-items">
|
|
|
345 |
#set($snippets = $action.getSnippets())
|
|
|
346 |
|
|
|
347 |
#set( $isLeft = 0 )
|
|
|
348 |
#foreach ( $entityid in $results )
|
|
|
349 |
|
|
|
350 |
<li
|
|
|
351 |
#if( $isLeft == 0 )
|
|
|
352 |
class="floatLeft"
|
|
|
353 |
#set($isLeft = 1)
|
|
|
354 |
#else
|
|
|
355 |
class="floatRight"
|
|
|
356 |
#set($isLeft = 0)
|
|
|
357 |
#end
|
|
|
358 |
>
|
|
|
359 |
|
|
|
360 |
$snippets.get($entityid)
|
|
|
361 |
</li>
|
|
|
362 |
#end
|
|
|
363 |
</ul>
|
|
|
364 |
|
|
|
365 |
</div>
|
|
|
366 |
<div class="clearBoth"></div>
|
|
|
367 |
|
|
|
368 |
</div>
|
|
|
369 |
<!-- /productListCenter -->
|
|
|
370 |
|
|
|
371 |
<!-- productListBottom -->
|
|
|
372 |
<div class="productListBottom">
|
|
|
373 |
<div class="pagination1">
|
|
|
374 |
<ul class="pagination">
|
|
|
375 |
#if($currentPage == 1)
|
|
|
376 |
<li class="pager-previous">
|
|
|
377 |
<span class="current prev">Prev</span>
|
|
|
378 |
</li>
|
|
|
379 |
#else
|
|
|
380 |
#set($prev = $currentPage-1)
|
|
|
381 |
<li class="pager-previous">
|
|
|
382 |
<a href="${url}&page=${prev}" class="current prev">Prev</a>
|
|
|
383 |
</li>
|
|
|
384 |
#end
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
#set( $begin = 1 )
|
|
|
388 |
#set( $end = 1 )
|
|
|
389 |
#if($totalPages <= 5)
|
|
|
390 |
#set( $begin = 1 )
|
|
|
391 |
#set( $end = $totalPages )
|
|
|
392 |
#else
|
|
|
393 |
#if($currentPage <= 3)
|
|
|
394 |
#set( $begin = 1 )
|
|
|
395 |
#set( $end = 5 )
|
|
|
396 |
#else
|
|
|
397 |
#set( $begin = $currentPage - 2 )
|
|
|
398 |
#set( $end = $currentPage + 2 )
|
|
|
399 |
#if( $end > $totalPages)
|
|
|
400 |
#set( $end = $totalPages)
|
|
|
401 |
#set( $begin = $end - 4 )
|
|
|
402 |
#end
|
|
|
403 |
#end
|
|
|
404 |
#end
|
|
|
405 |
#set( $pages = [$begin..$end] )
|
|
|
406 |
|
|
|
407 |
#foreach( $pageId in $pages )
|
|
|
408 |
#if($currentPage == $pageId)
|
|
|
409 |
<li class="pager-item">
|
|
|
410 |
<span class="current">$pageId</span>
|
|
|
411 |
</li>
|
|
|
412 |
#else
|
|
|
413 |
<li class="pager-item">
|
|
|
414 |
<a href="${url}&page=${pageId}">$pageId</a>
|
|
|
415 |
</li>
|
|
|
416 |
#end
|
|
|
417 |
#end
|
|
|
418 |
|
|
|
419 |
#if($currentPage == $totalPages)
|
|
|
420 |
<li class="pager-next">
|
|
|
421 |
<span class="current next">Next</span>
|
|
|
422 |
</li>
|
|
|
423 |
#else
|
|
|
424 |
#set($next = $currentPage+1)
|
|
|
425 |
<li class="pager-next">
|
|
|
426 |
<a href="${url}&page=${next}" class="current next">Next</a>
|
|
|
427 |
</li>
|
|
|
428 |
#end
|
|
|
429 |
</ul>
|
|
|
430 |
|
|
|
431 |
</div>
|
|
|
432 |
<div class="clearBoth"></div>
|
|
|
433 |
</div>
|
|
|
434 |
<!-- /productListBottom -->
|
|
|
435 |
|
|
|
436 |
</div>
|
|
|
437 |
<!-- /browse tab content -->
|
|
|
438 |
|
|
|
439 |
<!-- otherTabContent -->
|
|
|
440 |
<div id="otherTabContent">
|
|
|
441 |
|
|
|
442 |
<!-- productListTop -->
|
|
|
443 |
<div class="productListTop">
|
|
|
444 |
|
|
|
445 |
<div class="productListHeading"></div>
|
|
|
446 |
<div class="pagination2"></div>
|
|
|
447 |
<div class="productListResult"></div>
|
|
|
448 |
|
|
|
449 |
<div class="clearBoth"></div>
|
|
|
450 |
</div>
|
|
|
451 |
<!-- /productListTop -->
|
|
|
452 |
|
|
|
453 |
<!-- productListCenter -->
|
|
|
454 |
<div id="productListCenter2">
|
|
|
455 |
|
|
|
456 |
|
|
|
457 |
<div class="clearBoth"></div>
|
|
|
458 |
|
|
|
459 |
</div>
|
|
|
460 |
<!-- /productListCenter -->
|
|
|
461 |
</div>
|
|
|
462 |
<!-- /otherTabContent -->
|
|
|
463 |
|
|
|
464 |
</div>
|
|
|
465 |
<!-- /productList -->
|
|
|
466 |
|
|
|
467 |
<div class="clearBoth"></div>
|
|
|
468 |
</div>
|
|
|
469 |
|
|
|
470 |
</div>
|
|
|
471 |
|
|
|
472 |
</div>
|
|
|
473 |
<!-- /my account -->
|
| 3830 |
chandransh |
474 |
|
|
|
475 |
</div>
|
|
|
476 |
<!-- Widgets -->
|
|
|
477 |
<div class="widgets right">
|
|
|
478 |
$action.getCartWidgetSnippet()
|
|
|
479 |
<div id="myresearch" class="common-widget">
|
| 3304 |
rajveer |
480 |
#include("templates/myresearch.vm")
|
| 3830 |
chandransh |
481 |
</div>
|
|
|
482 |
<div id="browsehistory" class="common-widget">
|
| 3304 |
rajveer |
483 |
#include("templates/browsehistory.vm")
|
| 3830 |
chandransh |
484 |
</div>
|
|
|
485 |
</div>
|
|
|
486 |
<!-- /Widgets -->
|
| 2847 |
mandeep.dh |
487 |
|
| 3830 |
chandransh |
488 |
</div>
|
|
|
489 |
</div>
|
|
|
490 |
<!-- /Main -->
|
| 2847 |
mandeep.dh |
491 |
|
| 3830 |
chandransh |
492 |
|
| 6866 |
amit.gupta |
493 |
#include("templates/footer.vm")
|
| 2847 |
mandeep.dh |
494 |
|
|
|
495 |
<!-- color by color lightbox -->
|
|
|
496 |
<div style="display:none;">
|
|
|
497 |
<div class="colorSelLightBoxColor">
|
|
|
498 |
<form name="frmColorSelName" method="post" action="#">
|
|
|
499 |
<h1>Color Selector</h1>
|
|
|
500 |
<h2>"Please choose color of product"</h2>
|
|
|
501 |
|
|
|
502 |
<div class="content"></div>
|
|
|
503 |
|
|
|
504 |
<div class="bigImgButton yellow-image">
|
|
|
505 |
<input value="Continue" type="button" class="button" onclick="selectColor();" />
|
|
|
506 |
</div>
|
|
|
507 |
<div class="clearBoth"></div>
|
|
|
508 |
|
|
|
509 |
</form>
|
|
|
510 |
</div>
|
|
|
511 |
</div>
|
|
|
512 |
<!-- /color by color lightbox -->
|
|
|
513 |
|
|
|
514 |
#include ( "templates/commonjsfiles.vm" )
|
|
|
515 |
<script language="javascript" type="text/javascript" src="/js/priceSlider.js"></script>
|
|
|
516 |
<script type="text/javascript" charset="utf-8">
|
|
|
517 |
$(function(){
|
|
|
518 |
$('ul.product-description li').truncate({addtitle: true});
|
|
|
519 |
});
|
|
|
520 |
</script>
|
|
|
521 |
|
|
|
522 |
<script type="text/javascript">
|
|
|
523 |
minPrice = $minPrice ;
|
|
|
524 |
maxPrice = $maxPrice ;
|
|
|
525 |
stepPrice = 10;
|
|
|
526 |
priceUrl = "$priceUrl";
|
| 6931 |
amit.gupta |
527 |
dynamicPriceRange = $action.getDynamicSearchMap();
|
| 2847 |
mandeep.dh |
528 |
</script>
|
|
|
529 |
|
|
|
530 |
</body>
|
|
|
531 |
</html>
|
| 6866 |
amit.gupta |
532 |
|
|
|
533 |
#macro ( renderCategory $facets )
|
|
|
534 |
#set ($facetLabel = "Category")
|
|
|
535 |
#set ( $facetvalues = $facets.get($facetLabel) )
|
|
|
536 |
<div id="filterByTalkTime">
|
|
|
537 |
<div class="filterHeading">
|
|
|
538 |
<div class="filterArrow"> </div>
|
|
|
539 |
<div class="sectionHeader">$facetLabel</div>
|
|
|
540 |
</div>
|
|
|
541 |
<div class="filterOption">
|
|
|
542 |
<ul>
|
|
|
543 |
#foreach ( $facetdetail in $facetvalues )
|
|
|
544 |
#if ($facetdetail.get(3) != "")
|
|
|
545 |
<li>
|
|
|
546 |
<a href="javascript:void(0)" style="font-weight:bold" class="mk_bold mk_filter mk_category" value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
|
|
|
547 |
#set ($subcategories = $facets.get("Sub Category"))
|
|
|
548 |
#set ($childCategories = $action.getChildren($facetdetail.get(0)))
|
|
|
549 |
<ul class="sub-category">
|
|
|
550 |
#if ($childCategories.size() > 1)
|
|
|
551 |
#foreach ( $subcategory in $subcategories )
|
|
|
552 |
#if($childCategories.contains($subcategory.get(0)))
|
|
|
553 |
<li>
|
|
|
554 |
#if ($subcategory.get(3) != "")
|
|
|
555 |
<a style="font-weight:bold" class="mk_bold mk_subcategory" value="$subcategory.get(2)">$subcategory.get(0)</a> <span class="noColor">($subcategory.get(1))</span>
|
|
|
556 |
#else
|
|
|
557 |
#set($zeroresults = 'class = "mk_subcategory zero_count')
|
|
|
558 |
#if ($subcategory.get(1) !="0")
|
|
|
559 |
#set($zeroresults = 'class="mk_filter mk_subcategory" href="javascript:void(0)"')
|
|
|
560 |
#end
|
|
|
561 |
<a $zeroresults value="$subcategory.get(2)">$subcategory.get(0)</a> <span class="noColor">($subcategory.get(1))</span>
|
|
|
562 |
#end
|
|
|
563 |
|
|
|
564 |
</li>
|
|
|
565 |
#end
|
|
|
566 |
#end
|
|
|
567 |
#end
|
|
|
568 |
</ul>
|
|
|
569 |
</li>
|
|
|
570 |
#else
|
|
|
571 |
#set($zeroresults = 'class="mk_category zero_count"')
|
|
|
572 |
#if ($facetdetail.get(1) !="0")
|
|
|
573 |
#set($zeroresults = 'class="mk_filter mk_category" href="javascript:void(0)"')
|
|
|
574 |
#end
|
|
|
575 |
<li>
|
|
|
576 |
<a $zeroresults value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
|
|
|
577 |
</li>
|
|
|
578 |
#end
|
|
|
579 |
#end
|
|
|
580 |
</ul>
|
|
|
581 |
</div>
|
|
|
582 |
</div>
|
|
|
583 |
|
|
|
584 |
#end
|