Subversion Repositories SmartDukaan

Rev

Rev 7255 | Rev 7272 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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