2011-10-20 22:13:52 +02:00
|
|
|
[{if $oxcmp_user && $oxcmp_user->oxuser__oxrights->value == 'malladmin'}]
|
|
|
|
<div class="box">
|
|
|
|
<h3>[{oxmultilang ident="D3_USERSONLINE_USERSONLINE"}]</h3>
|
|
|
|
<div class="content">
|
|
|
|
<table style="border-style: none; width: 100%;">
|
|
|
|
<tr>
|
|
|
|
<td style="border-bottom: 1px solid silver;">
|
|
|
|
[{oxmultilang ident="D3_USERSONLINE_ALL"}]
|
|
|
|
</td>
|
|
|
|
<td style="border-bottom: 1px solid silver; text-align: right;">
|
|
|
|
<b>[{$aUsersOnline.all }]</b>
|
|
|
|
</td>
|
|
|
|
<td style="border-bottom: 1px solid silver; text-align: left;">
|
|
|
|
[{if $aUsersOnline.all == 1}]
|
|
|
|
[{oxmultilang ident="D3_USERSONLINE_USER"}]
|
|
|
|
[{else}]
|
|
|
|
[{oxmultilang ident="D3_USERSONLINE_USERS"}]
|
|
|
|
[{/if}]
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
[{foreach from=$aUsersOnline.classes item="aClassUser"}]
|
|
|
|
<tr>
|
2011-10-21 15:10:00 +02:00
|
|
|
<td>
|
|
|
|
[{if $aClassUser->classname}]
|
|
|
|
[{$aClassUser->classname|ucfirst}]:
|
|
|
|
[{else}]
|
|
|
|
undefined:
|
|
|
|
[{/if}]
|
|
|
|
</td>
|
2011-10-20 22:13:52 +02:00
|
|
|
<td style="text-align: right;">
|
|
|
|
<b>[{$aClassUser->counter}]</b>
|
|
|
|
</td>
|
|
|
|
<td style="text-align: left;">
|
|
|
|
[{if $aClassUser->counter == 1}]
|
|
|
|
[{oxmultilang ident="D3_USERSONLINE_USER"}]
|
|
|
|
[{else}]
|
|
|
|
[{oxmultilang ident="D3_USERSONLINE_USERS"}]
|
|
|
|
[{/if}]
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
[{/foreach}]
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
[{/if}]
|