| 7226 |
anupam.sin |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
5 |
<link rel="stylesheet" href="css/rechargewebapp_18042013.css" type="text/css" />
|
| 7255 |
amit.gupta |
6 |
<link rel="stylesheet" href="/css/jquery.ui.autocomplete.css" type="text/css" />
|
| 7226 |
anupam.sin |
7 |
<style>
|
|
|
8 |
.mandatory {
|
|
|
9 |
color:red;
|
|
|
10 |
}
|
|
|
11 |
</style>
|
|
|
12 |
</head>
|
|
|
13 |
|
|
|
14 |
<body style="margin: 0;">
|
|
|
15 |
|
|
|
16 |
<div style="line-height:37px;height:37px;background-color:#333;color:white;">
|
|
|
17 |
<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">ANC</span>
|
|
|
18 |
<span style="margin-left:20px;font-weight:bold;font-size:15px">Today's Collection : </span><span style="font-size:20px">3272</span>
|
|
|
19 |
<a style="margin:0px 25px 0px 25px;color:white" href="/rch/report">REPORTS</a>
|
|
|
20 |
<a style="color:white;" href="/rch/!doLogout">Logout</a>
|
|
|
21 |
</div>
|
|
|
22 |
|
|
|
23 |
<div style="line-height:60px;height: 70px;background-color:#DBEEFF;color: #333333;margin: 0px;border-bottom:1px solid #67ABD3">
|
|
|
24 |
<img style="float:left;" src="/rch/images/Hotspot-Logo.jpg">
|
| 7255 |
amit.gupta |
25 |
<form id="formSearch" method='GET' action='/storewebsite/search'>
|
|
|
26 |
<input id="query" name="q" type="text" style="height: 26px;margin: 20px 0px 20px 20px;width: 400px;border: 1px solid #999999;padding: 2px 5px 2px 10px;font-size: 17px;color: #777777;box-shadow: 1px -1px 10px -1px #999999 inset;" value="$q"></input>
|
|
|
27 |
<input type="submit" value="Search" style="height: 26px;margin: 20px 0 20px 20px;color: white;background-color: #2789c1;border: 1px solid blue;cursor: pointer;"></input>
|
|
|
28 |
</form>
|
| 7226 |
anupam.sin |
29 |
<img style="float:right;margin-right:20px;" src="/rch/images/Saholic-Logo.jpg">
|
|
|
30 |
</div>
|
|
|
31 |
|
|
|
32 |
<div id="main" style="width: 75%;margin: 25px 0 0 25px;border: solid 1px #2789C1;">
|
|
|
33 |
<div style="height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: white;">
|
|
|
34 |
<div style="margin: 0px 10px 0px 10px;padding-top: 7px;">
|
|
|
35 |
<span style="float:left">Search Results</span>
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
|
|
|
39 |
<div style="padding:5px;">
|
|
|
40 |
<div class="content">
|
|
|
41 |
<!-- multifaceted search -->
|
|
|
42 |
<div id="multifacetedSearch">
|
|
|
43 |
<!-- filter by -->
|
|
|
44 |
<div id="filterBy">
|
|
|
45 |
#if($facets && $facets.size()!=0)
|
|
|
46 |
<h2>Filter by:</h2>
|
|
|
47 |
#foreach ( $facetLabel in $facets.keySet() )
|
|
|
48 |
#set ( $facetvalues = $facets.get($facetLabel) )
|
|
|
49 |
#if( $facetLabel == "Category" )
|
|
|
50 |
#elseif( $facetLabel == "Sub Category" )
|
|
|
51 |
#if ($action.getChildren($action.getCategoryName()).size() > 1)
|
|
|
52 |
<div id="filterByTalkTime">
|
|
|
53 |
<div class="filterHeading">
|
|
|
54 |
<div class="filterArrow"> </div>
|
|
|
55 |
<div class="sectionHeader">$facetLabel</div>
|
|
|
56 |
</div>
|
|
|
57 |
|
|
|
58 |
<div class="filterOption">
|
|
|
59 |
<ul>
|
|
|
60 |
#foreach ( $facetdetail in $facetvalues )
|
|
|
61 |
<li>
|
|
|
62 |
#if ($facetdetail.get(3) != "")
|
|
|
63 |
<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>
|
|
|
64 |
#else
|
|
|
65 |
<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>
|
|
|
66 |
#end
|
|
|
67 |
</li>
|
|
|
68 |
#end
|
|
|
69 |
</ul>
|
|
|
70 |
</div>
|
|
|
71 |
</div>
|
|
|
72 |
#end
|
|
|
73 |
#else
|
|
|
74 |
<div id="filterByTalkTime">
|
|
|
75 |
<div class="filterHeading">
|
|
|
76 |
<div class="filterArrow"> </div>
|
|
|
77 |
<div class="sectionHeader">$facetLabel</div>
|
|
|
78 |
</div>
|
|
|
79 |
|
|
|
80 |
<div class="filterOption">
|
|
|
81 |
<ul>
|
|
|
82 |
#foreach ( $facetdetail in $facetvalues)
|
|
|
83 |
#set ($zeroClass = "")
|
|
|
84 |
#set ($isActive = "")
|
|
|
85 |
#if ($facetdetail.get(1) == "0")
|
|
|
86 |
#set ($zeroClass = "zero_count")
|
|
|
87 |
#set ($isActive = 'disabled="disabled"')
|
|
|
88 |
#end
|
|
|
89 |
#if ($facetdetail.get(3) == "")
|
|
|
90 |
#set ($checked = "")
|
|
|
91 |
#else
|
|
|
92 |
#set ($checked = "bold")
|
|
|
93 |
#end
|
|
|
94 |
<li class="$zeroClass $checked">
|
|
|
95 |
<input type="checkbox" value="$facetdetail.get(2)" $isActive class="mk_filter" $facetdetail.get(3)/>$facetdetail.get(0)<span class="noColor">($facetdetail.get(1))</span>
|
|
|
96 |
</li>
|
|
|
97 |
#end
|
|
|
98 |
</ul>
|
|
|
99 |
</div>
|
|
|
100 |
</div>
|
|
|
101 |
#end
|
|
|
102 |
#end
|
|
|
103 |
#end
|
|
|
104 |
<div class="bottomBorder"> </div>
|
|
|
105 |
</div>
|
|
|
106 |
<!-- /filter by -->
|
|
|
107 |
</div>
|
|
|
108 |
<!-- /multifaceted search -->
|
|
|
109 |
|
|
|
110 |
<!-- productList -->
|
|
|
111 |
<div id="productList">
|
|
|
112 |
<!-- browse tab content -->
|
|
|
113 |
<div id="browseContent">
|
|
|
114 |
<!--Put filters here-->
|
|
|
115 |
#if($crumbs && $crumbs.size()!=0)
|
|
|
116 |
<h2 style="padding:6px">Current filters:</h2>
|
|
|
117 |
<div id="currentFilters">
|
|
|
118 |
#foreach ( $crumb in $crumbs.keySet() )
|
|
|
119 |
#if ($crumb == "Category")
|
|
|
120 |
#else
|
|
|
121 |
<div id="filterTalkTime">
|
|
|
122 |
<span class="sectionHeader">$crumb:</span>
|
|
|
123 |
#foreach ($crumblist in $crumbs.get($crumb))
|
|
|
124 |
<span class="filterContent">
|
|
|
125 |
<span class="filterOption">$crumblist.get(0)</span>
|
|
|
126 |
<span class="filterClose"><a href="javascript:void(0)" value="$crumblist.get(1)" class="mk_filter_close">[X]</a></span>
|
|
|
127 |
</span>
|
|
|
128 |
#end
|
|
|
129 |
</div>
|
|
|
130 |
#end
|
|
|
131 |
#end
|
|
|
132 |
</div>
|
|
|
133 |
#end
|
|
|
134 |
<!-- productListTop -->
|
|
|
135 |
<div class="productListTop">
|
|
|
136 |
<div class="productListResult">
|
|
|
137 |
$beginIndex to $endIndex of <span class="resultLimit">$totalItems</span> <span class="style1">results</span>
|
|
|
138 |
</div>
|
|
|
139 |
<div class="pagination1 moveTop">
|
|
|
140 |
<ul class="pagination">
|
|
|
141 |
#if($currentPage == 1)
|
|
|
142 |
<li class="pager-previous">
|
|
|
143 |
<span class="current prev">Prev</span>
|
|
|
144 |
</li>
|
|
|
145 |
#else
|
|
|
146 |
#set($prev = $currentPage-1)
|
|
|
147 |
<li class="pager-previous">
|
|
|
148 |
<a href="${url}&page=${prev}" class="current prev">Prev</a>
|
|
|
149 |
</li>
|
|
|
150 |
#end
|
|
|
151 |
|
|
|
152 |
#set( $begin = 1 )
|
|
|
153 |
#set( $end = 1 )
|
|
|
154 |
|
|
|
155 |
#if($totalPages <= 5)
|
|
|
156 |
#set( $begin = 1 )
|
|
|
157 |
#set( $end = $totalPages )
|
|
|
158 |
#else
|
|
|
159 |
#if($currentPage <= 3)
|
|
|
160 |
#set( $begin = 1 )
|
|
|
161 |
#set( $end = 5 )
|
|
|
162 |
#else
|
|
|
163 |
#set( $begin = $currentPage - 2 )
|
|
|
164 |
#set( $end = $currentPage + 2 )
|
|
|
165 |
#if( $end > $totalPages)
|
|
|
166 |
#set( $end = $totalPages)
|
|
|
167 |
#set( $begin = $end - 4 )
|
|
|
168 |
#end
|
|
|
169 |
#end
|
|
|
170 |
#end
|
|
|
171 |
#set( $pages = [$begin..$end] )
|
|
|
172 |
|
|
|
173 |
#foreach( $pageId in $pages )
|
|
|
174 |
#if($currentPage == $pageId)
|
|
|
175 |
<li class="pager-item">
|
|
|
176 |
<span class="current">$pageId</span>
|
|
|
177 |
</li>
|
|
|
178 |
#else
|
|
|
179 |
<li class="pager-item">
|
|
|
180 |
<a href="${url}&page=${pageId}">$pageId</a>
|
|
|
181 |
</li>
|
|
|
182 |
#end
|
|
|
183 |
#end
|
|
|
184 |
|
|
|
185 |
#if($currentPage == $totalPages)
|
|
|
186 |
<li class="pager-next">
|
|
|
187 |
<span class="current next">Next</span>
|
|
|
188 |
</li>
|
|
|
189 |
#else
|
|
|
190 |
#set($next = $currentPage+1)
|
|
|
191 |
<li class="pager-next">
|
|
|
192 |
<a href="${url}&page=${next}" class="current next">Next</a>
|
|
|
193 |
</li>
|
|
|
194 |
#end
|
|
|
195 |
</ul>
|
|
|
196 |
</div>
|
|
|
197 |
<div class="clearBoth"></div>
|
|
|
198 |
<div id="sortBy">
|
|
|
199 |
Sort by:
|
|
|
200 |
#if($sortOrder == "F_50002 asc")
|
|
|
201 |
<a href="${sortUrl}" id="sortByPopularity">Popularity</a> |
|
|
|
202 |
<a class="active" id="sortByPrice">Price</a>
|
|
|
203 |
|
|
|
204 |
#else
|
|
|
205 |
<a class="active" id="sortByPopularity">Popularity</a> |
|
|
|
206 |
<a href="${sortUrl}&sort=F_50002+asc" id="sortByPrice">Price</a>
|
|
|
207 |
#end
|
|
|
208 |
</div>
|
|
|
209 |
<div class="clearBoth"></div>
|
|
|
210 |
</div>
|
|
|
211 |
<!-- /productListTop -->
|
|
|
212 |
|
|
|
213 |
<!-- productListCenter -->
|
|
|
214 |
<div id="productListCenter1">
|
|
|
215 |
<!-- page 1 -->
|
|
|
216 |
<div class="page">
|
|
|
217 |
<ul class="deal-items category-page-items">
|
|
|
218 |
#set($snippets = $action.getSnippets())
|
|
|
219 |
|
|
|
220 |
#set( $isLeft = 0 )
|
|
|
221 |
#foreach ( $entityid in $results )
|
|
|
222 |
<li
|
|
|
223 |
#if( $isLeft == 0 )
|
|
|
224 |
class="floatLeft"
|
|
|
225 |
#set($isLeft = 1)
|
|
|
226 |
#else
|
|
|
227 |
class="floatRight"
|
|
|
228 |
#set($isLeft = 0)
|
|
|
229 |
#end
|
|
|
230 |
>
|
|
|
231 |
$snippets.get($entityid)
|
|
|
232 |
</li>
|
|
|
233 |
#end
|
|
|
234 |
</ul>
|
|
|
235 |
</div>
|
|
|
236 |
<div class="clearBoth"></div>
|
|
|
237 |
|
|
|
238 |
</div>
|
|
|
239 |
<!-- /productListCenter -->
|
|
|
240 |
|
|
|
241 |
<!-- productListBottom -->
|
|
|
242 |
<div class="productListBottom">
|
|
|
243 |
<div class="pagination1">
|
|
|
244 |
<ul class="pagination">
|
|
|
245 |
#if($currentPage == 1)
|
|
|
246 |
<li class="pager-previous">
|
|
|
247 |
<span class="current prev">Prev</span>
|
|
|
248 |
</li>
|
|
|
249 |
#else
|
|
|
250 |
#set($prev = $currentPage-1)
|
|
|
251 |
<li class="pager-previous">
|
|
|
252 |
<a href="${url}&page=${prev}" class="current prev">Prev</a>
|
|
|
253 |
</li>
|
|
|
254 |
#end
|
|
|
255 |
#set( $begin = 1 )
|
|
|
256 |
#set( $end = 1 )
|
|
|
257 |
|
|
|
258 |
#if($totalPages <= 5)
|
|
|
259 |
#set( $begin = 1 )
|
|
|
260 |
#set( $end = $totalPages )
|
|
|
261 |
#else
|
|
|
262 |
#if($currentPage <= 3)
|
|
|
263 |
#set( $begin = 1 )
|
|
|
264 |
#set( $end = 5 )
|
|
|
265 |
#else
|
|
|
266 |
#set( $begin = $currentPage - 2 )
|
|
|
267 |
#set( $end = $currentPage + 2 )
|
|
|
268 |
#if( $end > $totalPages)
|
|
|
269 |
#set( $end = $totalPages)
|
|
|
270 |
#set( $begin = $end - 4 )
|
|
|
271 |
#end
|
|
|
272 |
#end
|
|
|
273 |
#end
|
|
|
274 |
|
|
|
275 |
#set( $pages = [$begin..$end] )
|
|
|
276 |
|
|
|
277 |
#foreach( $pageId in $pages )
|
|
|
278 |
#if($currentPage == $pageId)
|
|
|
279 |
<li class="pager-item">
|
|
|
280 |
<span class="current">$pageId</span>
|
|
|
281 |
</li>
|
|
|
282 |
#else
|
|
|
283 |
<li class="pager-item">
|
|
|
284 |
<a href="${url}&page=${pageId}">$pageId</a>
|
|
|
285 |
</li>
|
|
|
286 |
#end
|
|
|
287 |
#end
|
|
|
288 |
|
|
|
289 |
#if($currentPage == $totalPages)
|
|
|
290 |
<li class="pager-next">
|
|
|
291 |
<span class="current next">Next</span>
|
|
|
292 |
</li>
|
|
|
293 |
#else
|
|
|
294 |
#set($next = $currentPage+1)
|
|
|
295 |
<li class="pager-next">
|
|
|
296 |
<a href="${url}&page=${next}" class="current next">Next</a>
|
|
|
297 |
</li>
|
|
|
298 |
#end
|
|
|
299 |
</ul>
|
|
|
300 |
</div>
|
|
|
301 |
<div class="clearBoth"></div>
|
|
|
302 |
</div>
|
|
|
303 |
<!-- /productListBottom -->
|
|
|
304 |
</div>
|
|
|
305 |
<!-- /browse tab content -->
|
|
|
306 |
|
|
|
307 |
<!-- otherTabContent -->
|
|
|
308 |
<div id="otherTabContent">
|
|
|
309 |
<!-- productListTop -->
|
|
|
310 |
<div class="productListTop">
|
|
|
311 |
<div class="productListHeading"></div>
|
|
|
312 |
<div class="pagination2"></div>
|
|
|
313 |
<div class="productListResult"></div>
|
|
|
314 |
<div class="clearBoth"></div>
|
|
|
315 |
</div>
|
|
|
316 |
<!-- /productListTop -->
|
|
|
317 |
|
|
|
318 |
<!-- productListCenter -->
|
|
|
319 |
<div id="productListCenter2">
|
|
|
320 |
<div class="clearBoth"></div>
|
|
|
321 |
</div>
|
|
|
322 |
<!-- /productListCenter -->
|
|
|
323 |
</div>
|
|
|
324 |
<!-- /otherTabContent -->
|
|
|
325 |
|
|
|
326 |
</div>
|
|
|
327 |
<!-- /productList -->
|
|
|
328 |
|
|
|
329 |
<div class="clearBoth"></div>
|
|
|
330 |
</div>
|
|
|
331 |
</div>
|
|
|
332 |
</div>
|
|
|
333 |
</body>
|
| 7255 |
amit.gupta |
334 |
<script language="javascript" type="text/javascript" src="js/jquery-1.4.2.js"></script>
|
|
|
335 |
<script language="javascript" type="text/javascript" src="/js/jquery-ui.min.js"></script>
|
|
|
336 |
<script language="javascript" type="text/javascript" src="js/jquery.colorbox-min.js"></script>
|
|
|
337 |
<script language="javascript" type="text/javascript" src="js/jquery.validate.js"></script>
|
|
|
338 |
<script language="javascript" type="text/javascript" src="js/jquery.dataTables.min.js"></script>
|
|
|
339 |
<script language="javascript" type="text/javascript" src="js/storewebsite.js"></script>
|
|
|
340 |
<script language="javascript" type="text/javascript" src="/js/jquery.ui.autocomplete.js"></script>
|
| 7226 |
anupam.sin |
341 |
</html>
|