{{if \count( $files )}} {{if \IPS\downloads\Category::getMemberView() == 'grid'}}
{{foreach $files as $file}}
  • {template="thumbImage" group="global" app="core" params="$file->primary_screenshot_thumb, $file->name, 'large', '', '', $file->url( 'getPrefComment' )"}
    {{$price = NULL;}} {{if \IPS\Application::appIsEnabled( 'nexus' ) and settings.idm_nexus_on}}
    {{if $file->isPaid()}} {{if $price = $file->price()}} {$price|raw} {{endif}} {{else}} {lang="file_free_feed"} {{endif}}
    {{endif}}
    {{if $file->container()->bitoptions['reviews']}}
    {template="rating" group="global" location="front" app="core" params="'small', $file->rating, \IPS\Settings::i()->reviews_rating_out_of"}
    {{endif}}
    {$file->truncated()|raw}
    {{if $file->isPaid() and !$file->nexus and \in_array( 'purchases', explode( ',', settings.idm_nexus_display ) )}} purchaseCount()}}class='ipsType_light'{{endif}} title='{lang="idm_purchases"}' data-ipsTooltip> {$file->purchaseCount()} {{endif}} {{if !$file->isPaid() or \in_array( 'downloads', explode( ',', settings.idm_nexus_display ) )}} downloads}}class='ipsType_light'{{endif}} title='{lang="downloads"}' data-ipsTooltip> {number="$file->downloads"} {{endif}} {{if $file->container()->bitoptions['comments']}}comments}}class='ipsType_light'{{endif}} title='{lang="total_comments"}' data-ipsTooltip> {$file->comments}{{endif}}
  • {{endforeach}}
    {{else}} {{foreach $files as $file}} {template="tableRow" group="browse" app="downloads" params="$file, $table"} {{endforeach}} {{endif}} {{endif}}