{strip}
{foreach $res as $r} {assign var=subscribed value=$this->isSubscribed($r.id)} {assign var=pictures_count value=$this->getCommunityAlbumsPicturesCount($r.id,$albumid)} {assign var=isadmin value=$this->checkAdmin($this->USER['id'],$r.admin)} {if $isadmin}{/if} {include file="{$this->group_templates}/group-header.html"}

#### {$album_title} ({$pictures_count}){if $albumid > 0 && $isadmin}{$this->lang['Edit_album']}{/if}

{if $isadmin}
{$this->lang['Add_pictures_videos']}
{/if}
{include file="{$this->group_templates}/album-items.html"}
{/foreach}
{/strip}