Subversion Repositories SmartDukaan

Rev

Rev 1934 | Rev 2176 | 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)
6
#set($endIndex = $totalItems)
7
#end
8
#set($totalPages = $action.getTotalPages())
9
#set($items  = $action.getItems())
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">
936 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" />
2098 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." />
21
    <meta name="keywords" content="latest mobile phones, best deals mobile india, buy latest mobile phones, mobile price india" />
974 vikas 22
    <title>Latest Mobile Phones | Saholic.com</title>
545 rajveer 23
 
1688 rajveer 24
 #set($currentUrl = $request.getRequestURL().toString()) 
25
 #if(!$currentUrl.startsWith("http://www.")) #set($currentUrl = $currentUrl.replace("http://", "http://www."))  #end  
26
 <link rel="canonical" href="$currentUrl" /> 
27
 #include ( "templates/commoncssfiles.vm" )  
568 rajveer 28
 
545 rajveer 29
 
936 rajveer 30
  </head>
31
  <body>
545 rajveer 32
 
33
    <noscript>
936 rajveer 34
      <p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
545 rajveer 35
    </noscript>
637 rajveer 36
 
37
 
936 rajveer 38
	$action.getHeaderSnippet()
545 rajveer 39
    <!-- main -->
936 rajveer 40
    <div id="main">
637 rajveer 41
    	$action.getMainMenuSnippet()
42
    	$action.getSearchBarSnippet()
936 rajveer 43
 
545 rajveer 44
      <!-- wrapper-->
45
      <div id="wrapper">
936 rajveer 46
 
47
        <!-- Product detail -->
545 rajveer 48
        <div id="productDetail">
936 rajveer 49
 
545 rajveer 50
          <div class="top">
51
            <div class="left">
52
              <div class="right"> &nbsp; </div>
53
            </div>
54
          </div>
936 rajveer 55
 
545 rajveer 56
          <div class="middle">
57
            <div class="content">
936 rajveer 58
 
59
              <div class="blockLeft">
60
 
61
                <!-- breadcrumb -->
62
                <div id="breadcrumb"><a href="#">Home</a>&nbsp;&gt; <a href="#" class="deselect">Latest Arrivals</a></div>
63
                <!-- /breadcrumb -->
64
                <h1 id="productHeading2">Latest Arrivals</h1>
65
 
66
              </div>
545 rajveer 67
              <div class="clearBoth"></div>
936 rajveer 68
 
545 rajveer 69
            </div>
70
          </div>
936 rajveer 71
 
545 rajveer 72
          <div class="bottom">
73
            <div class="left">
74
              <div class="right"> &nbsp; </div>
75
            </div>
76
          </div>
936 rajveer 77
 
545 rajveer 78
        </div>
79
        <!-- /Product detail -->
80
 
81
 
936 rajveer 82
 
545 rajveer 83
        <!-- Best Sellers -->
650 rajveer 84
        <div id="productListing">
936 rajveer 85
          <div class="top">
86
            <div class="left">
87
              <div class="right">&nbsp;</div>
88
            </div>
89
          </div>
90
 
91
          <div class="middle">
92
            <div class="content">
93
              #if($items && $items.size()!=0)
94
              <!-- productListTop -->
95
              <div class="productListTop">
96
                <div class="pagination2">
97
                  <ul class="pagination">
545 rajveer 98
										#if($currentPage == 1)
936 rajveer 99
                    <li class="pager-previous">
100
                      <span class="current prev">Prev</span>
101
                    </li>
545 rajveer 102
										#else
103
											#set($prev = $currentPage-1)
936 rajveer 104
                      <li class="pager-previous">
105
                    <a href="./${prev}" class="current prev">Prev</a>
106
                      </li>
107
										#end
545 rajveer 108
 
109
 
110
										#set( $begin = 1 )
111
										#set( $end = 1 )
112
										#if($totalPages <= 5)
113
											#set( $begin = 1 )
114
											#set( $end = $totalPages )
115
										#else
116
											#if($currentPage <= 3)
117
												#set( $begin = 1 )
118
												#set( $end = 5 )
119
											#else
120
												#set( $begin = $currentPage - 2 )
121
    											#set( $end = $currentPage + 2 )
122
												#if( $end > $totalPages)
123
													#set( $end = $totalPages)
124
													#set( $begin = $end - 4 )
125
												#end
936 rajveer 126
											#end
127
										#end
545 rajveer 128
										#set( $pages = [$begin..$end] )
936 rajveer 129
 
545 rajveer 130
										#foreach( $pageId in $pages )
131
										#if($currentPage == $pageId)
936 rajveer 132
                    <li class="pager-item">
133
                    <span class="current">$pageId</span>
134
                    </li>
545 rajveer 135
										#else
936 rajveer 136
                    <li class="pager-item">
137
                    <a href="./$pageId">$pageId</a>
138
                    </li>
545 rajveer 139
										#end
140
										#end
936 rajveer 141
 
545 rajveer 142
										#if($currentPage == $totalPages)
936 rajveer 143
                    <li class="pager-next">
144
                    <span class="current next">Next</span>
145
                    </li>
545 rajveer 146
										#else
147
											#set($next = $currentPage+1)
936 rajveer 148
                      <li class="pager-next">
149
                    <a href="./${next}" class="current next">Next</a>
150
                      </li>
545 rajveer 151
										#end
936 rajveer 152
                  </ul>
153
                </div>
154
 
155
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>latest arrivals</div>
156
                <div class="clearBoth"></div>
157
              </div>
158
              <!-- /productListTop -->
159
 
160
              <!-- productListCenter -->
161
              <div id="productListingContent">
162
                <ul class="deal-items latest-arrivals-page-items">
163
 
164
                  #set($items =  $action.getItems())
165
                  #set( $isLeft = 0 )
166
                  #foreach ( $entity in $items )
167
                  <li
168
                    #if( $isLeft == 0 )
545 rajveer 169
                            	 class="floatLeft"
936 rajveer 170
                            	#set($isLeft = 1)
171
                    #else
545 rajveer 172
                            	class="floatRight"
936 rajveer 173
                            	#set($isLeft = 0)
174
                    #end
175
                    >
741 rajveer 176
							$entity
936 rajveer 177
                </li>
178
							#if( $isLeft == 0 )
545 rajveer 179
 
936 rajveer 180
							#end
181
                #end
182
 
183
 
184
              </ul>
185
              <div class="clearBoth"></div>
186
 
545 rajveer 187
            </div>
936 rajveer 188
            <!-- /productListCenter -->
189
 
190
            <!-- productListBottom -->
191
            <div class="productListBottom">
192
              <div class="pagination2"></div>
193
              <div class="clearBoth"></div>
545 rajveer 194
            </div>
936 rajveer 195
            <!-- /productListBottom -->
196
 
197
 
198
            #end
199
 
200
            <div class="clearBoth"></div>
201
          </div>
202
 
545 rajveer 203
        </div>
936 rajveer 204
 
205
        <div class="bottom">
206
          <div class="left">
207
            <div class="right">&nbsp;</div>
208
          </div>
209
        </div>
545 rajveer 210
      </div>
936 rajveer 211
      <!-- /Best Sellers -->
212
 
213
    </div>
214
    <!-- /wrapper-->
215
 
216
    <!-- sidebar-->
217
    <div id="sidebar">
218
 
219
      $action.getCustomerServiceSnippet()
1372 vikas 220
	  <div id="myresearch" class="lightbox">
1934 vikas 221
          $action.getMyResearchSnippet()
222
      </div>
223
      <div id="browsehistory" class="lightbox">
224
          $action.getBrowseHistorySnippet()
225
      </div>
936 rajveer 226
    </div>
227
    <!-- /sidebar-->
228
    <div class="clearBoth"></div>
229
 
230
  </div>
231
  <!-- /main -->
232
 
233
  <!-- footer -->
234
  $action.getFooterSnippet()
235
  <!-- /footer -->
236
 
237
  <!-- color by color lightbox -->
238
  <div style="display:none;">
239
    <div class="colorSelLightBoxColor">
240
      <form name="frmColorSelName" method="post" action="#">
241
        <h1>Color Selector</h1>
242
        <h2>"Please choose color of product"</h2>
243
 
244
        <div class="content"></div>
245
 
246
        <div class="bigImgButton yellow-image">
247
          <input value="Continue" type="button" class="button" onclick="selectColor();" />
248
        </div>
545 rajveer 249
        <div class="clearBoth"></div>
936 rajveer 250
 
251
      </form>
545 rajveer 252
    </div>
936 rajveer 253
  </div>
254
  <!-- /color by color lightbox -->
545 rajveer 255
 
943 vikas 256
#include ( "templates/commonjsfiles.vm" )
545 rajveer 257
</body>
258
</html>
259