Rev 545 | Rev 637 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#set($totalItems = $action.getTotalItems())#set($beginIndex = $action.getBeginIndex())#set($endIndex = $action.getBeginIndex() + 19 )#if($totalItems <= $endIndex)#set($endIndex = $totalItems)#end#set($totalPages = $action.getTotalPages())#set($items = $action.getItems())#set($currentPage = $action.getCurrentPage())<!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>Best Sellers</title>#include ( "templates/commoncssfiles.vm" )<script src="/js/jquery-1.4.2.js" type="text/javascript"></script><script src="/js/all.js" type="text/javascript"></script><script src="/js/loginpop.js" type="text/javascript"></script><script src="/js/jquery.mousewheel.js" type="text/javascript"></script><script src="/js/jScrollPane.js" type="text/javascript"></script><script src="/js/widget_research.js" type="text/javascript"></script></head><body><noscript><p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p></noscript>#parse ( "templates/header.vm" )<!-- main --><div id="main">#include ( "templates/mainmenu.vm" )#parse ( "templates/searchbar.vm" )<!-- wrapper--><div id="wrapper"><!-- Product detail --><div id="productDetail"><div class="top"><div class="left"><div class="right"> </div></div></div><div class="middle"><div class="content"><div class="blockLeft"><!-- breadcrumb --><div id="breadcrumb"><a href="#">Home</a> > <a href="#" class="deselect">Latest Arrivals</a></div><!-- /breadcrumb --><h1 id="productHeading2">Latest Arrivals</h1></div><div class="clearBoth"></div></div></div><div class="bottom"><div class="left"><div class="right"> </div></div></div></div><!-- /Product detail --><!-- Best Sellers --><div id="productCat"><div class="top"><div class="left"> </div><div class="right"> </div><div class="clearBoth"></div></div><div class="middle"><div class="content"><!-- productListTop --><div class="productListTop"><div class="productListHeading">Latest Arrivals</div><div class="pagination2"><div class="pagination">#if($currentPage == 1)<span class="current prev">Prev</span>#else#set($prev = $currentPage-1)<a href="./${prev}" class="current prev">Prev</a>#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)<span class="current">$pageId</span>#else<a href="./$pageId">$pageId</a>#end#end#if($currentPage == $totalPages)<span class="current next">Next</span>#else#set($next = $currentPage+1)<a href="./${next}" class="current next">Next</a>#end</div></div><div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>latest arrivals</div><div class="clearBoth"></div></div><!-- /productListTop --><!-- productListCenter --><div id="productListingContent"><div class="page">#set($items = $action.getItems())#set( $isLeft = 0 )#foreach ( $entityid in $items )<div#if( $isLeft == 0 )class="floatLeft"#set($isLeft = 1)#elseclass="floatRight"#set($isLeft = 0)#end>#include ( "templates/entities/${entityid}/CategorySnippet.html" )</div>#end</div><div class="clearBoth"></div></div><!-- /productListCenter --><!-- productListBottom --><div class="productListBottom"><div class="pagination2"></div><div class="clearBoth"></div></div><!-- /productListBottom --><div class="clearBoth"></div></div></div><div class="bottom"><div class="left"><div class="right"> </div></div></div></div><!-- /Best Sellers --></div><!-- /wrapper--><!-- sidebar--><div id="sidebar">#include ( "templates/customerservice.vm" )#parse ( "templates/myresearch.vm" )</div><!-- /sidebar--><div class="clearBoth"></div></div><!-- /main --><!-- footer -->#include ( "templates/footer.vm" )<!-- /footer --></body></html>