Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
545 rajveer 1
#set($totalItems  = $action.getTotalItems())
2
#set($beginIndex  = $action.getBeginIndex())
3
 
4
#set($endIndex  = $action.getBeginIndex() + 19 )
5
#if($totalItems <= $endIndex)
2453 chandransh 6
  #set($endIndex = $totalItems)
545 rajveer 7
#end
8
#set($totalPages = $action.getTotalPages())
2453 chandransh 9
#set($snippets  = $action.getSnippets())
545 rajveer 10
#set($currentPage  = $action.getCurrentPage())
11
 
12
 
13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14
<html xmlns="http://www.w3.org/1999/xhtml">
794 rajveer 15
  <head>
16
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
17
    <!-- Prevent MS Office toolbar from changing layout -->
18
    <meta http-equiv="imagetoolbar" content="false" />
19
    <meta name="MSSmartTagsPreventParsing" content="true" />
990 vikas 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." />
2102 vikas 21
	<meta name="keywords" content="best deals mobile phones, buy mobile phones, mobile phone prices, mobile phones India" />
1004 vikas 22
    <title>Best Mobile Phone Deals | Saholic.com</title>
545 rajveer 23
 
2453 chandransh 24
 
1688 rajveer 25
 #include ( "templates/commoncssfiles.vm" )  
568 rajveer 26
 
794 rajveer 27
  </head>
28
  <body>
2453 chandransh 29
 
545 rajveer 30
    <noscript>
794 rajveer 31
      <p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
545 rajveer 32
    </noscript>
794 rajveer 33
 
637 rajveer 34
	$action.getHeaderSnippet()			
545 rajveer 35
    <!-- main -->
794 rajveer 36
    <div id="main">
637 rajveer 37
    	$action.getMainMenuSnippet()
38
    	$action.getSearchBarSnippet()
794 rajveer 39
 
545 rajveer 40
      <!-- wrapper-->
41
      <div id="wrapper">
794 rajveer 42
 
43
        <!-- Product detail -->
545 rajveer 44
        <div id="productDetail">
794 rajveer 45
 
545 rajveer 46
          <div class="top">
47
            <div class="left">
48
              <div class="right"> &nbsp; </div>
49
            </div>
50
          </div>
794 rajveer 51
 
545 rajveer 52
          <div class="middle">
53
            <div class="content">
794 rajveer 54
 
55
              <div class="blockLeft">
56
 
57
                <!-- breadcrumb -->
2453 chandransh 58
                <div id="breadcrumb"><a href="/">Home</a>&nbsp;&gt; <a href="#" class="deselect">Best Deals</a></div>
794 rajveer 59
                <!-- /breadcrumb -->                  
60
                <h1 id="productHeading2">Best Deals</h1>
61
 
62
              </div>
545 rajveer 63
              <div class="clearBoth"></div>
794 rajveer 64
 
545 rajveer 65
            </div>
66
          </div>
794 rajveer 67
 
545 rajveer 68
          <div class="bottom">
69
            <div class="left">
70
              <div class="right"> &nbsp; </div>
71
            </div>
72
          </div>
794 rajveer 73
 
545 rajveer 74
        </div>
75
        <!-- /Product detail -->
76
 
77
 
794 rajveer 78
 
2453 chandransh 79
        <!-- Best Deals -->
794 rajveer 80
        <div id="productListing">
627 rajveer 81
 
794 rajveer 82
          <div class="top">
83
            <div class="left">
84
              <div class="right">&nbsp;</div>
85
            </div>
86
          </div>
87
 
88
          <div class="middle">
89
            <div class="content">
2453 chandransh 90
 
794 rajveer 91
              <!-- productListTop -->
92
              <div class="productListTop">
93
                <div class="pagination2">
94
                  <ul class="pagination">
545 rajveer 95
										#if($currentPage == 1)
794 rajveer 96
                    <li class="pager-previous">
97
                      <span class="current prev">Prev</span>
98
                    </li>
545 rajveer 99
										#else
100
											#set($prev = $currentPage-1)
794 rajveer 101
                    <li class="pager-previous">
102
                      <a href="./${prev}" class="current prev">Prev</a>
103
                    </li>
545 rajveer 104
										#end	
105
 
106
 
107
										#set( $begin = 1 )
108
										#set( $end = 1 )
109
										#if($totalPages <= 5)
110
											#set( $begin = 1 )
111
											#set( $end = $totalPages )
112
										#else
113
											#if($currentPage <= 3)
114
												#set( $begin = 1 )
115
												#set( $end = 5 )
116
											#else
117
												#set( $begin = $currentPage - 2 )
118
    											#set( $end = $currentPage + 2 )
119
												#if( $end > $totalPages)
120
													#set( $end = $totalPages)
121
													#set( $begin = $end - 4 )
122
												#end
123
											#end	
124
										#end	
125
										#set( $pages = [$begin..$end] )
794 rajveer 126
 
545 rajveer 127
										#foreach( $pageId in $pages )
2453 chandransh 128
											#if($currentPage == $pageId)
794 rajveer 129
                    <li class="pager-item">
130
                      <span class="current">$pageId</span>
131
                    </li>
2453 chandransh 132
                                            #else
794 rajveer 133
                    <li class="pager-item">
134
                      <a href="./$pageId">$pageId</a>	
135
                    </li>
2453 chandransh 136
										    #end
545 rajveer 137
										#end
794 rajveer 138
 
545 rajveer 139
										#if($currentPage == $totalPages)
794 rajveer 140
                    <li class="pager-next">
141
                      <span class="current next">Next</span>
142
                    </li>
545 rajveer 143
										#else
144
											#set($next = $currentPage+1)
794 rajveer 145
                    <li class="pager-next">
146
                      <a href="./${next}" class="current next">Next</a>
147
                    </li>
545 rajveer 148
										#end
794 rajveer 149
                  </ul>
150
                </div>
151
 
152
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>best deals</div>                                
153
                <div class="clearBoth"></div>
154
              </div>
155
              <!-- /productListTop -->
2453 chandransh 156
 
157
 
794 rajveer 158
              <!-- productListCenter -->
159
              <div id="productListingContent">
160
                <ul class="deal-items best-deals-page-items">
2453 chandransh 161
				  #if($snippets && $snippets.size()!=0)
794 rajveer 162
                  #set( $isLeft = 0 )
2453 chandransh 163
                  #foreach ( $entity in $snippets )
794 rajveer 164
                  <li
165
                    #if( $isLeft == 0 ) 
545 rajveer 166
                            	 class="floatLeft"
167
                            	#set($isLeft = 1)	
794 rajveer 168
                    #else
545 rajveer 169
                            	class="floatRight"
170
                            	#set($isLeft = 0)	
794 rajveer 171
                    #end		
172
                    >
173
                    $entity
2453 chandransh 174
                 </li>
175
				  #end
176
				  #end
794 rajveer 177
              </ul>
545 rajveer 178
 
794 rajveer 179
              <div class="clearBoth"></div>
180
 
181
            </div>
182
            <!-- /productListCenter -->
2453 chandransh 183
 
794 rajveer 184
 
185
            <!-- productListBottom -->
186
            <div class="productListBottom">
187
              <div class="pagination2">
188
                <ul class="pagination">
2453 chandransh 189
                  #if($currentPage == 1)
794 rajveer 190
                  <li class="pager-previous">
191
                    <span class="current prev">Prev</span>
192
                  </li>
627 rajveer 193
										#else
194
											#set($prev = $currentPage-1)
794 rajveer 195
                  <li class="pager-previous">
196
                    <a href="./${prev}" class="current prev">Prev</a>
197
                  </li>
627 rajveer 198
										#end	
199
 
200
										#foreach( $pageId in $pages )
201
										#if($currentPage == $pageId)
794 rajveer 202
                  <li class="pager-item">
203
                    <span class="current">$pageId</span>
204
                  </li>
627 rajveer 205
										#else
794 rajveer 206
                  <li class="pager-item">
207
                    <a href="./$pageId">$pageId</a>	
208
                  </li>
627 rajveer 209
										#end
210
										#end
794 rajveer 211
 
627 rajveer 212
										#if($currentPage == $totalPages)
794 rajveer 213
                  <li class="pager-next">
214
                    <span class="current next">Next</span>
215
                  </li>
627 rajveer 216
										#else
217
											#set($next = $currentPage+1)
794 rajveer 218
                  <li class="pager-next">
219
                    <a href="./${next}" class="current next">Next</a>
220
                  </li>
627 rajveer 221
										#end
794 rajveer 222
                </ul>
223
              </div>	
545 rajveer 224
            </div>
2453 chandransh 225
            <!-- /productListBottom -->      
794 rajveer 226
 
227
            <div class="clearBoth"></div>
228
          </div>
229
 
545 rajveer 230
        </div>
794 rajveer 231
 
232
        <div class="bottom">
233
          <div class="left">
234
            <div class="right">&nbsp;</div>
235
          </div>
236
        </div>
545 rajveer 237
      </div>
794 rajveer 238
      <!-- /Best Sellers -->
239
 
240
    </div>
241
    <!-- /wrapper-->
242
 
243
    <!-- sidebar-->
244
    <div id="sidebar">
245
      $action.getCustomerServiceSnippet()
1372 vikas 246
	  <div id="myresearch" class="lightbox">
1934 vikas 247
          $action.getMyResearchSnippet()
248
      </div>
249
      <div id="browsehistory" class="lightbox">
250
          $action.getBrowseHistorySnippet()
251
      </div>
2256 varun.gupt 252
      <div id="paymentoptions" class="lightbox">
253
          #include("templates/paymentmodes.vm")
254
      </div>
794 rajveer 255
    </div>
256
    <!-- /sidebar-->
257
    <div class="clearBoth"></div>
258
 
259
  </div>
260
  <!-- /main -->
261
 
262
  <!-- footer -->
263
  $action.getFooterSnippet()
264
  <!-- /footer -->
265
 
266
 
267
  <!-- color by color lightbox -->
268
  <div style="display:none;">
269
    <div class="colorSelLightBoxColor">
270
      <form name="frmColorSelName" method="post" action="#">
271
        <h1>Color Selector</h1>
272
        <h2>"Please choose color of product"</h2>
273
 
274
        <div class="content"></div>
275
 
276
        <div class="bigImgButton yellow-image">
277
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
545 rajveer 278
        </div>
279
        <div class="clearBoth"></div>
794 rajveer 280
 
281
      </form>
545 rajveer 282
    </div>
794 rajveer 283
  </div>
284
  <!-- /color by color lightbox -->
545 rajveer 285
 
943 vikas 286
    #include ( "templates/commonjsfiles.vm" )
287
 
545 rajveer 288
</body>
289
</html>
290