{*header*}{include file="1549864.tpl"}
{if $user_id eq false} <center>{* loginbox *}{include file="1549885.tpl"}</center>
{else}

{if $action}{get_userlist vector=$action} in vector {$action}
{else}{get_userlist}

{/if}

<table align='center' valign='top' style='border: solid 1px #6dae42; border-top: 0; margin-top: 0;' width='780'>

<tr>
<!-- center column -->
<td valign='top' width='468'>

<center>
{include file="modules/loginbox.tpl"}
</center>

<table>
<tr><td colspan='3' class='important'>friends</td></tr>
<tr>
{foreach name=friends from=$active_friends item=active_friend}
{if $smarty.foreach.friends.iteration is div by 5}</tr><tr>{/if}
<td width='190'>
        <table>
                <tr><td colspan='1' class='important'><a href='/id/{$active_friend.user_id}/'>{$active_friend.login|strip_tags}</a></td></tr>

                <tr>
                        <td><a href='/id/{$active_friend.user_id}/'>
<img border='0' name='{$active_friend.login}' width='50' height='50' alt='{$node_visitor.login}' src='{get_image_link id=$active_friend.user_id}'></a></td>
                        <td valign='top'>[<a href='/id/{$active_friend.user_action_id}'>{$active_friend.user_action|strip_tags}</a>]<br>{$active_friend.idle_time_minutes}min {$active_friend.idle_time_seconds}sec</td>
                </tr>
        </table>

</td>
{/foreach}
</tr>

<tr><td colspan='3' class='important'>users<br><br></td></tr>
<tr>
{foreach name=users from=$active_users item=active_user}
{if $smarty.foreach.users.iteration is div by 5 }</tr><tr>{/if}
<td width='190'>
        <table>
                <tr><td colspan='1' align='center' class='important'><a href='/id/{$active_user.user_id}/'>{$active_user.login|strip_tags}</a></td></tr>

                <tr>
<td valign='top'>[<a href='/id/{$active_user.user_action_id}'>{$active_user.user_action|strip_tags}</a>]
<br>{$active_user.idle_time_minutes}min {$active_user.idle_time_seconds}sec</td>
                </tr>
        </table>

</td>
{/foreach}

</td></tr>
</table>
</table>

</td>
<!-- end of center column -->

</tr>
</table>
<br><center><img src="/images/kybusers.png" border="0" /></center>
{*footer*}{include file="1549377.tpl"}
{/if}