| 11636 |
vikram.rag |
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($snippets = $action.getSnippets())
|
|
|
10 |
#set($currentPage = $action.getCurrentPage())
|
|
|
11 |
|
|
|
12 |
#set($banners = $action.getActiveBanners())
|
|
|
13 |
#if($banners)
|
|
|
14 |
#set($bannerCount = $banners.size())
|
|
|
15 |
#else
|
|
|
16 |
#set($bannerCount = 0)
|
|
|
17 |
#end
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
21 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
22 |
<head>
|
|
|
23 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
24 |
<!-- Prevent MS Office toolbar from changing layout -->
|
|
|
25 |
<meta http-equiv="imagetoolbar" content="false" />
|
|
|
26 |
<meta name="MSSmartTagsPreventParsing" content="true" />
|
|
|
27 |
<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." />
|
|
|
28 |
<meta name="keywords" content="best deals mobile phones, buy mobile phones, mobile phone prices, mobile phones India" />
|
| 11651 |
vikram.rag |
29 |
<title>Private Deals | ${domain.name}</title>
|
| 11636 |
vikram.rag |
30 |
|
|
|
31 |
|
|
|
32 |
#include ( "templates/commoncssfiles.vm" )
|
|
|
33 |
<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
|
|
|
34 |
</head>
|
|
|
35 |
<body>
|
|
|
36 |
|
|
|
37 |
<noscript>
|
|
|
38 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
|
|
39 |
</noscript>
|
|
|
40 |
|
|
|
41 |
$action.getHeaderSnippet()
|
|
|
42 |
|
|
|
43 |
<!-- Main -->
|
|
|
44 |
<div id="main">
|
|
|
45 |
<div class="main-content">
|
|
|
46 |
<div class="main-top">
|
|
|
47 |
<div class="bread-crumbs">
|
|
|
48 |
<a href="/">Home</a> >
|
| 11651 |
vikram.rag |
49 |
<a href="#">Private Deals</a>
|
| 11636 |
vikram.rag |
50 |
</div>
|
|
|
51 |
</div>
|
|
|
52 |
<div class="main-left left">
|
|
|
53 |
<!-- tab buttons -->
|
|
|
54 |
|
|
|
55 |
#if ( $bannerCount == 0 )
|
|
|
56 |
<div class="main-left-banner" style="display: none">
|
|
|
57 |
#elseif ( $bannerCount < 3 )
|
|
|
58 |
<div class="main-left-banner" style="height: 210px;">
|
|
|
59 |
#else
|
|
|
60 |
<div class="main-left-banner" style="height: 230px;">
|
|
|
61 |
#end
|
|
|
62 |
|
|
|
63 |
#if($bannerCount > 1 && $bannerCount < 3)
|
|
|
64 |
<ul id="bannerMenu">
|
|
|
65 |
#foreach($banner in $banners)
|
|
|
66 |
#if($banner.isHasMap())
|
|
|
67 |
<li class="square"><a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' usemap='#map$velocityCount' height="200" width="710"/></a>
|
|
|
68 |
<map name='map$velocityCount'>
|
|
|
69 |
#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
|
|
|
70 |
#foreach($mapdetail in $mapdetails)
|
|
|
71 |
<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
|
|
|
72 |
#end
|
|
|
73 |
</map>
|
|
|
74 |
</li>
|
|
|
75 |
#else
|
|
|
76 |
<li class="square"><a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' height="200" width="710" /></a></li>
|
|
|
77 |
#end
|
|
|
78 |
#end
|
|
|
79 |
</ul>
|
|
|
80 |
<div class="container">
|
|
|
81 |
<div class="slider_arrow_left"></div>
|
|
|
82 |
<div class="slider_arrow_right"></div>
|
|
|
83 |
</div>
|
|
|
84 |
#else
|
|
|
85 |
<div id="banner-menu">
|
|
|
86 |
#foreach($banner in $banners)
|
|
|
87 |
#if($banner.isHasMap())
|
|
|
88 |
<a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
|
|
|
89 |
<map name='map$velocityCount'>
|
|
|
90 |
#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
|
|
|
91 |
#foreach($mapdetail in $mapdetails)
|
|
|
92 |
<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
|
|
|
93 |
#end
|
|
|
94 |
</map>
|
|
|
95 |
#else
|
|
|
96 |
<a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
|
|
|
97 |
#end
|
|
|
98 |
#end
|
|
|
99 |
</div>
|
|
|
100 |
#end
|
|
|
101 |
</div>
|
|
|
102 |
|
| 11818 |
amit.gupta |
103 |
<div class="left" style="padding:6px;width:275px">
|
| 13177 |
amit.gupta |
104 |
Dear $action.getUserEmail(), Welcome to Deal Page.
|
| 11810 |
amit.gupta |
105 |
</div>
|
| 11651 |
vikram.rag |
106 |
<!-- Private Deals -->
|
| 11636 |
vikram.rag |
107 |
<div id="productListing">
|
|
|
108 |
|
|
|
109 |
<div class="middle">
|
|
|
110 |
<div class="content blue-border">
|
|
|
111 |
|
|
|
112 |
<!-- productListTop -->
|
|
|
113 |
<div class="productListTop">
|
|
|
114 |
<div class="pagination2">
|
|
|
115 |
<ul class="pagination">
|
|
|
116 |
#if($currentPage == 1)
|
|
|
117 |
<li class="pager-previous">
|
|
|
118 |
<span class="current prev">Prev</span>
|
|
|
119 |
</li>
|
|
|
120 |
#else
|
|
|
121 |
#set($prev = $currentPage-1)
|
|
|
122 |
<li class="pager-previous">
|
|
|
123 |
<a href="./${prev}" class="current prev">Prev</a>
|
|
|
124 |
</li>
|
|
|
125 |
#end
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
#set( $begin = 1 )
|
|
|
129 |
#set( $end = 1 )
|
|
|
130 |
#if($totalPages <= 5)
|
|
|
131 |
#set( $begin = 1 )
|
|
|
132 |
#set( $end = $totalPages )
|
|
|
133 |
#else
|
|
|
134 |
#if($currentPage <= 3)
|
|
|
135 |
#set( $begin = 1 )
|
|
|
136 |
#set( $end = 5 )
|
|
|
137 |
#else
|
|
|
138 |
#set( $begin = $currentPage - 2 )
|
|
|
139 |
#set( $end = $currentPage + 2 )
|
|
|
140 |
#if( $end > $totalPages)
|
|
|
141 |
#set( $end = $totalPages)
|
|
|
142 |
#set( $begin = $end - 4 )
|
|
|
143 |
#end
|
|
|
144 |
#end
|
|
|
145 |
#end
|
|
|
146 |
#set( $pages = [$begin..$end] )
|
|
|
147 |
|
|
|
148 |
#foreach( $pageId in $pages )
|
|
|
149 |
#if($currentPage == $pageId)
|
|
|
150 |
<li class="pager-item">
|
|
|
151 |
<span class="current">$pageId</span>
|
|
|
152 |
</li>
|
|
|
153 |
#else
|
|
|
154 |
<li class="pager-item">
|
|
|
155 |
<a href="./$pageId">$pageId</a>
|
|
|
156 |
</li>
|
|
|
157 |
#end
|
|
|
158 |
#end
|
|
|
159 |
|
|
|
160 |
#if($currentPage == $totalPages)
|
|
|
161 |
<li class="pager-next">
|
|
|
162 |
<span class="current next">Next</span>
|
|
|
163 |
</li>
|
|
|
164 |
#else
|
|
|
165 |
#set($next = $currentPage+1)
|
|
|
166 |
<li class="pager-next">
|
|
|
167 |
<a href="./${next}" class="current next">Next</a>
|
|
|
168 |
</li>
|
|
|
169 |
#end
|
|
|
170 |
</ul>
|
|
|
171 |
</div>
|
|
|
172 |
|
| 11651 |
vikram.rag |
173 |
<div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>private deals</div>
|
| 11636 |
vikram.rag |
174 |
<div class="clearBoth"></div>
|
|
|
175 |
</div>
|
|
|
176 |
<!-- /productListTop -->
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
<!-- productListCenter -->
|
|
|
180 |
<div id="productListingContent">
|
|
|
181 |
<ul class="deal-items best-deals-page-items">
|
|
|
182 |
#if($snippets && $snippets.size()!=0)
|
|
|
183 |
#set( $isLeft = 0 )
|
|
|
184 |
#foreach ( $entity in $snippets )
|
|
|
185 |
<li
|
|
|
186 |
#if( $isLeft == 0 )
|
|
|
187 |
class="floatLeft"
|
|
|
188 |
#set($isLeft = 1)
|
|
|
189 |
#else
|
|
|
190 |
class="floatRight"
|
|
|
191 |
#set($isLeft = 0)
|
|
|
192 |
#end
|
|
|
193 |
>
|
|
|
194 |
$entity
|
|
|
195 |
</li>
|
|
|
196 |
#end
|
|
|
197 |
#end
|
|
|
198 |
</ul>
|
|
|
199 |
|
|
|
200 |
<div class="clearBoth"></div>
|
|
|
201 |
|
|
|
202 |
</div>
|
|
|
203 |
<!-- /productListCenter -->
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
<!-- productListBottom -->
|
|
|
207 |
<div class="productListBottom">
|
|
|
208 |
<div class="pagination2">
|
|
|
209 |
<ul class="pagination">
|
|
|
210 |
#if($currentPage == 1)
|
|
|
211 |
<li class="pager-previous">
|
|
|
212 |
<span class="current prev">Prev</span>
|
|
|
213 |
</li>
|
|
|
214 |
#else
|
|
|
215 |
#set($prev = $currentPage-1)
|
|
|
216 |
<li class="pager-previous">
|
|
|
217 |
<a href="./${prev}" class="current prev">Prev</a>
|
|
|
218 |
</li>
|
|
|
219 |
#end
|
|
|
220 |
|
|
|
221 |
#foreach( $pageId in $pages )
|
|
|
222 |
#if($currentPage == $pageId)
|
|
|
223 |
<li class="pager-item">
|
|
|
224 |
<span class="current">$pageId</span>
|
|
|
225 |
</li>
|
|
|
226 |
#else
|
|
|
227 |
<li class="pager-item">
|
|
|
228 |
<a href="./$pageId">$pageId</a>
|
|
|
229 |
</li>
|
|
|
230 |
#end
|
|
|
231 |
#end
|
|
|
232 |
|
|
|
233 |
#if($currentPage == $totalPages)
|
|
|
234 |
<li class="pager-next">
|
|
|
235 |
<span class="current next">Next</span>
|
|
|
236 |
</li>
|
|
|
237 |
#else
|
|
|
238 |
#set($next = $currentPage+1)
|
|
|
239 |
<li class="pager-next">
|
|
|
240 |
<a href="./${next}" class="current next">Next</a>
|
|
|
241 |
</li>
|
|
|
242 |
#end
|
|
|
243 |
</ul>
|
|
|
244 |
</div>
|
|
|
245 |
</div>
|
|
|
246 |
<!-- /productListBottom -->
|
|
|
247 |
|
|
|
248 |
<div class="clearBoth"></div>
|
|
|
249 |
</div>
|
|
|
250 |
|
|
|
251 |
</div>
|
|
|
252 |
|
|
|
253 |
</div>
|
|
|
254 |
<!-- /Best Sellers -->
|
|
|
255 |
|
|
|
256 |
</div>
|
|
|
257 |
<!-- Widgets -->
|
|
|
258 |
<div class="widgets right">
|
|
|
259 |
$action.getCartWidgetSnippet()
|
|
|
260 |
<div id="myresearch" class="common-widget">
|
|
|
261 |
#include("templates/myresearch.vm")
|
|
|
262 |
</div>
|
|
|
263 |
<div id="browsehistory" class="common-widget">
|
|
|
264 |
#include("templates/browsehistory.vm")
|
|
|
265 |
</div>
|
|
|
266 |
</div>
|
|
|
267 |
<!-- /Widgets -->
|
|
|
268 |
|
|
|
269 |
</div>
|
|
|
270 |
</div>
|
|
|
271 |
<!-- /Main -->
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
<!-- footer -->
|
|
|
276 |
#include("templates/footer.vm")
|
|
|
277 |
<!-- /footer -->
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
<!-- color by color lightbox -->
|
|
|
281 |
<div style="display:none;">
|
|
|
282 |
<div class="colorSelLightBoxColor">
|
|
|
283 |
<form name="frmColorSelName" method="post" action="#">
|
|
|
284 |
<h1>Color Selector</h1>
|
|
|
285 |
<h2>"Please choose color of product"</h2>
|
|
|
286 |
|
|
|
287 |
<div class="content"></div>
|
|
|
288 |
|
|
|
289 |
<div class="bigImgButton yellow-image">
|
|
|
290 |
<input value="Continue" type="button" class="button" onclick="selectColor();" />
|
|
|
291 |
</div>
|
|
|
292 |
<div class="clearBoth"></div>
|
|
|
293 |
|
|
|
294 |
</form>
|
|
|
295 |
</div>
|
|
|
296 |
</div>
|
|
|
297 |
<!-- /color by color lightbox -->
|
|
|
298 |
|
|
|
299 |
#include ( "templates/commonjsfiles.vm" )
|
|
|
300 |
<script type="text/javascript" charset="utf-8">
|
|
|
301 |
#if ($bannerCount == 1 )
|
|
|
302 |
jQuery('#banner-menu').slidy({
|
|
|
303 |
animation: 'none',
|
|
|
304 |
children: 'a',
|
|
|
305 |
menu: false,
|
|
|
306 |
pause: true,
|
|
|
307 |
speed: 400,
|
|
|
308 |
time: 4000
|
|
|
309 |
});
|
|
|
310 |
|
|
|
311 |
#elseif ($bannerCount > 1 && $bannerCount < 3 )
|
|
|
312 |
$(document).ready(function() {
|
|
|
313 |
$('#bannerMenu').DDSlider({
|
|
|
314 |
nextSlide: '.slider_arrow_right',
|
|
|
315 |
prevSlide: '.slider_arrow_left',
|
|
|
316 |
selector: '.slider_selector'
|
|
|
317 |
});
|
|
|
318 |
});
|
|
|
319 |
#else
|
|
|
320 |
jQuery('#banner-menu').slidy({
|
|
|
321 |
animation: 'fade',
|
|
|
322 |
children: 'a',
|
|
|
323 |
menu: true,
|
|
|
324 |
pause: true,
|
|
|
325 |
speed: 200,
|
|
|
326 |
time: 5000
|
|
|
327 |
});
|
|
|
328 |
#end
|
|
|
329 |
jQuery("#banner-menu").find("a, area").click(
|
|
|
330 |
function(){
|
|
|
331 |
if($(this).attr("href") != "#") {
|
|
|
332 |
bannername = $(this).attr("banner-name");
|
|
|
333 |
url = $(this).attr("href");
|
|
|
334 |
trackEventWithGA('Banner Region Clicked', bannername, url);
|
|
|
335 |
}
|
|
|
336 |
}
|
|
|
337 |
);
|
|
|
338 |
</script>
|
|
|
339 |
<style type="text/css">
|
|
|
340 |
.slider_arrow_left {
|
|
|
341 |
background: url(/images/left_arrow.png) no-repeat top left;
|
|
|
342 |
}
|
|
|
343 |
.slider_arrow_right {
|
|
|
344 |
background: url(/images/right_arrow.png) no-repeat top left;
|
|
|
345 |
}
|
|
|
346 |
</style>
|
| 11925 |
amit.gupta |
347 |
#if($action.isPrivateDealUserBase())
|
|
|
348 |
<script type="text/javascript">
|
|
|
349 |
_gaq.push(['_setCustomVar',
|
|
|
350 |
1, // This custom var is set to slot #1. Required parameter.
|
|
|
351 |
'typeofuser', // The name of the custom variable. Required parameter.
|
|
|
352 |
'PrivateDeal', // Sets the value of "User Type" to "Member" or "Visitor" depending on status. Required parameter.
|
|
|
353 |
1 // Sets the scope to session-level. Optional parameter.
|
|
|
354 |
]);
|
| 12099 |
amit.gupta |
355 |
$(function(){
|
|
|
356 |
$('ul.product-description li').truncate({addtitle: true});
|
|
|
357 |
});
|
| 11925 |
amit.gupta |
358 |
</script>
|
|
|
359 |
#end
|
| 11636 |
vikram.rag |
360 |
</body>
|
|
|
361 |
</html>
|
|
|
362 |
|