Commit | Line | Data |
---|---|---|
e586807d H |
1 | <!-- |
2 | This program is free software. It comes without any warranty, to | |
3 | the extent permitted by applicable law. You can redistribute it | |
4 | and/or modify it under the terms of the Do What The Fuck You Want | |
5 | To Public License, Version 2, as published by Sam Hocevar. See | |
6 | http://sam.zoy.org/wtfpl/COPYING for more details. | |
7 | --> | |
8 | ||
9 | {include file="modules/header.tpl"} | |
10 | <table align='center' width='100%' cellspacing='0' cellpadding='0'> | |
11 | ||
12 | {get_userlist vector=;1;102} | |
13 | ||
14 | <tr><td colspan='5' class='important'>friends</td></tr> | |
15 | <tr> | |
16 | {foreach name=friends from=$active_friends item=active_friend} | |
17 | {if $smarty.foreach.friends.iteration is div by 5}</tr><tr>{/if} | |
18 | <td width='190'> | |
19 | <table> | |
20 | <tr><td colspan='2' class='important'>{$active_friend.login}</td></tr> | |
21 | <tr> | |
22 | <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> | |
23 | <td valign='top'>[<a href='/id/{$active_friend.user_action_id}'>{$active_friend.user_action}</a>]<br>{$active_friend.idle_time_minutes}min {$active_friend.idle_time_seconds}sec</td> | |
24 | </tr> | |
25 | </table> | |
26 | </td> | |
27 | {/foreach} | |
28 | </tr> | |
29 | ||
30 | <tr><td colspan='5' class='important'>users</td></tr> | |
31 | <tr> | |
32 | {foreach name=users from=$active_users item=active_user} | |
33 | {if $smarty.foreach.users.iteration is div by 5 }</tr><tr>{/if} | |
34 | <td width='190'> | |
35 | <table> | |
36 | <tr><td colspan='2' align='center' class='important'>{$active_user.login}</td></tr> | |
37 | <tr> | |
38 | <td><a href='/id/{$active_user.user_id}/'><img border='0' name='{$active_user.login}' width='50' height='50' alt='{$active_user.login}' src='{get_image_link id=$active_user.user_id}'></a></td> | |
39 | <td valign='top'>[<a href='/id/{$active_user.user_action_id}'>{$active_user.user_action}</a>]<br>{$active_user.idle_time_minutes}min {$active_user.idle_time_seconds}sec</td> | |
40 | </tr> | |
41 | </table> | |
42 | </td> | |
43 | {/foreach} | |
44 | ||
45 | </td></tr> | |
46 | </table> | |
47 | {include file="modules/footer.tpl"} |