{strip} {foreach $res as $r} {assign var="community_src_logo" value="{$r.logo}"} {assign var="checks3pictLogo" value=$this->communityCheckS3Pictures($community_src_logo)} {if $this->communityCheckS3Pictures($community_src_logo)} {assign var="community_src_logo" value={$checks3pictLogo}} {else} {assign var="community_src_logo" value="{$group_small_logo_path}/{$r.id}/{$r.logo}"} {/if} {assign var=subscribed value=$this->isSubscribed($r.id)} {assign var=followers value=$this->getCommunityFollowers($r.id,'9999',1)}
{if isset($highlight)} {str_highlight($r.name,$key,null,'\1')} {else}{$r.name}{/if}{if $r.verified == 'yes'}{/if}
{$this->lang[$r.category]} {if !empty($r.subcategory)}• {$this->lang[$r.subcategory]}{/if}
{if $followers > 0}
{$followers} {$this->lang['Followers']}
{/if}
{foreachelse} {if $key != ''}
{str_replace("%s","\"{$key}\"", $this->lang['communities_search_no_result'])}
{else}
{$this->lang['communities_empty_room']}
{/if} {/foreach} {/strip}