{strip} {if $pictures_count}
{/if} {if !isset($page)} {assign var=page value=1} {/if} {foreach $this->communityPicturesWall($r.id,$albumid,$page) as $item} {assign var=is_gif value=$this->is_gif($item.id,1)} {assign var=author value=$this->itemAuthor($item.userid)} {if $item.file == 'picture'} {if $isadmin || $author} {/if} {assign var="rates" value=$this->pwGetPhotoStars($item.id,1)} {if $rates}
{/if}
{$this->getLikesCount($item.id,'photo',1)}
{$this->getCommentsCount($item.id,'photo',1)}
{else} {if $isadmin || $author} {/if}
{$item.vd_duration}{if $item.vd_external}{$item.vd_external}{/if}
{$item.vd_name}
{$this->getLikesCount($item.id,'video',1)}
{$this->getCommentsCount($item.id,'video',1)}
{/if} {foreachelse} {if $pictures_count}
{$this->lang['community_album_empty']}
{else} [END] {/if} {/foreach} {if $pictures_count}
{/if} {if $pictures_count}
{$this->lang['Load_more']}
{/if} {/strip}