#if( !$hideheader ) $pages.include("$apphome/components/results/header.html",$context) #end $context.putPageValue("assetrootfolder", "/$catalogid/assets") #if( !$thumbsize ) #set( $thumbsize = "thumb" ) #end #if( $category ) #set( $catid = $category.id ) #else #set( $catid = "index" ) #end #if ( $hits && $hits.size() > 0 ) #set( $details = $mediaarchive.getAssetSearcher().getDetailsForView("asset/resultstable",$context.getUserProfile()) ) $context.putPageValue("details",$details)
#set ($resultview = $userprofile.get('resultview')) #if (!$resultview || $resultview == 'table') View Gallery #else View Table #end #set($count = 0)
#foreach ($hit in $hits.getPageOfHits())
#set( $count = $hits.getPage()+-1 ) #set( $count = $count*$hits.getHitsPerPage() ) #set( $count = $velocityCount + $count ) $context.putPageValue("hitindex",$count ) #set ($sourcepath = $hit.sourcepath) $context.putPageValue("cell", $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)
$pages.include("$apphome/components/results/thumbnails/${type}.html", $context)
#if( $showcaption ) #if( $hit.assettitle ) $hit.assettitle #else $hit.name#end #end
#end
##if( $category ) ##

$category

##end
#if( $hits ) $hits.size() [[assets]]#end $pages.include("$apphome/components/results/pages.html",$context)
#end


#if ( $hits.totalPages == 0 )

[[No results found.]]

#end