Subversion Repositories SmartDukaan

Rev

Rev 3113 | Rev 5542 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3113 Rev 3830
Line 1... Line 1...
1
#set($totalItems  = $action.getTotalItems())
1
#set($totalItems  = $action.getTotalItems())
2
#set($beginIndex  = $action.getBeginIndex())
2
#set($beginIndex  = $action.getBeginIndex())
3
 
3
 
4
#set($endIndex  = $action.getBeginIndex() + 19 )
4
#set($endIndex  = $action.getBeginIndex() + 19 )
5
#if($totalItems <= $endIndex)
5
#if($totalItems <= $endIndex)
6
#set($endIndex = $totalItems)
6
  #set($endIndex = $totalItems)
7
#end
7
#end
8
#set($totalPages = $action.getTotalPages())
8
#set($totalPages = $action.getTotalPages())
9
#set($snippets  = $action.getSnippets())
9
#set($snippets  = $action.getSnippets())
10
#set($currentPage  = $action.getCurrentPage())
10
#set($currentPage  = $action.getCurrentPage())
11
 
11
 
Line 15... Line 15...
15
  <head>
15
  <head>
16
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
17
    <!-- Prevent MS Office toolbar from changing layout -->
17
    <!-- Prevent MS Office toolbar from changing layout -->
18
    <meta http-equiv="imagetoolbar" content="false" />
18
    <meta http-equiv="imagetoolbar" content="false" />
19
    <meta name="MSSmartTagsPreventParsing" content="true" />
19
    <meta name="MSSmartTagsPreventParsing" content="true" />
20
    <meta name="description" content="Best mobile phone deals in India. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews." />
20
	<meta name="description" content="Best mobile phone deals in India. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews." />
21
    <meta name="keywords" content="best deals mobile phone, best deals mobile india, mobile best deals, buy mobile phones, mobile price india" />
21
	<meta name="keywords" content="best sellers mobile phones, buy mobile phones, mobile phone prices, mobile phones India" />
22
    <title>Best Selling Mobile Phones | Saholic.com</title>
22
    <title>Best Sellers Mobile Phone | Saholic.com</title>
23
 
-
 
24
 
23
 
-
 
24
	
25
 #include ( "templates/commoncssfiles.vm" )  
25
 #include ( "templates/commoncssfiles.vm" )  
26
 
26
 
27
  </head>
27
  </head>
28
  <body>
28
  <body>
29
 
29
  
30
    <noscript>
30
    <noscript>
31
      <p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
31
      <p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
32
    </noscript>
32
    </noscript>
33
 
33
 
34
	$action.getHeaderSnippet()
34
	$action.getHeaderSnippet()			
35
    <!-- main -->
-
 
36
    <div id="main">
-
 
37
    	#include("templates/mainmenu.vm")
-
 
38
    	$action.getSearchBarSnippet()
-
 
39
 
35
	
40
      <!-- wrapper-->
36
	<!-- Main -->
41
      <div id="wrapper">
37
<div id="main">
42
 
-
 
43
        <!-- Product detail -->
-
 
44
        <div id="productDetail">
-
 
45
 
-
 
46
          <div class="top">
-
 
47
            <div class="left">
-
 
48
              <div class="right"> &nbsp; </div>
-
 
49
            </div>
-
 
50
          </div>
-
 
51
 
-
 
52
          <div class="middle">
38
	<div class="main-content">
53
            <div class="content">
39
		<div class="main-top">
54
 
-
 
55
              <div class="blockLeft">
40
			<div class="bread-crumbs">
56
 
-
 
57
                <!-- breadcrumb -->
-
 
58
                <div id="breadcrumb"><a href="/">Home</a>&nbsp;&gt; <a href="#" class="deselect">Best Sellers</a></div>
-
 
59
                <!-- /breadcrumb -->
41
				<a href="/">Home</a>&nbsp;&gt;&nbsp;
60
                <h1 id="productHeading2">Best Sellers</h1>
42
				<a href="#">Best Sellers</a>
61
 
-
 
62
              </div>
-
 
63
              <div class="clearBoth"></div>
-
 
64
 
-
 
65
            </div>
43
			</div>
66
          </div>
44
		</div>
67
 
-
 
68
          <div class="bottom">
-
 
69
            <div class="left">
45
		<div class="main-left left">
70
              <div class="right"> &nbsp; </div>
-
 
71
            </div>
-
 
72
          </div>
-
 
73
 
-
 
74
        </div>
-
 
75
        <!-- /Product detail -->
46
        <!-- Best Deals -->
76
 
-
 
77
 
-
 
78
 
-
 
79
<!-- Best Sellers -->
-
 
80
        <div id="productListing">
47
        <div id="productListing">
81
          <div class="top">
-
 
82
            <div class="left">
-
 
83
              <div class="right">&nbsp;</div>
-
 
84
            </div>
-
 
85
          </div>
-
 
86
 
48
 
87
          <div class="middle">
49
          <div class="middle">
88
            <div class="content">
50
            <div class="content blue-border">
89
              #if($snippets && $snippets.size()!=0)
-
 
-
 
51
 
90
              <!-- productListTop -->
52
              <!-- productListTop -->
91
              <div class="productListTop">
53
              <div class="productListTop">
92
                <div class="pagination2">
54
                <div class="pagination2">
93
                  <ul class="pagination">
55
                  <ul class="pagination">
94
										#if($currentPage == 1)
56
										#if($currentPage == 1)
95
                    <li class="pager-previous">
57
                    <li class="pager-previous">
96
                      <span class="current prev">Prev</span>
58
                      <span class="current prev">Prev</span>
97
                    </li>
59
                    </li>
98
										#else
60
										#else
99
											#set($prev = $currentPage-1)
61
											#set($prev = $currentPage-1)
100
                      <li class="pager-previous">
62
                    <li class="pager-previous">
101
                    <a href="./${prev}" class="current prev">Prev</a>
63
                      <a href="./${prev}" class="current prev">Prev</a>
102
                      </li>
64
                    </li>
103
										#end
65
										#end	
104
 
66
 
105
 
67
 
106
										#set( $begin = 1 )
68
										#set( $begin = 1 )
107
										#set( $end = 1 )
69
										#set( $end = 1 )
108
										#if($totalPages <= 5)
70
										#if($totalPages <= 5)
Line 117... Line 79...
117
    											#set( $end = $currentPage + 2 )
79
    											#set( $end = $currentPage + 2 )
118
												#if( $end > $totalPages)
80
												#if( $end > $totalPages)
119
													#set( $end = $totalPages)
81
													#set( $end = $totalPages)
120
													#set( $begin = $end - 4 )
82
													#set( $begin = $end - 4 )
121
												#end
83
												#end
122
											#end
84
											#end	
123
										#end
85
										#end	
124
										#set( $pages = [$begin..$end] )
86
										#set( $pages = [$begin..$end] )
125
 
87
 
126
										#foreach( $pageId in $pages )
88
										#foreach( $pageId in $pages )
127
										#if($currentPage == $pageId)
89
											#if($currentPage == $pageId)
128
                    <li class="pager-item">
90
                    <li class="pager-item">
129
                    <span class="current">$pageId</span>
91
                      <span class="current">$pageId</span>
130
                    </li>
92
                    </li>
131
										#else
93
                                            #else
132
                    <li class="pager-item">
94
                    <li class="pager-item">
133
                    <a href="./$pageId">$pageId</a>
95
                      <a href="./$pageId">$pageId</a>	
134
                    </li>
96
                    </li>
135
										#end
97
										    #end
136
										#end
98
										#end
137
 
99
 
138
										#if($currentPage == $totalPages)
100
										#if($currentPage == $totalPages)
139
                    <li class="pager-next">
101
                    <li class="pager-next">
140
                    <span class="current next">Next</span>
102
                      <span class="current next">Next</span>
141
                    </li>
103
                    </li>
142
										#else
104
										#else
143
											#set($next = $currentPage+1)
105
											#set($next = $currentPage+1)
144
                      <li class="pager-next">
106
                    <li class="pager-next">
145
                    <a href="./${next}" class="current next">Next</a>
107
                      <a href="./${next}" class="current next">Next</a>
146
                      </li>
108
                    </li>
147
										#end
109
										#end
148
                  </ul>
110
                  </ul>
149
                </div>
111
                </div>
150
 
112
 
151
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>best sellers</div>
113
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>best sellers</div>                                
152
                <div class="clearBoth"></div>
114
                <div class="clearBoth"></div>
153
              </div>
115
              </div>
154
              <!-- /productListTop -->
116
              <!-- /productListTop -->
-
 
117
			  
155
 
118
			  
156
              <!-- productListCenter -->
119
              <!-- productListCenter -->
157
              <div id="productListingContent">
120
              <div id="productListingContent">
158
                <ul class="deal-items best-seller-page-items">
121
                <ul class="deal-items best-deals-page-items">
159
 
-
 
-
 
122
				  #if($snippets && $snippets.size()!=0)
160
                  #set( $isLeft = 0 )
123
                  #set( $isLeft = 0 )
161
                  #foreach ( $entity in $snippets )
124
                  #foreach ( $entity in $snippets )
162
                  <li
125
                  <li
163
                    #if( $isLeft == 0 )
126
                    #if( $isLeft == 0 ) 
164
                            	 class="floatLeft"
127
                            	 class="floatLeft"
165
                            	#set($isLeft = 1)
128
                            	#set($isLeft = 1)	
166
                    #else
129
                    #else
167
                            	class="floatRight"
130
                            	class="floatRight"
168
                            	#set($isLeft = 0)
131
                            	#set($isLeft = 0)	
169
                    #end
132
                    #end		
170
                    >
133
                    >
171
							$entity
134
                    $entity
172
                </li>
135
                 </li>
173
							#if( $isLeft == 0 )
-
 
174
 
-
 
175
							#end
136
				  #end
176
                #end
137
				  #end
177
 
-
 
178
 
-
 
179
              </ul>
138
              </ul>
-
 
139
 
180
              <div class="clearBoth"></div>
140
              <div class="clearBoth"></div>
181
 
141
 
182
            </div>
142
            </div>
183
            <!-- /productListCenter -->
143
            <!-- /productListCenter -->
-
 
144
			
184
 
145
 
185
            <!-- productListBottom -->
146
            <!-- productListBottom -->
186
            <div class="productListBottom">
147
            <div class="productListBottom">
187
              <div class="pagination2"></div>
148
              <div class="pagination2">
-
 
149
                <ul class="pagination">
-
 
150
                  #if($currentPage == 1)
188
              <div class="clearBoth"></div>
151
                  <li class="pager-previous">
-
 
152
                    <span class="current prev">Prev</span>
189
            </div>
153
                  </li>
-
 
154
										#else
-
 
155
											#set($prev = $currentPage-1)
190
            <!-- /productListBottom -->
156
                  <li class="pager-previous">
-
 
157
                    <a href="./${prev}" class="current prev">Prev</a>
-
 
158
                  </li>
-
 
159
										#end	
191
 
160
 
-
 
161
										#foreach( $pageId in $pages )
-
 
162
										#if($currentPage == $pageId)
-
 
163
                  <li class="pager-item">
-
 
164
                    <span class="current">$pageId</span>
-
 
165
                  </li>
-
 
166
										#else
-
 
167
                  <li class="pager-item">
-
 
168
                    <a href="./$pageId">$pageId</a>	
-
 
169
                  </li>
-
 
170
										#end
-
 
171
										#end
192
 
172
 
-
 
173
										#if($currentPage == $totalPages)
-
 
174
                  <li class="pager-next">
-
 
175
                    <span class="current next">Next</span>
-
 
176
                  </li>
-
 
177
										#else
-
 
178
											#set($next = $currentPage+1)
-
 
179
                  <li class="pager-next">
-
 
180
                    <a href="./${next}" class="current next">Next</a>
-
 
181
                  </li>
-
 
182
										#end
-
 
183
                </ul>
-
 
184
              </div>	
193
            #end
185
            </div>
-
 
186
            <!-- /productListBottom -->      
194
 
187
 
195
            <div class="clearBoth"></div>
188
            <div class="clearBoth"></div>
196
          </div>
189
          </div>
197
 
190
 
198
        </div>
191
        </div>
199
 
192
 
200
        <div class="bottom">
-
 
201
          <div class="left">
-
 
202
            <div class="right">&nbsp;</div>
-
 
203
          </div>
-
 
204
        </div>
-
 
205
      </div>
193
      </div>
206
      <!-- /Best Sellers -->
194
      <!-- /Best Sellers -->
207
 
195
 
-
 
196
		</div>
-
 
197
		<!-- Widgets -->
-
 
198
		<div class="widgets right">
-
 
199
			$action.getCartWidgetSnippet()
-
 
200
			<div id="myresearch" class="common-widget">
-
 
201
                #include("templates/myresearch.vm")
208
    </div>
202
			</div>
-
 
203
			<div id="browsehistory" class="common-widget">
-
 
204
                #include("templates/browsehistory.vm")
-
 
205
			</div>
-
 
206
		</div>
-
 
207
		<!-- /Widgets -->
-
 
208
 
-
 
209
	</div>
-
 
210
</div>
209
    <!-- /wrapper-->
211
<!-- /Main -->
210
 
212
 
211
    <!-- sidebar-->
-
 
212
    <div id="sidebar">
-
 
213
 
213
 
214
      
-
 
215
	  <div id="myresearch" class="lightbox">
-
 
216
          #include("templates/myresearch.vm")
-
 
217
      </div>
-
 
218
      <div id="browsehistory" class="lightbox">
-
 
219
          #include("templates/browsehistory.vm")
-
 
220
      </div>
-
 
221
    </div>
-
 
222
    <!-- /sidebar-->
-
 
223
    <div class="clearBoth"></div>
-
 
224
 
-
 
225
  </div>
-
 
226
  <!-- /main -->
-
 
227
 
214
 
228
  <!-- footer -->
215
  <!-- footer -->
229
  #include("templates/footer.vm")
216
  #include("templates/footer.vm")
230
  <!-- /footer -->
217
  <!-- /footer -->
231
 
218
 
-
 
219
 
232
  <!-- color by color lightbox -->
220
  <!-- color by color lightbox -->
233
  <div style="display:none;">
221
  <div style="display:none;">
234
    <div class="colorSelLightBoxColor">
222
    <div class="colorSelLightBoxColor">
235
      <form name="frmColorSelName" method="post" action="#">
223
      <form name="frmColorSelName" method="post" action="#">
236
        <h1>Color Selector</h1>
224
        <h1>Color Selector</h1>
237
        <h2>"Please choose color of product"</h2>
225
        <h2>"Please choose color of product"</h2>
238
 
226
 
239
        <div class="content"></div>
227
        <div class="content"></div>
240
 
228
 
241
        <div class="bigImgButton yellow-image">
229
        <div class="bigImgButton yellow-image">
242
          <input value="Continue" type="button" class="button" onclick="selectColor();" />
230
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
243
        </div>
231
        </div>
244
        <div class="clearBoth"></div>
232
        <div class="clearBoth"></div>
245
 
233
 
246
      </form>
234
      </form>
247
    </div>
235
    </div>
248
  </div>
236
  </div>
249
  <!-- /color by color lightbox -->
237
  <!-- /color by color lightbox -->
250
 
238
 
251
#include ( "templates/commonjsfiles.vm" )
239
    #include ( "templates/commonjsfiles.vm" )
-
 
240
 
252
</body>
241
</body>
253
</html>
242
</html>
254
 
243