[{if $oxcmp_user && $oxcmp_user->oxuser__oxrights->value == 'malladmin'}]

[{oxmultilang ident="D3_USERSONLINE_USERSONLINE"}]

[{foreach from=$aUsersOnline.classes item="aClassUser"}] [{/foreach}]
[{oxmultilang ident="D3_USERSONLINE_ALL"}] [{$aUsersOnline.all }] [{if $aUsersOnline.all == 1}] [{oxmultilang ident="D3_USERSONLINE_USER"}] [{else}] [{oxmultilang ident="D3_USERSONLINE_USERS"}] [{/if}]
[{if $aClassUser->classname}] [{$aClassUser->classname|ucfirst}]: [{else}] undefined: [{/if}] [{$aClassUser->counter}] [{if $aClassUser->counter == 1}] [{oxmultilang ident="D3_USERSONLINE_USER"}] [{else}] [{oxmultilang ident="D3_USERSONLINE_USERS"}] [{/if}]
[{/if}]