Subversion Repositories SmartDukaan

Rev

Rev 3874 | Rev 3997 | 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()			
3830 chandransh 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="#">Best Deals</a>
43
			</div>
44
		</div>
45
		<div class="main-left left">
3874 rajveer 46
		<!-- tab buttons -->
47
 
48
		<div id="productBanner" style="margin-bottom:10px;">
3875 rajveer 49
			<a href="/android">
3874 rajveer 50
             <img src="/images/latest_android.jpg" width="690" alt="Android Birthday Offer" />
3875 rajveer 51
			</a>
3874 rajveer 52
        </div>
53
 
2453 chandransh 54
        <!-- Best Deals -->
794 rajveer 55
        <div id="productListing">
627 rajveer 56
 
794 rajveer 57
          <div class="middle">
3830 chandransh 58
            <div class="content blue-border">
2453 chandransh 59
 
794 rajveer 60
              <!-- productListTop -->
61
              <div class="productListTop">
62
                <div class="pagination2">
63
                  <ul class="pagination">
545 rajveer 64
										#if($currentPage == 1)
794 rajveer 65
                    <li class="pager-previous">
66
                      <span class="current prev">Prev</span>
67
                    </li>
545 rajveer 68
										#else
69
											#set($prev = $currentPage-1)
794 rajveer 70
                    <li class="pager-previous">
71
                      <a href="./${prev}" class="current prev">Prev</a>
72
                    </li>
545 rajveer 73
										#end	
74
 
75
 
76
										#set( $begin = 1 )
77
										#set( $end = 1 )
78
										#if($totalPages <= 5)
79
											#set( $begin = 1 )
80
											#set( $end = $totalPages )
81
										#else
82
											#if($currentPage <= 3)
83
												#set( $begin = 1 )
84
												#set( $end = 5 )
85
											#else
86
												#set( $begin = $currentPage - 2 )
87
    											#set( $end = $currentPage + 2 )
88
												#if( $end > $totalPages)
89
													#set( $end = $totalPages)
90
													#set( $begin = $end - 4 )
91
												#end
92
											#end	
93
										#end	
94
										#set( $pages = [$begin..$end] )
794 rajveer 95
 
545 rajveer 96
										#foreach( $pageId in $pages )
2453 chandransh 97
											#if($currentPage == $pageId)
794 rajveer 98
                    <li class="pager-item">
99
                      <span class="current">$pageId</span>
100
                    </li>
2453 chandransh 101
                                            #else
794 rajveer 102
                    <li class="pager-item">
103
                      <a href="./$pageId">$pageId</a>	
104
                    </li>
2453 chandransh 105
										    #end
545 rajveer 106
										#end
794 rajveer 107
 
545 rajveer 108
										#if($currentPage == $totalPages)
794 rajveer 109
                    <li class="pager-next">
110
                      <span class="current next">Next</span>
111
                    </li>
545 rajveer 112
										#else
113
											#set($next = $currentPage+1)
794 rajveer 114
                    <li class="pager-next">
115
                      <a href="./${next}" class="current next">Next</a>
116
                    </li>
545 rajveer 117
										#end
794 rajveer 118
                  </ul>
119
                </div>
120
 
121
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>best deals</div>                                
122
                <div class="clearBoth"></div>
123
              </div>
124
              <!-- /productListTop -->
2453 chandransh 125
 
126
 
794 rajveer 127
              <!-- productListCenter -->
128
              <div id="productListingContent">
129
                <ul class="deal-items best-deals-page-items">
2453 chandransh 130
				  #if($snippets && $snippets.size()!=0)
794 rajveer 131
                  #set( $isLeft = 0 )
2453 chandransh 132
                  #foreach ( $entity in $snippets )
794 rajveer 133
                  <li
134
                    #if( $isLeft == 0 ) 
545 rajveer 135
                            	 class="floatLeft"
136
                            	#set($isLeft = 1)	
794 rajveer 137
                    #else
545 rajveer 138
                            	class="floatRight"
139
                            	#set($isLeft = 0)	
794 rajveer 140
                    #end		
141
                    >
142
                    $entity
2453 chandransh 143
                 </li>
144
				  #end
145
				  #end
794 rajveer 146
              </ul>
545 rajveer 147
 
794 rajveer 148
              <div class="clearBoth"></div>
149
 
150
            </div>
151
            <!-- /productListCenter -->
2453 chandransh 152
 
794 rajveer 153
 
154
            <!-- productListBottom -->
155
            <div class="productListBottom">
156
              <div class="pagination2">
157
                <ul class="pagination">
2453 chandransh 158
                  #if($currentPage == 1)
794 rajveer 159
                  <li class="pager-previous">
160
                    <span class="current prev">Prev</span>
161
                  </li>
627 rajveer 162
										#else
163
											#set($prev = $currentPage-1)
794 rajveer 164
                  <li class="pager-previous">
165
                    <a href="./${prev}" class="current prev">Prev</a>
166
                  </li>
627 rajveer 167
										#end	
168
 
169
										#foreach( $pageId in $pages )
170
										#if($currentPage == $pageId)
794 rajveer 171
                  <li class="pager-item">
172
                    <span class="current">$pageId</span>
173
                  </li>
627 rajveer 174
										#else
794 rajveer 175
                  <li class="pager-item">
176
                    <a href="./$pageId">$pageId</a>	
177
                  </li>
627 rajveer 178
										#end
179
										#end
794 rajveer 180
 
627 rajveer 181
										#if($currentPage == $totalPages)
794 rajveer 182
                  <li class="pager-next">
183
                    <span class="current next">Next</span>
184
                  </li>
627 rajveer 185
										#else
186
											#set($next = $currentPage+1)
794 rajveer 187
                  <li class="pager-next">
188
                    <a href="./${next}" class="current next">Next</a>
189
                  </li>
627 rajveer 190
										#end
794 rajveer 191
                </ul>
192
              </div>	
545 rajveer 193
            </div>
2453 chandransh 194
            <!-- /productListBottom -->      
794 rajveer 195
 
196
            <div class="clearBoth"></div>
197
          </div>
198
 
545 rajveer 199
        </div>
794 rajveer 200
 
545 rajveer 201
      </div>
794 rajveer 202
      <!-- /Best Sellers -->
203
 
3830 chandransh 204
		</div>
205
		<!-- Widgets -->
206
		<div class="widgets right">
207
			$action.getCartWidgetSnippet()
208
			<div id="myresearch" class="common-widget">
209
                #include("templates/myresearch.vm")
210
			</div>
211
			<div id="browsehistory" class="common-widget">
212
                #include("templates/browsehistory.vm")
213
			</div>
214
		</div>
215
		<!-- /Widgets -->
794 rajveer 216
 
3830 chandransh 217
	</div>
218
</div>
219
<!-- /Main -->
794 rajveer 220
 
221
 
3830 chandransh 222
 
794 rajveer 223
  <!-- footer -->
2868 rajveer 224
  #include("templates/footer.vm")
794 rajveer 225
  <!-- /footer -->
226
 
227
 
228
  <!-- color by color lightbox -->
229
  <div style="display:none;">
230
    <div class="colorSelLightBoxColor">
231
      <form name="frmColorSelName" method="post" action="#">
232
        <h1>Color Selector</h1>
233
        <h2>"Please choose color of product"</h2>
234
 
235
        <div class="content"></div>
236
 
237
        <div class="bigImgButton yellow-image">
238
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
545 rajveer 239
        </div>
240
        <div class="clearBoth"></div>
794 rajveer 241
 
242
      </form>
545 rajveer 243
    </div>
794 rajveer 244
  </div>
245
  <!-- /color by color lightbox -->
545 rajveer 246
 
943 vikas 247
    #include ( "templates/commonjsfiles.vm" )
248
 
545 rajveer 249
</body>
250
</html>
251