Habe es schon selbst hinbekommen! Danke
{* SHOW ONLINE USERS *}
<br>
<table cellpadding='0' cellspacing='0' class='portal_table' align='center' width='100%'>
<tr><td class='portal_header'>{$global_online_total} {$home31}</td></tr>
<tr>
<td class='portal_box'>
{if $global_online_total > 0}
{section name=online_users_loop loop=$global_online_users max=10}
{* START NEW ROW *}
{cycle name="startrow0" values="<table cellpadding='0' cellspacing='0' align='center'><tr>,,,,"}
<td class='portal_member'><a href='{$smarty_object->url('profile',$global_online_users[online_users_loop].onlineuser_username)}'>{$global_online_users[online_users_loop].onlineuser_username|truncate:15:"...":true}<br>{if $global_online_users[online_users_loop].photo != ""}<img src='{$global_online_users[online_users_loop].photo}' class='photo' width='{$smarty_object->photo_size($global_online_users[online_users_loop].photo,'90','90','w')}' border='0'>{else}<img src='./images/nophoto.gif' class='photo' width='90' border='0'>{/if}</a></td>
{* END ROW AFTER 10 RESULTS *}
{if $smarty.section.online_users_loop.last == true}
</tr></table>
{else}
{cycle name="endrow0" values=",,,,</tr></table>"}
{/if}
{/section}
{else}
{$home32}
{/if}
</td>
</tr>
</table>