Subversion Repositories SmartDukaan

Rev

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

Rev 1232 Rev 1371
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
    <title>Best Selling Mobile Phones</title>
20
    <title>Best Selling Mobile Phones | Saholic.com</title>
21
 
21
 
22
 
22
 
23
    #include ( "templates/commoncssfiles.vm" )
23
#include ( "templates/commoncssfiles.vm" )
24
 
24
 
25
  </head>
25
  </head>
26
  <body>
26
  <body>
27
 
27
 
28
    <noscript>
28
    <noscript>
Line 72... Line 72...
72
        </div>
72
        </div>
73
        <!-- /Product detail -->
73
        <!-- /Product detail -->
74
 
74
 
75
 
75
 
76
 
76
 
77
        <!-- Best Sellers -->
77
<!-- Best Sellers -->
78
        <div id="productCat">
78
        <div id="productListing">
79
          <div class="top">
79
          <div class="top">
80
            <div class="left">&nbsp;</div>
80
            <div class="left">
81
            <div class="right">&nbsp;</div>
81
              <div class="right">&nbsp;</div>
82
            <div class="clearBoth"></div>
82
            </div>
83
          </div>
83
          </div>
84
 
84
 
85
          <div class="middle">
85
          <div class="middle">
86
            <div class="content">
86
            <div class="content">
87
 
-
 
88
              <!-- productList -->
-
 
89
              <div id="productList" style = "width: 100%; margin-left: 0pt;">
-
 
90
 
-
 
91
                <!-- otherTabContent -->
87
              #if($items && $items.size()!=0)
92
                <div id="otherTabContent" style="display: block">
-
 
93
 
-
 
94
                  <!-- productListTop -->
88
              <!-- productListTop -->
95
                  <div class="productListTop">
89
              <div class="productListTop">
96
                    <div class="productListHeading">best sellers</div>
-
 
97
                    <div class="pagination2">
90
                <div class="pagination2">
98
                      <ul class="pagination">
91
                  <ul class="pagination">
99
										#if($currentPage == 1)
92
										#if($currentPage == 1)
100
                    <li class="pager-previous">
93
                    <li class="pager-previous">
101
                        <span class="current prev">Prev</span>
94
                      <span class="current prev">Prev</span>
102
                    </li>
95
                    </li>
103
										#else
96
										#else
104
											#set($prev = $currentPage-1)
97
											#set($prev = $currentPage-1)
105
                      <li class="pager-previous">
98
                      <li class="pager-previous">
106
                        <a href="./${prev}" class="current prev">Prev</a>
99
                    <a href="./${prev}" class="current prev">Prev</a>
107
                        <li>
100
                      </li>
108
										#end
101
										#end
109
 
102
 
110
 
103
 
111
										#set( $begin = 1 )
104
										#set( $begin = 1 )
112
										#set( $end = 1 )
105
										#set( $end = 1 )
Line 129... Line 122...
129
										#set( $pages = [$begin..$end] )
122
										#set( $pages = [$begin..$end] )
130
 
123
 
131
										#foreach( $pageId in $pages )
124
										#foreach( $pageId in $pages )
132
										#if($currentPage == $pageId)
125
										#if($currentPage == $pageId)
133
                    <li class="pager-item">
126
                    <li class="pager-item">
134
                        <span class="current">$pageId</span>
127
                    <span class="current">$pageId</span>
135
                    </li>
128
                    </li>
136
										#else
129
										#else
137
                    <li class="pager-item">
130
                    <li class="pager-item">
138
                        <a href="./$pageId">$pageId</a>
131
                    <a href="./$pageId">$pageId</a>
139
                    </li>
132
                    </li>
140
										#end
133
										#end
141
										#end
134
										#end
142
 
135
 
143
										#if($currentPage == $totalPages)
136
										#if($currentPage == $totalPages)
144
                    <li class="pager-next">
137
                    <li class="pager-next">
145
                        <span class="current next">Next</span>
138
                    <span class="current next">Next</span>
146
                        </li>
139
                    </li>
147
										#else
140
										#else
148
											#set($next = $currentPage+1)
141
											#set($next = $currentPage+1)
149
                      <li class="pager-next">
142
                      <li class="pager-next">
150
                        <a href="./${next}" class="current next">Next</a>
143
                    <a href="./${next}" class="current next">Next</a>
151
                      </li>
144
                      </li>
152
										#end
145
										#end
153
                      </ul>
146
                  </ul>
154
                    </div>
147
                </div>
-
 
148
 
-
 
149
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>best sellers</div>
-
 
150
                <div class="clearBoth"></div>
-
 
151
              </div>
-
 
152
              <!-- /productListTop -->
155
 
153
 
156
                    <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>best sellers</div>
-
 
157
                    <div class="clearBoth"></div>
-
 
158
                  </div>
-
 
159
                  <!-- /productListTop -->
154
              <!-- productListCenter -->
160
 
-
 
161
                  <!-- productListCenter -->
155
              <div id="productListingContent">
162
                  <div id="productListCenter2">
156
                <ul class="deal-items best-seller-page-items">
163
 
157
 
164
                    <div class="page">
-
 
165
                      <ul class="deal-items best-seller-page-items">
-
 
166
                      #set($items =  $action.getItems())
158
                  #set($items =  $action.getItems())
167
                      #set( $isLeft = 0 )
159
                  #set( $isLeft = 0 )
168
                      #foreach ( $entity in $items )
160
                  #foreach ( $entity in $items )
169
                      <li
161
                  <li
170
                        #if( $isLeft == 0 )
162
                    #if( $isLeft == 0 )
171
                            	 class="floatLeft"
163
                            	 class="floatLeft"
172
                            	#set($isLeft = 1)
164
                            	#set($isLeft = 1)
173
                        #else
165
                    #else
174
                            	class="floatRight"
166
                            	class="floatRight"
175
                            	#set($isLeft = 0)
167
                            	#set($isLeft = 0)
176
                        #end
-
 
177
                        >
-
 
178
                        $entity
-
 
179
                    </li>
-
 
180
                    #end
168
                    #end
181
                    </ul>
169
                    >
-
 
170
							$entity
182
                  </div>
171
                </li>
183
 
-
 
-
 
172
							#if( $isLeft == 0 )
184
 
173
 
-
 
174
							#end
185
                  <div class="clearBoth"></div>
175
                #end
186
 
176
 
187
                </div>
-
 
188
                <!-- /productListCenter -->
-
 
189
 
177
 
190
                <!-- productListBottom -->
-
 
191
                <div class="productListBottom">
-
 
192
                  <div class="pagination2"></div>
-
 
193
                  <div class="clearBoth"></div>
-
 
194
                </div>
178
              </ul>
195
                <!-- /productListBottom -->
179
              <div class="clearBoth"></div>
196
 
180
 
197
              </div>
181
            </div>
198
              <!-- /otherTabContent -->
182
            <!-- /productListCenter -->
199
 
183
 
-
 
184
            <!-- productListBottom -->
-
 
185
            <div class="productListBottom">
-
 
186
              <div class="pagination2"></div>
-
 
187
              <div class="clearBoth"></div>
200
            </div>
188
            </div>
201
            <!-- /productList -->
189
            <!-- /productListBottom -->
-
 
190
 
-
 
191
 
-
 
192
            #end
202
 
193
 
203
            <div class="clearBoth"></div>
194
            <div class="clearBoth"></div>
204
          </div>
195
          </div>
205
 
196
 
206
        </div>
197
        </div>
Line 216... Line 207...
216
    </div>
207
    </div>
217
    <!-- /wrapper-->
208
    <!-- /wrapper-->
218
 
209
 
219
    <!-- sidebar-->
210
    <!-- sidebar-->
220
    <div id="sidebar">
211
    <div id="sidebar">
-
 
212
 
221
      $action.getCustomerServiceSnippet()
213
      $action.getCustomerServiceSnippet()
222
		$action.getMyResearchSnippet()
214
		$action.getMyResearchSnippet()
223
		$action.getBrowseHistorySnippet()
215
		$action.getBrowseHistorySnippet()
224
    </div>
216
    </div>
225
    <!-- /sidebar-->
217
    <!-- /sidebar-->
Line 230... Line 222...
230
 
222
 
231
  <!-- footer -->
223
  <!-- footer -->
232
  $action.getFooterSnippet()
224
  $action.getFooterSnippet()
233
  <!-- /footer -->
225
  <!-- /footer -->
234
 
226
 
235
 
-
 
236
  <!-- color by color lightbox -->
227
  <!-- color by color lightbox -->
237
  <div style="display:none;">
228
  <div style="display:none;">
238
    <div class="colorSelLightBoxColor">
229
    <div class="colorSelLightBoxColor">
239
      <form name="frmColorSelName" method="post" action="#">
230
      <form name="frmColorSelName" method="post" action="#">
240
        <h1>Color Selector</h1>
231
        <h1>Color Selector</h1>
Line 251... Line 242...
251
    </div>
242
    </div>
252
  </div>
243
  </div>
253
  <!-- /color by color lightbox -->
244
  <!-- /color by color lightbox -->
254
 
245
 
255
#include ( "templates/commonjsfiles.vm" )
246
#include ( "templates/commonjsfiles.vm" )
256
<script src="/js/jquery.colorbox-min.js"></script> 
-
 
257
</body>
247
</body>
258
</html>
248
</html>
259
 
249