#if( !$hideheader ) $pages.include("$componenthome/results/header.html",$context) #end
$pages.include("$componenthome/results/pages.html",$context)
#macro( showStars $incount) #if( $incount > 5 ) #set( $incount = 5 ) #end #set( $count = $incount - 1 ) #if( $count > 0 ) #showStars( $count ) #end #end $context.putPageValue("assetrootfolder", "/$catalogid/assets") #if( !$thumbsize ) #set( $thumbsize = "thumb" ) #end
#if( $parenthits ) #set( $rootid = $parenthits.sessionId ) ##what is this for? #else #set( $rootid = $hits.sessionId ) #end #if( $category ) #set( $catid = $category.id ) #else #set( $catid = "index" ) #end #foreach ($hit in $hits.getPageOfHits())
#set( $count = $hits.getPage()+-1 ) #set( $count = $count*$hits.getHitsPerPage() ) #set( $count = ${foreach.count} + $count ) $context.putPageValue("hitindex",$count ) #set ($sourcepath = $hit.sourcepath) $context.putPageValue("hit", $hit) #set( $type = $mediaarchive.getMediaRenderType($hit.fileformat)) $context.putPageValue("type", $type) #set( $click = "$home$apphome/views/assets/${sourcepath}/index.html?categoryid=$catid&hitssessionid=$rootid" ) $context.putPageValue("clink", $clink)
#if($hit.id == $asset.id) selected #end $pages.include("$componenthome/results/thumbnails/${type}.html", $context)
#if( $showcaption )
##show smart time
#if( $hit.assettitle ) $hit.assettitle #elseif( $hit.caption ) $hit.caption #else $hit.name #end
#if(${hit.length})$mediaarchive.formatLength($hit.length)#end

TEST SAT

#set( $count = $hits.parseInt($hit.get("assetvotes")) ) #if( $count > 0 ) #showStars($count) #end #if( $hit.assetviews )$hit.assetviews views#end
#end #if( $showbasket ) $pages.include("$apphome/views/modules/asset/activity/toggleitem.html?assetid=$hit.id") #end
#end
#if($hits.getPageOfHits().size() > 6)
$pages.include("$componenthome/results/pages.html",$context)
#end #if ( $hits.totalPages == 0 )

[[No results found.]]

#end