{if SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_SMALL != 1 && SHOW_LASTVISITOR_ALLUSERS == 1 && $visitorCount != 0 || SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_SMALL != 1 && SHOW_LASTVISITOR_ALLUSERS != 1 && $this->user->userID == $profileID && $visitorCount != 0 || SHOW_LASTVISITOR_SMALL != 1 && $this->user->getPermission('admin.profile.lastvisitor.canseeboxes') && $visitorCount != 0} {if SHOW_LASTVISITOR_TIME == 1} {cycle values='container-1,container-2' print=false advance=false}

{lang}wcf.user.option.profile.lastvisitor.title{/lang}

{lang}wcf.user.option.profile.lastvisitor.visitor{/lang}
{lang}wcf.user.option.profile.lastvisitor.time{/lang}
{foreach from=$visitors item=$besucher}
{$besucher->username} {if $besucher->lastActivityTime > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $besucher->lastActivityTime > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1} {elseif SHOW_LASTVISITOR_ONLINE == 1} {/if}
{@$besucher->time|time}
{/foreach} {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT} {/if}
{/if} {if SHOW_LASTVISITOR_TIME != 1}

{lang}wcf.user.option.profile.lastvisitor.title{/lang}

{foreach from=$visitors item=$besucher} {lang}wcf.user.option.profile.lastvisitor.name{/lang} {/foreach} {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT} {/if}
{/if} {/if}