Subversion Repositories SmartDukaan

Rev

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