Subversion Repositories SmartDukaan

Rev

Rev 7039 | Rev 8917 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

        <!-- Prevent MS Office toolbar from changing layout -->
        <meta name="google-site-verification" content="NPHVASYh9ZsYbjffRuAU4dhEHhx7xSKUj9GycYUMo_o" /> 
        <META name="y_key" content="116f6310a0df3c4f" />
        <meta name="msvalidate.01" content="A9BB200170442859BD6DF681353ACD78" />
        <meta http-equiv="imagetoolbar" content="false" />
        <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Comprehensive reviews and Best Deals on mobile phones in India. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty." />
        <meta name="keywords" content="Mobile phones, mobile phone reviews, mobile phone, mobile accessories, latest mobile phones, mobile phone prices, mobile phones India, mobile phone comparison" />
        <meta property='fb:admins' content="100002073769572" />
        <title>Mobile Phone Reviews and Best Deals in India | ${domain.name}</title>

#include ( "templates/commoncssfiles.vm" )
#set($bestDealSnippets = $action.getBestDealSnippets())
#set($bestSellerSnippets = $action.getBestSellerSnippets())
#set($bestArrivalSnippets = $action.getLatestArrivalSnippets())
#set($banners = $action.getActiveBanners())
#set($bannerCount = $action.activeBannerCount())
 
        <link rel="stylesheet" href="/css/home.css" type="text/css" />
        <link href="https://plus.google.com/108546508648658526684" rel="publisher" />
        #if ($bannerCount > 1 && $bannerCount < 4 )
        <link href="/css/slider.css" rel="stylesheet" type="text/css" />
        <link href="/css/slider-style.css" rel="stylesheet" type="text/css" />
        #else
                <link type="text/css" rel="stylesheet" href="/css/jquery.slidy.css"/>
        #end
        <script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
</head>

<body>
        <noscript>
                <p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
        </noscript>
        $action.getHeaderSnippet()
        <!-- Main -->
        <div id="main">
                <div class="main-content">
                        <div class="main-top"></div>
                        <div class="main-left left">
                                #if ( $bannerCount == 0 )
                                        <div class="main-left-banner" style="display: none">
                                #elseif ( $bannerCount < 4 )
                                        <div class="main-left-banner"  style="height: 210px;">
                                #else
                                        <div class="main-left-banner"  style="height: 230px;">
                                #end
                                
                                #if($bannerCount > 1 && $bannerCount < 4)
                                        <ul id="bannerMenu">
                                                #foreach($banner in $banners)
                                                        #if($banner.isHasMap())
                                                                <li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' usemap='#map$velocityCount'/></a>
                                                                <map name='map$velocityCount'> 
                                                                        #set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
                                                                        #foreach($mapdetail in $mapdetails)
                                                                                <area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
                                                                        #end
                                                                        </map>
                                                                        </li>
                                                        #else
                                                                <li class="square"><a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' /></a></li>
                                #end
                                                #end
                                        </ul>
                                        <div class="container">
                      <div class="slider_arrow_left"></div>
                      <div class="slider_arrow_right"></div>
                    </div>
                                #else
                                          <div id="banner-menu">
                                                #foreach($banner in $banners)
                                                        #if($banner.isHasMap())
                                                                <a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
                                                                <map name='map$velocityCount'> 
                                                                        #set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
                                                                        #foreach($mapdetail in $mapdetails)
                                                                                <area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
                                                                        #end
                                                                        </map>
                                                        #else
                                                                <a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
                                #end
                                                #end
                       </div>
                                        #end
                      </div> 
                                <div id="products">
                                        <div class="home-listing-common">
                                                <div class="home-listing-common-header">
                                                        <div class="home-listing-common-header-text">
                                                                <span class="left">BEST DEALS</span>
                                                                <span class="home-listing-common-header-text-right right">
                                                                        <a href="/best-deals/1" title="Best Deals Mobile Phones">View All</a>
                                                                </span>
                                                        </div>
                                                </div>
                                                <div class="home-listing-common-content best-deals">
                        #foreach($snippet in $bestDealSnippets)
                                $snippet
                        #end
                                                </div>
                                        </div>
                                        
                                        <div class="home-listing-common">
                                                <div class="home-listing-common-header">
                                                        <div class="home-listing-common-header-text">
                                                                <span class="left">BEST SELLERS</span>
                                                                <span class="home-listing-common-header-text-right right">
                                                                        <a href="/best-sellers/1" title="Best Sellers Mobile Phones">View All</a>
                                                                </span>
                                                        </div>
                                                </div>
                                                <div class="home-listing-common-content best-sellers">
                        #foreach($snippet in $bestSellerSnippets)
                                $snippet
                        #end
                                                </div>
                                        </div>
                                        
                                        <div class="home-listing-common">
                                                <div class="home-listing-common-header">
                                                        <div class="home-listing-common-header-text">
                                                                <span class="left">LATEST ARRIVALS</span>
                                                                <span class="home-listing-common-header-text-right right">
                                                                        <a href="/latest-arrivals/1" title="Latest Arrivals Mobile Phones">View All</a>
                                                                </span>
                                                        </div>
                                                </div>
                                                <div class="home-listing-common-content latest-arrivals">
                        #foreach($snippet in $latestArrivalSnippets)
                                $snippet
                        #end
                                                </div>
                                        </div>
                                </div>
                        </div>

                        <!-- Widgets -->
                        <div class="widgets right">
                                $action.getCartWidgetSnippet()
                                <div id="myresearch" class="common-widget">
                        #include("templates/myresearch.vm")
                                </div>
                                <div id="browsehistory" class="common-widget">
                        #include("templates/browsehistory.vm")
                                </div>
                        </div>
                        <!-- /Widgets -->
                </div>
        </div>
        <!-- /Main -->

        #include("templates/footer.vm")
        <!-- color by color lightbox -->
        <div style="display:none;">
                <div class="colorSelLightBoxColor">
                        <form name="frmColorSelName" method="post" action="#">
                                <h1>Color Selector</h1>
                                <h2>"Please choose color of product"</h2>
                                <div class="content"></div>
                                <div class="bigImgButton yellow-image">
                                        <input value="Continue" type="button" class="button" onclick="selectColor();" />
                                </div>
                                <div class="clearBoth"></div>
                        </form>
                </div>
        </div>
        <!-- /color by color lightbox -->
        #include ( "templates/commonjsfiles.vm" )
        #if ($bannerCount > 1 && $bannerCount < 4 )
        <script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="/js/jquery.slider.js"></script>
        #else
                <script type="text/javascript" src="/js/jquery.slidy.min.js"></script>
        #end
        <script type="text/javascript" charset="utf-8">
        $(function(){
        $('ul.product-description li').truncate({addtitle: true});
    });
        </script>
        <script type="text/javascript" charset="utf-8">
        #if ($bannerCount == 1 )
        jQuery('#banner-menu').slidy({
        animation:  'none',
        children:   'a',
        menu:       false,
        pause:      true,
        speed:      400,
        time:       4000
    });

        #elseif ($bannerCount > 1 && $bannerCount < 4 )
        $(document).ready(function() {
           $('#bannerMenu').DDSlider({
           nextSlide: '.slider_arrow_right',
           prevSlide: '.slider_arrow_left',
           selector: '.slider_selector'
            });
          }); 
        #else
        jQuery('#banner-menu').slidy({
        animation:  'fade',
        children:   'a',
        menu:       true,
        pause:      true,
        speed:      200,
        time:       5000
    });
        #end
        jQuery("#banner-menu").find("a, area").click(
    function(){
        if($(this).attr("href") != "#") {
            bannername = $(this).attr("banner-name");
            url = $(this).attr("href");
                        trackEventWithGA('Banner Region Clicked', bannername, url);
        }
    }
);
        </script>
        <style type="text/css">
                .slider_arrow_left {
         background: url(/images/left_arrow.png) no-repeat top left;
         }
                .slider_arrow_right {
         background: url(/images/right_arrow.png) no-repeat top left;
         }
        <style>
</body>
</html>