Subversion Repositories SmartDukaan

Rev

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