Subversion Repositories SmartDukaan

Rev

Rev 5572 | 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)
3830 chandransh 6
  #set($endIndex = $totalItems)
545 rajveer 7
#end
8
#set($totalPages = $action.getTotalPages())
3112 vikas 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">
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" />
3830 chandransh 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 arrivals mobile phones, buy mobile phones, mobile phone prices, mobile phones India" />
5625 vikram.rag 22
    <title>Latest Arrivals Mobile Phone | ${domain.name}</title>
545 rajveer 23
 
3830 chandransh 24
 
1688 rajveer 25
 #include ( "templates/commoncssfiles.vm" )  
5542 amar.kumar 26
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
936 rajveer 27
  </head>
28
  <body>
3830 chandransh 29
 
545 rajveer 30
    <noscript>
5572 anupam.sin 31
      <p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
545 rajveer 32
    </noscript>
637 rajveer 33
 
3830 chandransh 34
	$action.getHeaderSnippet()			
35
 
36
	<!-- Main -->
37
<div id="main">
38
	<div class="main-content">
39
		<div class="main-top">
40
			<div class="bread-crumbs">
41
				<a href="/">Home</a>&nbsp;&gt;&nbsp;
42
				<a href="#">Latest Arrivals</a>
43
			</div>
44
		</div>
45
		<div class="main-left left">
46
        <!-- Best Deals -->
47
        <div id="productListing">
637 rajveer 48
 
545 rajveer 49
          <div class="middle">
3830 chandransh 50
            <div class="content blue-border">
936 rajveer 51
 
52
              <!-- productListTop -->
53
              <div class="productListTop">
54
                <div class="pagination2">
55
                  <ul class="pagination">
545 rajveer 56
										#if($currentPage == 1)
936 rajveer 57
                    <li class="pager-previous">
58
                      <span class="current prev">Prev</span>
59
                    </li>
545 rajveer 60
										#else
61
											#set($prev = $currentPage-1)
3830 chandransh 62
                    <li class="pager-previous">
63
                      <a href="./${prev}" class="current prev">Prev</a>
64
                    </li>
65
										#end	
545 rajveer 66
 
67
 
68
										#set( $begin = 1 )
69
										#set( $end = 1 )
70
										#if($totalPages <= 5)
71
											#set( $begin = 1 )
72
											#set( $end = $totalPages )
73
										#else
74
											#if($currentPage <= 3)
75
												#set( $begin = 1 )
76
												#set( $end = 5 )
77
											#else
78
												#set( $begin = $currentPage - 2 )
79
    											#set( $end = $currentPage + 2 )
80
												#if( $end > $totalPages)
81
													#set( $end = $totalPages)
82
													#set( $begin = $end - 4 )
83
												#end
3830 chandransh 84
											#end	
85
										#end	
545 rajveer 86
										#set( $pages = [$begin..$end] )
936 rajveer 87
 
545 rajveer 88
										#foreach( $pageId in $pages )
3830 chandransh 89
											#if($currentPage == $pageId)
936 rajveer 90
                    <li class="pager-item">
3830 chandransh 91
                      <span class="current">$pageId</span>
936 rajveer 92
                    </li>
3830 chandransh 93
                                            #else
936 rajveer 94
                    <li class="pager-item">
3830 chandransh 95
                      <a href="./$pageId">$pageId</a>	
936 rajveer 96
                    </li>
3830 chandransh 97
										    #end
545 rajveer 98
										#end
936 rajveer 99
 
545 rajveer 100
										#if($currentPage == $totalPages)
936 rajveer 101
                    <li class="pager-next">
3830 chandransh 102
                      <span class="current next">Next</span>
936 rajveer 103
                    </li>
545 rajveer 104
										#else
105
											#set($next = $currentPage+1)
3830 chandransh 106
                    <li class="pager-next">
107
                      <a href="./${next}" class="current next">Next</a>
108
                    </li>
545 rajveer 109
										#end
936 rajveer 110
                  </ul>
111
                </div>
112
 
3830 chandransh 113
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>latest arrivals</div>                                
936 rajveer 114
                <div class="clearBoth"></div>
115
              </div>
116
              <!-- /productListTop -->
3830 chandransh 117
 
118
 
936 rajveer 119
              <!-- productListCenter -->
120
              <div id="productListingContent">
3830 chandransh 121
                <ul class="deal-items best-deals-page-items">
122
				  #if($snippets && $snippets.size()!=0)
936 rajveer 123
                  #set( $isLeft = 0 )
3112 vikas 124
                  #foreach ( $entity in $snippets )
936 rajveer 125
                  <li
3830 chandransh 126
                    #if( $isLeft == 0 ) 
545 rajveer 127
                            	 class="floatLeft"
3830 chandransh 128
                            	#set($isLeft = 1)	
936 rajveer 129
                    #else
545 rajveer 130
                            	class="floatRight"
3830 chandransh 131
                            	#set($isLeft = 0)	
132
                    #end		
936 rajveer 133
                    >
3830 chandransh 134
                    $entity
135
                 </li>
136
				  #end
137
				  #end
138
              </ul>
545 rajveer 139
 
936 rajveer 140
              <div class="clearBoth"></div>
141
 
545 rajveer 142
            </div>
936 rajveer 143
            <!-- /productListCenter -->
3830 chandransh 144
 
936 rajveer 145
 
146
            <!-- productListBottom -->
147
            <div class="productListBottom">
3830 chandransh 148
              <div class="pagination2">
149
                <ul class="pagination">
150
                  #if($currentPage == 1)
151
                  <li class="pager-previous">
152
                    <span class="current prev">Prev</span>
153
                  </li>
154
										#else
155
											#set($prev = $currentPage-1)
156
                  <li class="pager-previous">
157
                    <a href="./${prev}" class="current prev">Prev</a>
158
                  </li>
159
										#end	
936 rajveer 160
 
3830 chandransh 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
936 rajveer 172
 
3830 chandransh 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>	
185
            </div>
186
            <!-- /productListBottom -->      
936 rajveer 187
 
188
            <div class="clearBoth"></div>
189
          </div>
190
 
545 rajveer 191
        </div>
936 rajveer 192
 
545 rajveer 193
      </div>
936 rajveer 194
      <!-- /Best Sellers -->
195
 
3830 chandransh 196
		</div>
197
		<!-- Widgets -->
198
		<div class="widgets right">
199
			$action.getCartWidgetSnippet()
200
			<div id="myresearch" class="common-widget">
201
                #include("templates/myresearch.vm")
202
			</div>
203
			<div id="browsehistory" class="common-widget">
204
                #include("templates/browsehistory.vm")
205
			</div>
206
		</div>
207
		<!-- /Widgets -->
936 rajveer 208
 
3830 chandransh 209
	</div>
210
</div>
211
<!-- /Main -->
936 rajveer 212
 
213
 
214
 
215
  <!-- footer -->
2868 rajveer 216
  #include("templates/footer.vm")
936 rajveer 217
  <!-- /footer -->
218
 
3830 chandransh 219
 
936 rajveer 220
  <!-- color by color lightbox -->
221
  <div style="display:none;">
222
    <div class="colorSelLightBoxColor">
223
      <form name="frmColorSelName" method="post" action="#">
224
        <h1>Color Selector</h1>
225
        <h2>"Please choose color of product"</h2>
226
 
227
        <div class="content"></div>
228
 
229
        <div class="bigImgButton yellow-image">
3830 chandransh 230
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
936 rajveer 231
        </div>
545 rajveer 232
        <div class="clearBoth"></div>
936 rajveer 233
 
234
      </form>
545 rajveer 235
    </div>
936 rajveer 236
  </div>
237
  <!-- /color by color lightbox -->
545 rajveer 238
 
3830 chandransh 239
    #include ( "templates/commonjsfiles.vm" )
240
 
545 rajveer 241
</body>
242
</html>
243