| 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 |
|
| 8917 |
kshitij.so |
19 |
#set($banners = $action.getActiveBanners())
|
|
|
20 |
#if($banners)
|
|
|
21 |
#set($bannerCount = $banners.size())
|
|
|
22 |
#else
|
|
|
23 |
#set($bannerCount = 0)
|
|
|
24 |
#end
|
| 2847 |
mandeep.dh |
25 |
|
| 8917 |
kshitij.so |
26 |
|
| 2847 |
mandeep.dh |
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
28 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
29 |
<head>
|
|
|
30 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
31 |
<meta name="Description" content="$action.getPageMetaDesc()" />
|
|
|
32 |
<meta name="keywords" content="$action.getPageMetaKeywords()" />
|
|
|
33 |
<!-- Prevent MS Office toolbar from changing layout -->
|
|
|
34 |
<meta http-equiv="imagetoolbar" content="false" />
|
|
|
35 |
<meta name="MSSmartTagsPreventParsing" content="true" />
|
| 10015 |
kshitij.so |
36 |
<meta property="fb:admins" content="564777065" />
|
| 5625 |
vikram.rag |
37 |
<title>$action.getSpecialPageTitle() | ${domain.name}</title>
|
| 2847 |
mandeep.dh |
38 |
|
| 5542 |
amar.kumar |
39 |
#include ( "templates/commoncssfiles.vm" )
|
|
|
40 |
<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
|
| 2847 |
mandeep.dh |
41 |
<link rel="stylesheet" href="/css/jquery-ui-1.8.6.custom.css" type="text/css" media="all" />
|
|
|
42 |
</head>
|
|
|
43 |
|
|
|
44 |
<body>
|
|
|
45 |
|
|
|
46 |
<noscript>
|
| 5572 |
anupam.sin |
47 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
| 2847 |
mandeep.dh |
48 |
</noscript>
|
|
|
49 |
|
| 5571 |
amit.gupta |
50 |
|
|
|
51 |
$action.getHeaderSnippet()
|
|
|
52 |
|
|
|
53 |
|
| 3830 |
chandransh |
54 |
<!-- Main -->
|
|
|
55 |
<div id="main">
|
|
|
56 |
<div class="main-content">
|
|
|
57 |
<div class="main-top">
|
|
|
58 |
<div class="bread-crumbs">
|
|
|
59 |
<a href="/">Home</a> >
|
|
|
60 |
<a href="#">$action.getSpecialPageName()</a>
|
|
|
61 |
</div>
|
|
|
62 |
</div>
|
|
|
63 |
<div class="main-left left">
|
| 8917 |
kshitij.so |
64 |
#if ( $bannerCount == 0 )
|
|
|
65 |
<div class="main-left-banner" style="display: none">
|
|
|
66 |
#elseif ( $bannerCount < 3 )
|
|
|
67 |
<div class="main-left-banner" style="height: 210px;">
|
|
|
68 |
#else
|
|
|
69 |
<div class="main-left-banner" style="height: 230px;">
|
|
|
70 |
#end
|
|
|
71 |
|
|
|
72 |
#if($bannerCount > 1 && $bannerCount < 3)
|
|
|
73 |
<ul id="bannerMenu">
|
|
|
74 |
#foreach($banner in $banners)
|
|
|
75 |
#if($banner.isHasMap())
|
| 10095 |
kshitij.so |
76 |
<li class="square"><a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' usemap='#map$velocityCount' height="200" width="710"/></a>
|
| 8917 |
kshitij.so |
77 |
<map name='map$velocityCount'>
|
|
|
78 |
#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
|
|
|
79 |
#foreach($mapdetail in $mapdetails)
|
|
|
80 |
<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
|
|
|
81 |
#end
|
|
|
82 |
</map>
|
|
|
83 |
</li>
|
|
|
84 |
#else
|
| 10095 |
kshitij.so |
85 |
<li class="square"><a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' height="200" width="710" /></a></li>
|
| 8917 |
kshitij.so |
86 |
#end
|
|
|
87 |
#end
|
|
|
88 |
</ul>
|
|
|
89 |
<div class="container">
|
|
|
90 |
<div class="slider_arrow_left"></div>
|
|
|
91 |
<div class="slider_arrow_right"></div>
|
|
|
92 |
</div>
|
|
|
93 |
#else
|
|
|
94 |
<div id="banner-menu">
|
|
|
95 |
#foreach($banner in $banners)
|
|
|
96 |
#if($banner.isHasMap())
|
| 10095 |
kshitij.so |
97 |
<a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
|
| 8917 |
kshitij.so |
98 |
<map name='map$velocityCount'>
|
|
|
99 |
#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
|
|
|
100 |
#foreach($mapdetail in $mapdetails)
|
|
|
101 |
<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
|
|
|
102 |
#end
|
|
|
103 |
</map>
|
|
|
104 |
#else
|
| 10095 |
kshitij.so |
105 |
<a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
|
| 8917 |
kshitij.so |
106 |
#end
|
|
|
107 |
#end
|
|
|
108 |
</div>
|
|
|
109 |
#end
|
|
|
110 |
</div>
|
| 2847 |
mandeep.dh |
111 |
|
|
|
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">
|
| 12142 |
amit.gupta |
257 |
#if ($crumb.length()!=0)
|
| 6866 |
amit.gupta |
258 |
<span class="sectionHeader">$crumb:</span>
|
| 12141 |
amit.gupta |
259 |
#end
|
| 6866 |
amit.gupta |
260 |
#foreach ($crumblist in $crumbs.get($crumb))
|
|
|
261 |
<span class="filterContent">
|
|
|
262 |
<span class="filterOption">$crumblist.get(0)</span>
|
|
|
263 |
<span class="filterClose"><a href="javascript:void(0)" value="$crumblist.get(1)" class="mk_filter_close">[X]</a></span>
|
|
|
264 |
</span>
|
|
|
265 |
#end
|
|
|
266 |
</div>
|
|
|
267 |
#end
|
|
|
268 |
#end
|
|
|
269 |
</div>
|
|
|
270 |
#end
|
|
|
271 |
|
|
|
272 |
|
| 2847 |
mandeep.dh |
273 |
|
|
|
274 |
<!-- productListTop -->
|
|
|
275 |
<div class="productListTop">
|
|
|
276 |
<div class="productListResult">
|
| 12142 |
amit.gupta |
277 |
$beginIndex to $endIndex of <span class="resultLimit">$totalItems</span> <span class="style1">results</span>
|
| 2847 |
mandeep.dh |
278 |
</div>
|
|
|
279 |
<div class="pagination1 moveTop">
|
|
|
280 |
<ul class="pagination">
|
|
|
281 |
#if($currentPage == 1)
|
|
|
282 |
<li class="pager-previous">
|
|
|
283 |
<span class="current prev">Prev</span>
|
|
|
284 |
</li>
|
|
|
285 |
#else
|
|
|
286 |
#set($prev = $currentPage-1)
|
|
|
287 |
<li class="pager-previous">
|
|
|
288 |
<a href="${url}&page=${prev}" class="current prev">Prev</a>
|
|
|
289 |
</li>
|
|
|
290 |
#end
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
#set( $begin = 1 )
|
|
|
294 |
#set( $end = 1 )
|
|
|
295 |
#if($totalPages <= 5)
|
|
|
296 |
#set( $begin = 1 )
|
|
|
297 |
#set( $end = $totalPages )
|
|
|
298 |
#else
|
|
|
299 |
#if($currentPage <= 3)
|
|
|
300 |
#set( $begin = 1 )
|
|
|
301 |
#set( $end = 5 )
|
|
|
302 |
#else
|
|
|
303 |
#set( $begin = $currentPage - 2 )
|
|
|
304 |
#set( $end = $currentPage + 2 )
|
|
|
305 |
#if( $end > $totalPages)
|
|
|
306 |
#set( $end = $totalPages)
|
|
|
307 |
#set( $begin = $end - 4 )
|
|
|
308 |
#end
|
|
|
309 |
#end
|
|
|
310 |
#end
|
|
|
311 |
#set( $pages = [$begin..$end] )
|
|
|
312 |
|
|
|
313 |
#foreach( $pageId in $pages )
|
|
|
314 |
#if($currentPage == $pageId)
|
|
|
315 |
<li class="pager-item">
|
|
|
316 |
<span class="current">$pageId</span>
|
|
|
317 |
</li>
|
|
|
318 |
#else
|
|
|
319 |
<li class="pager-item">
|
|
|
320 |
<a href="${url}&page=${pageId}">$pageId</a>
|
|
|
321 |
</li>
|
|
|
322 |
#end
|
|
|
323 |
#end
|
|
|
324 |
|
|
|
325 |
#if($currentPage == $totalPages)
|
|
|
326 |
<li class="pager-next">
|
|
|
327 |
<span class="current next">Next</span>
|
|
|
328 |
</li>
|
|
|
329 |
#else
|
|
|
330 |
#set($next = $currentPage+1)
|
|
|
331 |
<li class="pager-next">
|
|
|
332 |
<a href="${url}&page=${next}" class="current next">Next</a>
|
|
|
333 |
</li>
|
|
|
334 |
#end
|
|
|
335 |
</ul>
|
|
|
336 |
</div>
|
|
|
337 |
<div class="clearBoth"></div>
|
| 6973 |
amit.gupta |
338 |
<div id="sortBy">
|
|
|
339 |
Sort by:
|
|
|
340 |
#if($sortOrder == "F_50002 asc")
|
|
|
341 |
<a href="/${uri}${sortUrl}" id="sortByPopularity">Popularity</a> |
|
|
|
342 |
<a class="active" id="sortByPrice">Price</a>
|
|
|
343 |
|
|
|
344 |
#else
|
|
|
345 |
<a class="active" id="sortByPopularity">Popularity</a> |
|
|
|
346 |
<a href="/${uri}${sortUrl}&sort=F_50002+asc" id="sortByPrice">Price</a>
|
|
|
347 |
#end
|
| 2847 |
mandeep.dh |
348 |
</div>
|
| 6973 |
amit.gupta |
349 |
|
|
|
350 |
<div class="clearBoth"></div>
|
|
|
351 |
</div>
|
| 2847 |
mandeep.dh |
352 |
<!-- /productListTop -->
|
|
|
353 |
|
|
|
354 |
<!-- productListCenter -->
|
|
|
355 |
<div id="productListCenter1">
|
|
|
356 |
|
|
|
357 |
<!-- page 1 -->
|
|
|
358 |
<div class="page">
|
|
|
359 |
<ul class="deal-items category-page-items">
|
|
|
360 |
#set($snippets = $action.getSnippets())
|
|
|
361 |
|
|
|
362 |
#set( $isLeft = 0 )
|
|
|
363 |
#foreach ( $entityid in $results )
|
|
|
364 |
|
|
|
365 |
<li
|
|
|
366 |
#if( $isLeft == 0 )
|
|
|
367 |
class="floatLeft"
|
|
|
368 |
#set($isLeft = 1)
|
|
|
369 |
#else
|
|
|
370 |
class="floatRight"
|
|
|
371 |
#set($isLeft = 0)
|
|
|
372 |
#end
|
|
|
373 |
>
|
|
|
374 |
|
|
|
375 |
$snippets.get($entityid)
|
|
|
376 |
</li>
|
|
|
377 |
#end
|
|
|
378 |
</ul>
|
|
|
379 |
|
|
|
380 |
</div>
|
|
|
381 |
<div class="clearBoth"></div>
|
|
|
382 |
|
|
|
383 |
</div>
|
|
|
384 |
<!-- /productListCenter -->
|
|
|
385 |
|
|
|
386 |
<!-- productListBottom -->
|
|
|
387 |
<div class="productListBottom">
|
|
|
388 |
<div class="pagination1">
|
|
|
389 |
<ul class="pagination">
|
|
|
390 |
#if($currentPage == 1)
|
|
|
391 |
<li class="pager-previous">
|
|
|
392 |
<span class="current prev">Prev</span>
|
|
|
393 |
</li>
|
|
|
394 |
#else
|
|
|
395 |
#set($prev = $currentPage-1)
|
|
|
396 |
<li class="pager-previous">
|
|
|
397 |
<a href="${url}&page=${prev}" class="current prev">Prev</a>
|
|
|
398 |
</li>
|
|
|
399 |
#end
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
#set( $begin = 1 )
|
|
|
403 |
#set( $end = 1 )
|
|
|
404 |
#if($totalPages <= 5)
|
|
|
405 |
#set( $begin = 1 )
|
|
|
406 |
#set( $end = $totalPages )
|
|
|
407 |
#else
|
|
|
408 |
#if($currentPage <= 3)
|
|
|
409 |
#set( $begin = 1 )
|
|
|
410 |
#set( $end = 5 )
|
|
|
411 |
#else
|
|
|
412 |
#set( $begin = $currentPage - 2 )
|
|
|
413 |
#set( $end = $currentPage + 2 )
|
|
|
414 |
#if( $end > $totalPages)
|
|
|
415 |
#set( $end = $totalPages)
|
|
|
416 |
#set( $begin = $end - 4 )
|
|
|
417 |
#end
|
|
|
418 |
#end
|
|
|
419 |
#end
|
|
|
420 |
#set( $pages = [$begin..$end] )
|
|
|
421 |
|
|
|
422 |
#foreach( $pageId in $pages )
|
|
|
423 |
#if($currentPage == $pageId)
|
|
|
424 |
<li class="pager-item">
|
|
|
425 |
<span class="current">$pageId</span>
|
|
|
426 |
</li>
|
|
|
427 |
#else
|
|
|
428 |
<li class="pager-item">
|
|
|
429 |
<a href="${url}&page=${pageId}">$pageId</a>
|
|
|
430 |
</li>
|
|
|
431 |
#end
|
|
|
432 |
#end
|
|
|
433 |
|
|
|
434 |
#if($currentPage == $totalPages)
|
|
|
435 |
<li class="pager-next">
|
|
|
436 |
<span class="current next">Next</span>
|
|
|
437 |
</li>
|
|
|
438 |
#else
|
|
|
439 |
#set($next = $currentPage+1)
|
|
|
440 |
<li class="pager-next">
|
|
|
441 |
<a href="${url}&page=${next}" class="current next">Next</a>
|
|
|
442 |
</li>
|
|
|
443 |
#end
|
|
|
444 |
</ul>
|
|
|
445 |
|
|
|
446 |
</div>
|
| 6973 |
amit.gupta |
447 |
|
|
|
448 |
<div class="clearBoth"></div>
|
|
|
449 |
|
| 2847 |
mandeep.dh |
450 |
</div>
|
|
|
451 |
<!-- /productListBottom -->
|
|
|
452 |
|
|
|
453 |
</div>
|
|
|
454 |
<!-- /browse tab content -->
|
|
|
455 |
|
|
|
456 |
<!-- otherTabContent -->
|
|
|
457 |
<div id="otherTabContent">
|
|
|
458 |
|
|
|
459 |
<!-- productListTop -->
|
|
|
460 |
<div class="productListTop">
|
|
|
461 |
|
|
|
462 |
<div class="productListHeading"></div>
|
|
|
463 |
<div class="pagination2"></div>
|
|
|
464 |
<div class="productListResult"></div>
|
|
|
465 |
|
|
|
466 |
<div class="clearBoth"></div>
|
|
|
467 |
</div>
|
|
|
468 |
<!-- /productListTop -->
|
|
|
469 |
|
|
|
470 |
<!-- productListCenter -->
|
|
|
471 |
<div id="productListCenter2">
|
|
|
472 |
|
|
|
473 |
|
|
|
474 |
<div class="clearBoth"></div>
|
|
|
475 |
|
|
|
476 |
</div>
|
|
|
477 |
<!-- /productListCenter -->
|
|
|
478 |
</div>
|
|
|
479 |
<!-- /otherTabContent -->
|
|
|
480 |
|
|
|
481 |
</div>
|
|
|
482 |
<!-- /productList -->
|
|
|
483 |
|
|
|
484 |
<div class="clearBoth"></div>
|
|
|
485 |
</div>
|
|
|
486 |
|
|
|
487 |
</div>
|
|
|
488 |
|
|
|
489 |
</div>
|
|
|
490 |
<!-- /my account -->
|
| 3830 |
chandransh |
491 |
|
|
|
492 |
</div>
|
|
|
493 |
<!-- Widgets -->
|
|
|
494 |
<div class="widgets right">
|
|
|
495 |
$action.getCartWidgetSnippet()
|
|
|
496 |
<div id="myresearch" class="common-widget">
|
| 3304 |
rajveer |
497 |
#include("templates/myresearch.vm")
|
| 3830 |
chandransh |
498 |
</div>
|
|
|
499 |
<div id="browsehistory" class="common-widget">
|
| 3304 |
rajveer |
500 |
#include("templates/browsehistory.vm")
|
| 3830 |
chandransh |
501 |
</div>
|
|
|
502 |
</div>
|
|
|
503 |
<!-- /Widgets -->
|
| 2847 |
mandeep.dh |
504 |
|
| 3830 |
chandransh |
505 |
</div>
|
|
|
506 |
</div>
|
|
|
507 |
<!-- /Main -->
|
| 2847 |
mandeep.dh |
508 |
|
| 3830 |
chandransh |
509 |
|
| 6866 |
amit.gupta |
510 |
#include("templates/footer.vm")
|
| 2847 |
mandeep.dh |
511 |
|
|
|
512 |
<!-- color by color lightbox -->
|
|
|
513 |
<div style="display:none;">
|
|
|
514 |
<div class="colorSelLightBoxColor">
|
|
|
515 |
<form name="frmColorSelName" method="post" action="#">
|
|
|
516 |
<h1>Color Selector</h1>
|
|
|
517 |
<h2>"Please choose color of product"</h2>
|
|
|
518 |
|
|
|
519 |
<div class="content"></div>
|
|
|
520 |
|
|
|
521 |
<div class="bigImgButton yellow-image">
|
|
|
522 |
<input value="Continue" type="button" class="button" onclick="selectColor();" />
|
|
|
523 |
</div>
|
|
|
524 |
<div class="clearBoth"></div>
|
|
|
525 |
|
|
|
526 |
</form>
|
|
|
527 |
</div>
|
|
|
528 |
</div>
|
|
|
529 |
<!-- /color by color lightbox -->
|
|
|
530 |
#include ( "templates/commonjsfiles.vm" )
|
|
|
531 |
<script language="javascript" type="text/javascript" src="/js/priceSlider.js"></script>
|
|
|
532 |
<script type="text/javascript" charset="utf-8">
|
|
|
533 |
$(function(){
|
|
|
534 |
$('ul.product-description li').truncate({addtitle: true});
|
|
|
535 |
});
|
|
|
536 |
</script>
|
|
|
537 |
|
|
|
538 |
<script type="text/javascript">
|
|
|
539 |
minPrice = $minPrice ;
|
|
|
540 |
maxPrice = $maxPrice ;
|
| 6973 |
amit.gupta |
541 |
stepPrice = 1;
|
| 2847 |
mandeep.dh |
542 |
priceUrl = "$priceUrl";
|
| 6931 |
amit.gupta |
543 |
dynamicPriceRange = $action.getDynamicSearchMap();
|
| 2847 |
mandeep.dh |
544 |
</script>
|
| 8917 |
kshitij.so |
545 |
<script type="text/javascript" charset="utf-8">
|
|
|
546 |
#if ($bannerCount == 1 )
|
|
|
547 |
jQuery('#banner-menu').slidy({
|
|
|
548 |
animation: 'none',
|
|
|
549 |
children: 'a',
|
|
|
550 |
menu: false,
|
|
|
551 |
pause: true,
|
|
|
552 |
speed: 400,
|
|
|
553 |
time: 4000
|
|
|
554 |
});
|
| 2847 |
mandeep.dh |
555 |
|
| 8917 |
kshitij.so |
556 |
#elseif ($bannerCount > 1 && $bannerCount < 3 )
|
|
|
557 |
$(document).ready(function() {
|
|
|
558 |
$('#bannerMenu').DDSlider({
|
|
|
559 |
nextSlide: '.slider_arrow_right',
|
|
|
560 |
prevSlide: '.slider_arrow_left',
|
|
|
561 |
selector: '.slider_selector'
|
|
|
562 |
});
|
|
|
563 |
});
|
|
|
564 |
#else
|
|
|
565 |
jQuery('#banner-menu').slidy({
|
|
|
566 |
animation: 'fade',
|
|
|
567 |
children: 'a',
|
|
|
568 |
menu: true,
|
|
|
569 |
pause: true,
|
|
|
570 |
speed: 200,
|
|
|
571 |
time: 5000
|
|
|
572 |
});
|
|
|
573 |
#end
|
|
|
574 |
</script>
|
|
|
575 |
<style type="text/css">
|
|
|
576 |
.slider_arrow_left {
|
|
|
577 |
background: url(/images/left_arrow.png) no-repeat top left;
|
|
|
578 |
}
|
|
|
579 |
.slider_arrow_right {
|
|
|
580 |
background: url(/images/right_arrow.png) no-repeat top left;
|
|
|
581 |
}
|
|
|
582 |
</style>
|
| 2847 |
mandeep.dh |
583 |
</body>
|
|
|
584 |
</html>
|
| 6866 |
amit.gupta |
585 |
|
|
|
586 |
#macro ( renderCategory $facets )
|
|
|
587 |
#set ($facetLabel = "Category")
|
|
|
588 |
#set ( $facetvalues = $facets.get($facetLabel) )
|
|
|
589 |
<div id="filterByTalkTime">
|
|
|
590 |
<div class="filterHeading">
|
|
|
591 |
<div class="filterArrow"> </div>
|
|
|
592 |
<div class="sectionHeader">$facetLabel</div>
|
|
|
593 |
</div>
|
|
|
594 |
<div class="filterOption">
|
|
|
595 |
<ul>
|
|
|
596 |
#foreach ( $facetdetail in $facetvalues )
|
|
|
597 |
#if ($facetdetail.get(3) != "")
|
|
|
598 |
<li>
|
|
|
599 |
<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>
|
|
|
600 |
#set ($subcategories = $facets.get("Sub Category"))
|
|
|
601 |
#set ($childCategories = $action.getChildren($facetdetail.get(0)))
|
|
|
602 |
<ul class="sub-category">
|
|
|
603 |
#if ($childCategories.size() > 1)
|
|
|
604 |
#foreach ( $subcategory in $subcategories )
|
|
|
605 |
#if($childCategories.contains($subcategory.get(0)))
|
|
|
606 |
<li>
|
|
|
607 |
#if ($subcategory.get(3) != "")
|
|
|
608 |
<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>
|
|
|
609 |
#else
|
|
|
610 |
#set($zeroresults = 'class = "mk_subcategory zero_count')
|
|
|
611 |
#if ($subcategory.get(1) !="0")
|
|
|
612 |
#set($zeroresults = 'class="mk_filter mk_subcategory" href="javascript:void(0)"')
|
|
|
613 |
#end
|
|
|
614 |
<a $zeroresults value="$subcategory.get(2)">$subcategory.get(0)</a> <span class="noColor">($subcategory.get(1))</span>
|
|
|
615 |
#end
|
|
|
616 |
|
|
|
617 |
</li>
|
|
|
618 |
#end
|
|
|
619 |
#end
|
|
|
620 |
#end
|
|
|
621 |
</ul>
|
|
|
622 |
</li>
|
|
|
623 |
#else
|
|
|
624 |
#set($zeroresults = 'class="mk_category zero_count"')
|
|
|
625 |
#if ($facetdetail.get(1) !="0")
|
|
|
626 |
#set($zeroresults = 'class="mk_filter mk_category" href="javascript:void(0)"')
|
|
|
627 |
#end
|
|
|
628 |
<li>
|
|
|
629 |
<a $zeroresults value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
|
|
|
630 |
</li>
|
|
|
631 |
#end
|
|
|
632 |
#end
|
|
|
633 |
</ul>
|
|
|
634 |
</div>
|
|
|
635 |
</div>
|
|
|
636 |
|
|
|
637 |
#end
|