Subversion Repositories SmartDukaan

Rev

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