| Line 14... |
Line 14... |
| 14 |
#set($totalPages = $action.getTotalPages())
|
14 |
#set($totalPages = $action.getTotalPages())
|
| 15 |
#set($currentPage = $action.getCurrentPage())
|
15 |
#set($currentPage = $action.getCurrentPage())
|
| 16 |
#set($url = $action.getUrl())
|
16 |
#set($url = $action.getUrl())
|
| 17 |
#set($priceUrl = $action.getPriceUrl())
|
17 |
#set($priceUrl = $action.getPriceUrl())
|
| 18 |
|
18 |
|
| - |
|
19 |
#set($banners = $action.getActiveBanners())
|
| - |
|
20 |
#if($banners)
|
| - |
|
21 |
#set($bannerCount = $banners.size())
|
| - |
|
22 |
#else
|
| - |
|
23 |
#set($bannerCount = 0)
|
| - |
|
24 |
#end
|
| - |
|
25 |
|
| 19 |
|
26 |
|
| 20 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
27 |
<!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">
|
28 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 22 |
<head>
|
29 |
<head>
|
| 23 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
30 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
| Line 51... |
Line 58... |
| 51 |
<a href="/">Home</a> >
|
58 |
<a href="/">Home</a> >
|
| 52 |
<a href="#">$action.getSpecialPageName()</a>
|
59 |
<a href="#">$action.getSpecialPageName()</a>
|
| 53 |
</div>
|
60 |
</div>
|
| 54 |
</div>
|
61 |
</div>
|
| 55 |
<div class="main-left left">
|
62 |
<div class="main-left left">
|
| 56 |
|
- |
|
| 57 |
<!-- tab buttons -->
|
63 |
#if ( $bannerCount == 0 )
|
| 58 |
#if($action.getSpecialPageName()=="Android")
|
64 |
<div class="main-left-banner" style="display: none">
|
| 59 |
<div class="main-left-banner">
|
65 |
#elseif ( $bannerCount < 3 )
|
| 60 |
<script type='text/javascript'><!--//<![CDATA[
|
66 |
<div class="main-left-banner" style="height: 210px;">
|
| 61 |
var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
|
- |
|
| - |
|
67 |
#else
|
| 62 |
var m3_r = Math.floor(Math.random()*99999999999);
|
68 |
<div class="main-left-banner" style="height: 230px;">
|
| - |
|
69 |
#end
|
| - |
|
70 |
|
| 63 |
if (!document.MAX_used) document.MAX_used = ',';
|
71 |
#if($bannerCount > 1 && $bannerCount < 3)
|
| 64 |
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
72 |
<ul id="bannerMenu">
|
| 65 |
document.write ("?zoneid=2");
|
73 |
#foreach($banner in $banners)
|
| 66 |
document.write ('&cb=' + m3_r);
|
74 |
#if($banner.isHasMap())
|
| 67 |
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
|
- |
|
| 68 |
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
|
75 |
<li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' usemap='#map$velocityCount' height="200" width="710"/></a>
|
| 69 |
document.write ("&loc=" + escape(window.location));
|
76 |
<map name='map$velocityCount'>
|
| 70 |
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
|
77 |
#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
|
| 71 |
if (document.context) document.write ("&context=" + escape(document.context));
|
78 |
#foreach($mapdetail in $mapdetails)
|
| 72 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
79 |
<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
|
| - |
|
80 |
#end
|
| - |
|
81 |
</map>
|
| - |
|
82 |
</li>
|
| - |
|
83 |
#else
|
| - |
|
84 |
<li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' height="200" width="710" /></a></li>
|
| 73 |
document.write ("'><\/scr"+"ipt>");
|
85 |
#end
|
| 74 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a323f9ff&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE&n=a323f9ff' border='0' alt='' /></a></noscript>
|
86 |
#end
|
| 75 |
</div>
|
87 |
</ul>
|
| 76 |
#elseif($action.getSpecialPageName()=="Nokia")
|
88 |
<div class="container">
|
| 77 |
<script type='text/javascript'><!--//<![CDATA[
|
89 |
<div class="slider_arrow_left"></div>
|
| 78 |
var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
|
- |
|
| 79 |
var m3_r = Math.floor(Math.random()*99999999999);
|
90 |
<div class="slider_arrow_right"></div>
|
| 80 |
if (!document.MAX_used) document.MAX_used = ',';
|
91 |
</div>
|
| - |
|
92 |
#else
|
| 81 |
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
93 |
<div id="banner-menu">
|
| 82 |
document.write ("?zoneid=5");
|
94 |
#foreach($banner in $banners)
|
| 83 |
document.write ('&cb=' + m3_r);
|
95 |
#if($banner.isHasMap())
|
| 84 |
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
|
- |
|
| 85 |
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
|
96 |
<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
|
| 86 |
document.write ("&loc=" + escape(window.location));
|
97 |
<map name='map$velocityCount'>
|
| 87 |
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
|
- |
|
| 88 |
if (document.context) document.write ("&context=" + escape(document.context));
|
98 |
#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
|
| 89 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
- |
|
| 90 |
document.write ("'><\/scr"+"ipt>");
|
99 |
#foreach($mapdetail in $mapdetails)
|
| 91 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a6dac3b0&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=5&cb=INSERT_RANDOM_NUMBER_HERE&n=a6dac3b0' border='0' alt='' /></a></noscript>
|
100 |
<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
|
| 92 |
#end
|
101 |
#end
|
| 93 |
|
102 |
</map>
|
| 94 |
<div class="main-left-banner">
|
103 |
#else
|
| 95 |
<script type='text/javascript'><!--//<![CDATA[
|
- |
|
| 96 |
var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
|
104 |
<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
|
| 97 |
var m3_r = Math.floor(Math.random()*99999999999);
|
- |
|
| 98 |
if (!document.MAX_used) document.MAX_used = ',';
|
- |
|
| 99 |
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
- |
|
| 100 |
document.write ("?zoneid=7");
|
105 |
#end
|
| 101 |
document.write ('&cb=' + m3_r);
|
106 |
#end
|
| 102 |
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
|
- |
|
| 103 |
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
|
- |
|
| 104 |
document.write ("&loc=" + escape(window.location));
|
- |
|
| 105 |
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
|
- |
|
| 106 |
if (document.context) document.write ("&context=" + escape(document.context));
|
- |
|
| 107 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
- |
|
| 108 |
document.write ("'><\/scr"+"ipt>");
|
107 |
</div>
|
| 109 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a592d2cd&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=7&cb=INSERT_RANDOM_NUMBER_HERE&n=a592d2cd' border='0' alt='' /></a></noscript>
|
108 |
#end
|
| 110 |
</div>
|
109 |
</div>
|
| 111 |
|
110 |
|
| 112 |
<ul id="tabButton" class="menu">
|
111 |
<ul id="tabButton" class="menu">
|
| 113 |
<li class="tabButton1" id="catTab1">
|
112 |
<li class="tabButton1" id="catTab1">
|
| 114 |
<a class="showBrowse" href="#" title="" id="catTab1-first">
|
113 |
<a class="showBrowse" href="#" title="" id="catTab1-first">
|
| 115 |
All
|
114 |
All
|
| Line 523... |
Line 522... |
| 523 |
|
522 |
|
| 524 |
</form>
|
523 |
</form>
|
| 525 |
</div>
|
524 |
</div>
|
| 526 |
</div>
|
525 |
</div>
|
| 527 |
<!-- /color by color lightbox -->
|
526 |
<!-- /color by color lightbox -->
|
| 528 |
|
- |
|
| 529 |
#include ( "templates/commonjsfiles.vm" )
|
527 |
#include ( "templates/commonjsfiles.vm" )
|
| 530 |
<script language="javascript" type="text/javascript" src="/js/priceSlider.js"></script>
|
528 |
<script language="javascript" type="text/javascript" src="/js/priceSlider.js"></script>
|
| 531 |
<script type="text/javascript" charset="utf-8">
|
529 |
<script type="text/javascript" charset="utf-8">
|
| 532 |
$(function(){
|
530 |
$(function(){
|
| 533 |
$('ul.product-description li').truncate({addtitle: true});
|
531 |
$('ul.product-description li').truncate({addtitle: true});
|
| Line 539... |
Line 537... |
| 539 |
maxPrice = $maxPrice ;
|
537 |
maxPrice = $maxPrice ;
|
| 540 |
stepPrice = 1;
|
538 |
stepPrice = 1;
|
| 541 |
priceUrl = "$priceUrl";
|
539 |
priceUrl = "$priceUrl";
|
| 542 |
dynamicPriceRange = $action.getDynamicSearchMap();
|
540 |
dynamicPriceRange = $action.getDynamicSearchMap();
|
| 543 |
</script>
|
541 |
</script>
|
| - |
|
542 |
<script type="text/javascript" charset="utf-8">
|
| - |
|
543 |
#if ($bannerCount == 1 )
|
| - |
|
544 |
jQuery('#banner-menu').slidy({
|
| - |
|
545 |
animation: 'none',
|
| - |
|
546 |
children: 'a',
|
| - |
|
547 |
menu: false,
|
| - |
|
548 |
pause: true,
|
| - |
|
549 |
speed: 400,
|
| - |
|
550 |
time: 4000
|
| - |
|
551 |
});
|
| 544 |
|
552 |
|
| - |
|
553 |
#elseif ($bannerCount > 1 && $bannerCount < 3 )
|
| - |
|
554 |
$(document).ready(function() {
|
| - |
|
555 |
$('#bannerMenu').DDSlider({
|
| - |
|
556 |
nextSlide: '.slider_arrow_right',
|
| - |
|
557 |
prevSlide: '.slider_arrow_left',
|
| - |
|
558 |
selector: '.slider_selector'
|
| - |
|
559 |
});
|
| - |
|
560 |
});
|
| - |
|
561 |
#else
|
| - |
|
562 |
jQuery('#banner-menu').slidy({
|
| - |
|
563 |
animation: 'fade',
|
| - |
|
564 |
children: 'a',
|
| - |
|
565 |
menu: true,
|
| - |
|
566 |
pause: true,
|
| - |
|
567 |
speed: 200,
|
| - |
|
568 |
time: 5000
|
| - |
|
569 |
});
|
| - |
|
570 |
#end
|
| - |
|
571 |
jQuery("#banner-menu").find("a, area").click(
|
| - |
|
572 |
function(){
|
| - |
|
573 |
if($(this).attr("href") != "#") {
|
| - |
|
574 |
bannername = $(this).attr("banner-name");
|
| - |
|
575 |
url = $(this).attr("href");
|
| - |
|
576 |
trackEventWithGA('Banner Region Clicked', bannername, url);
|
| - |
|
577 |
}
|
| - |
|
578 |
}
|
| - |
|
579 |
);
|
| - |
|
580 |
</script>
|
| - |
|
581 |
<style type="text/css">
|
| - |
|
582 |
.slider_arrow_left {
|
| - |
|
583 |
background: url(/images/left_arrow.png) no-repeat top left;
|
| - |
|
584 |
}
|
| - |
|
585 |
.slider_arrow_right {
|
| - |
|
586 |
background: url(/images/right_arrow.png) no-repeat top left;
|
| - |
|
587 |
}
|
| - |
|
588 |
</style>
|
| 545 |
</body>
|
589 |
</body>
|
| 546 |
</html>
|
590 |
</html>
|
| 547 |
|
591 |
|
| 548 |
#macro ( renderCategory $facets )
|
592 |
#macro ( renderCategory $facets )
|
| 549 |
#set ($facetLabel = "Category")
|
593 |
#set ($facetLabel = "Category")
|