Rev 2868 | Rev 5572 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#set ( $minPrice = $action.getMinPrice() )#set ( $maxPrice = $action.getMaxPrice() )#set ( $results = $action.getResults() )#set ( $facets = $action.getFacets() )#set( $totalItems = $action.getTotalResults() )#set( $beginIndex = $action.getBeginIndex() )#set( $endIndex = $action.getBeginIndex() + 9 )#if( $totalItems <= $endIndex )#set( $endIndex = $totalItems )#end#set($totalPages = $action.getTotalPages())#set($currentPage = $action.getCurrentPage())#set($url = $action.getUrl())#set($priceUrl = $action.getPriceUrl())#set($sortUrl = $action.getSortUrl())#set($sortOrder = $action.getSortOrder())<!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 http-equiv="imagetoolbar" content="false" /><meta name="MSSmartTagsPreventParsing" content="true" /><title>Saholic</title>#include ( "templates/commoncssfiles.vm" )<link rel="stylesheet" href="/css/jquery-ui-1.8.6.custom.css" type="text/css" media="all" /><script type="text/javascript">minPrice = $minPrice ;maxPrice = $maxPrice ;stepPrice = 10;priceUrl = "$priceUrl";</script></head><body><noscript><p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p></noscript>$action.getHeaderSnippet()<!-- Main --><div id="main"><div class="main-content"><div class="main-top"><div class="bread-crumbs"><a href="/">Home</a> > <a href="#">Search</a></div></div><div class="main-left left blue-border">#if($results && $totalItems != 0)<!-- search result --><div id="searchResult"><div class="middle"><div class="content"><!-- multifaceted search --><div id="multifacetedSearch">#set ( $crumbs = $action.getCrumbs() )#if($crumbs && $crumbs.size()!=0)<h2>Current filters:</h2><div id="currentFilters">#foreach ( $crumb in $crumbs )<div id="filterTalkTime"><span class="sectionHeader">$crumb.get(0):</span><span class="filterContent"><span class="filterOption">$crumb.get(1)</span><span class="filterClose"><a href="/search?$crumb.get(2)">[X]</a></span></span></div>#end</div>#end<!-- filter by --><div id="filterBy">#if($facets && $facets.size()!=0)<h2>Filter by:</h2>#foreach ( $facetLabel in $facets.keySet() )#set ( $facetvalues = $facets.get($facetLabel) )#if( $facetLabel == "Price" )<!-- price --><div id="filterByPrice"><div class="filterHeading"><div class="filterArrow"> </div><div class="sectionHeader">Price <span class="noBold">(Rs.)</span></div></div><div id="priceSlider"><div id="priceRange1"></div><div id="priceRange2"></div><div class="clearBoth"></div><div id="slider-range"></div><div id="diff"> </div></div></div><!-- /price -->#else<div id="filterByTalkTime"><div class="filterHeading"><div class="filterArrow"> </div><div class="sectionHeader">$facetLabel</div></div><div class="filterOption"><ul>#foreach ( $facetdetail in $facetvalues )<li><a href="/search?$facetdetail.get(2)" id="ttMedium">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span></li>#end</ul></div></div>#end#end#end<div class="bottomBorder"> </div></div><!-- /filter by --></div><!-- /multifaceted search --><!-- searchResultContent --><div id="searchResultContent"><!-- productListTop --><div class="productListTop"><div class="productListResult">$beginIndex to $endIndex of <span class="resultLimit">$totalItems</span> <span class="style1">results</span></div><div class="pagination1 moveTop"><ul class="pagination">#if($currentPage == 1)<li class="pager-previous"><span class="current prev">Prev</span></li>#else#set($prev = $currentPage-1)<li class="pager-previous"><a href="/search?${url}&page=${prev}" class="current prev">Prev</a></li>#end#set( $begin = 1 )#set( $end = 1 )#if($totalPages <= 5)#set( $begin = 1 )#set( $end = $totalPages )#else#if($currentPage <= 3)#set( $begin = 1 )#set( $end = 5 )#else#set( $begin = $currentPage - 2 )#set( $end = $currentPage + 2 )#if( $end > $totalPages)#set( $end = $totalPages)#set( $begin = $end - 4 )#end#end#end#set( $pages = [$begin..$end] )#foreach( $pageId in $pages )#if($currentPage == $pageId)<li class="pager-item"><span class="current">$pageId</span></li>#else<li class="pager-item"><a href="/search?${url}&page=${pageId}">$pageId</a></li>#end#end#if($currentPage == $totalPages)<li class="pager-next"><span class="current next">Next</span></li>#else#set($next = $currentPage+1)<li class="pager-next"><a href="/search?${url}&page=${next}" class="current next">Next</a></li>#end</ul></div><div class="clearBoth"></div><div id="sortBy">Sort by:#if($sortOrder == "F_50002 asc")<a class="active" id="sortByPrice">Price</a> |<a href="/search?${sortUrl}&sort=score+desc" id="sortByRelevance">Relevance</a>#else<a href="/search?${sortUrl}&sort=F_50002+asc" id="sortByPrice">Price</a> |<a class="active" id="sortByRelevance">Relevance</a>#end</div><div class="clearBoth"></div></div><!-- /productListTop --><!-- productListCenter --><div id="productListCenter"><!-- page 1 --><div class="page"><ul class="deals-item search-deals-page-list">#set($snippets = $action.getSnippets())#foreach ( $entityid in $results )<li class="search-deals-items">$snippets.get($entityid)</li>#end</ul></div><!-- /page 1 --><div class="clearBoth"></div></div><!-- /productListCenter --><!-- productListBottom --><div class="productListBottom"><div class="pagination1"><ul class="pagination">#if($currentPage == 1)<li class="pager-previous"><span class="current prev">Prev</span></li>#else#set($prev = $currentPage-1)<li class="pager-previous"><a href="/search?${url}&page=${prev}" class="current prev">Prev</a></li>#end#set( $begin = 1 )#set( $end = 1 )#if($totalPages <= 5)#set( $begin = 1 )#set( $end = $totalPages )#else#if($currentPage <= 3)#set( $begin = 1 )#set( $end = 5 )#else#set( $begin = $currentPage - 2 )#set( $end = $currentPage + 2 )#if( $end > $totalPages)#set( $end = $totalPages)#set( $begin = $end - 4 )#end#end#end#set( $pages = [$begin..$end] )#foreach( $pageId in $pages )#if($currentPage == $pageId)<li class="pager-next"><span class="current">$pageId</span></li>#else<li class="pager-next"><a href="/search?${url}&page=${pageId}">$pageId</a></li>#end#end#if($currentPage == $totalPages)<li class="pager-next"><span class="current next">Next</span></li>#else#set($next = $currentPage+1)<li class="pager-next"><a href="/search?${url}&page=${next}" class="current next">Next</a></li>#end</ul></div><div class="clearBoth"></div></div><!-- /productListBottom --></div><!-- /searchResultContent --><div class="clearBoth"></div></div></div></div><!-- /search result -->#else<div id="resultFound"><div id="resultFoundNo" style="display:block; margin-left:20px;"><span class="redColor">$totalItems results found for $action.getQuery()</span></div></div><div id="productDetail"><div class="middle" style="min-height:800px"><div class="content">Search Tips<ul style="padding-left:22px;"><li>Make sure all words are spelled correctly.</li><li>Try searching in a specific category.</li><li>Try different keywords.</li></ul></div></div></div><!-- /Product detail -->#end</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" )<script src="/js/priceSlider.js" type="text/javascript"></script><script type="text/javascript" charset="utf-8">$(function(){$('div.productDesp li').truncate({addtitle: true});});</script></body></html>