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 | ||
11 | <div style='position: fixed;height: 100%;background-color:black;z-index: 2'> | |
12 | ||
13 | <div class='active_users' style='margin-left: 10px; width: 200px'> | |
14 | <span class='important'><center>friends</center></span> | |
15 | {if $action}{get_userlist vector=$action} in vector {$action} | |
16 | {else}{get_userlist} | |
17 | {/if} | |
18 | ||
19 | {foreach name=friends from=$active_friends item=active_friend}<a href='/id/{$active_friend.user_id}'><img name='{$active_friend.login}' alt='{$active_friend.login}' title='{$active_friend.login}' src='{get_image_link id=$active_friend.user_id}' border='0' height='50' width='50'></a>{/foreach} | |
20 | </div> | |
21 | ||
22 | ||
23 | ||
24 | ||
25 | <div style='margin-left: 10px; margin-top: 5px; width: 200px'> | |
26 | <span class='important'><center>new forums</center></span> | |
27 | {get_nodes_by_type type=3 listing_amount=10 offset=$offset} | |
28 | {foreach from=$get_nodes_by_type item=child} | |
29 | <a href='/id/{$child.node_id}'>{$child.node_name|strip_tags}</a> | |
30 | {$child.login} ({$child.node_children_count})</a><br> | |
31 | {/foreach} | |
32 | </div> | |
33 | ||
34 | <div style='margin-left: 10px; margin-top: 5px; width: 200px; text-align: justify'> | |
35 | <span class='important'><center>users online</center></span> | |
36 | {foreach name=users from=$active_users item=active_user} | |
37 | <a href="/id/{$active_user.user_id}">{$active_user.login}</a> | |
38 | {/foreach} | |
39 | </div> | |
40 | ||
41 | ||
42 | </div> | |
43 | ||
44 | <div style='position: absolute; left: 240px; top: 29px;'> | |
45 | <form method='post' action='/id/{$node.node_id}'> | |
46 | {get_bookmarks} | |
47 | {foreach from=$get_bookmarks item=bookmark_category} | |
48 | {* showing bookmark category *} | |
49 | {if $bookmark_category.node_name neq false} | |
50 | <a class='important' href='/id/{$bookmark_category.node_id}/' style='border-left: 1px solid; padding-left: 4px;'>{$bookmark_category.node_name}</a> | |
51 | {if $bookmark_category.sum neq false} | |
52 | || <span class='most_important'> {$bookmark_category.sum}NEW</span> | |
53 | {/if} | |
54 | {/if} | |
55 | <br> | |
56 | <ul style='list-style-type: none; padding-left: 0px; border-left:1px solid; padding-bottom: 0px; margin: 0px; margin-bottom: 20px; '> | |
57 | {foreach from=$bookmark_category.children item=bookmarks} | |
58 | {if $bookmarks.node_name} | |
59 | <li>- <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> | |
60 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} | |
61 | - | |
62 | {/if} | |
63 | {if $bookmarks.node_user_subchild_count neq false} | |
64 | <span class='most_important'> {$bookmarks.node_user_subchild_count}NEW </span> || | |
65 | {/if} | |
66 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} | |
67 | <span class='most_important'>DESC</span> | |
68 | {/if} | |
69 | ||
70 | {/if} | |
71 | </li> | |
72 | {/foreach} | |
73 | </ul> | |
74 | {/foreach} | |
75 | ||
76 | <input type='text' name='bookmark_category_id'> <input type='submit' name='event' value='set_bookmark_category'> | |
77 | </form> | |
78 | <br /><br /><br /><br /><br /><br /> | |
79 | {include file="modules/footer.tpl"} | |
80 | </div> | |
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 |