Rev 354 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.1 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>Search Results</title><style type="text/css">.labels { width:300px; font-family:Trebuchet MS,Verdana,Arial,sans-serif; font-size:8pt; float:left;}.facets { width:300px; font-family:Trebuchet MS,Verdana,Arial,sans-serif; font-size:10pt; float:left;}.result { width:400px; font-family:Trebuchet MS,Verdana,Arial,sans-serif; font-size:8pt; float:left;}.result_img { border:0; width:65px; height:65px }.result_text { display:block; font-weight:bold; }</style></head>#set ( $results = $action.getResults() )#set ( $facets = $action.getFacets() )<body><h2>Search Results</h2><h4>Count - $results.size()</h4><h4>#set ( $crumbs = $action.getCrumbs() )#foreach ( $crumb in $crumbs )<a href="/shop2020/search?$crumb.get(1)">$crumb.get(0)</a>#if( $velocityHasNext ) > #end#end</h4><div class="facets"><ul>#foreach ( $facetLabel in $facets.keySet() )<li><span style="font-weight:bold;">$facetLabel<span>#set ( $facetvalues = $facets.get($facetLabel) )<ul>#foreach ( $facetdetail in $facetvalues )<li><span style="font-weight:normal;"><a href="/shop2020/search?$facetdetail.get(2)">$facetdetail.get(0) ($facetdetail.get(1))</a></span></li>#end</ul></li>#end</ul></div><div class="result">#foreach ( $entityid in $results.keySet() )#set ( $values = $results.get($entityid) )#set ( $entityname = $values.get(0) )<div><div class="result_text"><a href="/shop2020/entity/$entityid">$entityname</a></div><div><span><a href="/shop2020/entity/$entityid"><img class="result_img" src="/shop2020/images/${entityid}.jpg"></a></span><!--<span><ul><li>One</li><li>Two</li></ul></span>--></div><hr/></div>#end</div></body></html>