#if(!$module) #set( $module = $content.module) #end #if(!$module) #set($module = $context.getRequestParameter("module")) #end $context.putPageValue("module", $module) #if( !$hits ) #set( $hits = $collectionassets) $context.putPageValue("hits",$hits) #end #if( !$hits ) #set( $hits = $orderassets) $context.putPageValue("hits", $hits) #end #if($hits) #set( $catid = $hits.getInput("categoryid") ) #if (!$catid) #set( $catid = $context.getRequestParameter("category")) #end #set( $nodeID = $context.getRequestParameter("nodeID")) #if (!$catid && $nodeID) #set( $catid = $nodeID ) #end #if ($catid) $context.putPageValue("catid",$catid) #end #if( $catid && !$category) #set( $category = $mediaarchive.getData("category",$catid) ) #end #set( $orderid = $hits.getInput("orderid") ) #if( $orderid ) #set( $order = $mediaarchive.getData("order",$orderid) ) $context.putPageValue("order",$order) #end #if( !$librarycol && $category ) #set( $librarycol = $mediaarchive.query("librarycollection").orgroup("rootcategory",$category.getParentCategories()).searchOne() ) #end #if( $librarycol ) $context.putPageValue("librarycol",$librarycol) #end #end #set( $leftbarstatus = $userprofile.get("leftbarstatus")) #set( $filtersbarstatus = $userprofile.get("filtersbarstatus"))