{strip}
{if $res.id === $this->USER['id']} {else}
{/if} {if $res.theme === '-1'} {assign var=ph_slideshow value=$_d->getSlideshowConfig($res.id)}
{else if !$res.theme}
{else if !$res.theme}
{assign var=ph_collage value=$this->createUserThemeFromCollage($res.id)} {foreach $ph_collage as $vphoto} {if $vphoto.is_video}
{$vphoto.str}
{$this->getLikesCount($vphoto.id,'video')}
{else}
{$vphoto.str}
{$this->getLikesCount($vphoto.id,'photo')}
{/if} {/foreach}
{else} {assign var=k_theme value=$this->getThemeDetails($res.theme)} {if $k_theme['kn'] === 'true'}
{else}
{/if} {/if}
{/strip}