[{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}]
[{$aClassUser->classname|ucfirst}]: [{$aClassUser->counter}] [{if $aClassUser->counter == 1}] [{oxmultilang ident="D3_USERSONLINE_USER"}] [{else}] [{oxmultilang ident="D3_USERSONLINE_USERS"}] [{/if}]
[{/if}]