{{$idField = $topic::$databaseColumnId;}} {{$iposted = $topic->container()->contentPostedIn( NULL, [ $topic->$idField ] );}}

{{if $topic->unread()}} {{else}} {{if \in_array( $topic->$idField, $iposted )}} {{endif}} {{endif}} {$topic->title} {{if $topic->container()->allow_rating}} {template="rating" group="global" location="front" app="core" params="'large', $topic->rating_hits ? ( $topic->rating_total / $topic->rating_hits ) : 0"} {{endif}}