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 | <link rel='stylesheet' type='text/css' href='http://x86.sk/~marin/css/book.css'> | |
10 | {include file="modules/header.tpl"} | |
11 | ||
12 | <script language="javascript" src="/id/156968/download"> | |
13 | </script> | |
14 | ||
15 | <div style="float:left; width:20%; text-align:center; margin-left:8px;" class='active_users'> | |
16 | ||
17 | {get_userlist} | |
18 | {if $active_friends eq true} | |
19 | ||
20 | <span class='important'><center>friends</center></span> | |
21 | {foreach from=$active_friends item=node_visitor} | |
22 | <div class='active_user_img' style='float:left; margin:0px 1px 0 0;'><a href='/id/{$node_visitor.user_id}/'><img border='0' name='{$node_visitor.login}' width='50' height='50' alt='{$node_visitor.login}' title='{$node_visitor.login}' src='{get_image_link id=$node_visitor.user_id}'></a></div> | |
23 | {/foreach}<br style="clear:left;"> | |
24 | {/if} | |
25 | <span class='important'><center>users on.line</center></span> | |
26 | {foreach from=$active_users item=node_visitor} | |
27 | <a href='/id/{$node_visitor.user_id}'>{$node_visitor.login}</a><br> | |
28 | {/foreach} | |
29 | ||
30 | <br> | |
31 | <form action='/id/{$node.node_id}/' method='post'> | |
32 | {if $node.node_bookmark neq 'yes'} | |
33 | <input type='submit' name='event' value='book'> | |
34 | {else} | |
35 | <input type='submit' name='event' value='unbook'> | |
36 | {/if}</form> | |
37 | <br><center> | |
38 | <table class='bordered'> | |
39 | {get_bookmark_statistics} | |
40 | {foreach from=$get_bookmark_statistics item=bookmark_statistic} | |
41 | <tr><td><a href='/id/{$bookmark_statistic.user_id}'>{$bookmark_statistic.login}</a><td>{$bookmark_statistic.node_user_subchild_count}</td></tr> | |
42 | {/foreach} | |
43 | </table></center> | |
44 | </div> | |
45 | ||
46 | ||
47 | <div style="margin-left:20%; padding-left:10px;"> | |
48 | <div id='book'> | |
49 | ||
50 | <span class='tt'> </span> | |
51 | {get_bookmarks} | |
52 | {foreach from=$get_bookmarks item=bookmark_category} | |
53 | <!-- <h2>X</h2> --><div class='b_cat1'> | |
54 | {* showing bookmark category *} | |
55 | {if $bookmark_category.node_name neq false} | |
56 | <a href="javascript:chngbukcat('{$bookmark_category.node_id}')">#</a>kategoria::<a class='important' href='/id/{$bookmark_category.node_id}/'>{$bookmark_category.node_name}</a> | |
57 | {if $bookmark_category.sum neq false} | |
58 | :: <span class='most_important'> {$bookmark_category.sum} NEW</span> | |
59 | {/if} | |
60 | ||
61 | {/if} | |
62 | {if $bookmark_category.node_name neq true} | |
63 | Unsorted | |
64 | {/if} | |
65 | ||
66 | <div class='b_item1'> | |
67 | {foreach from=$bookmark_category.children item=bookmarks} | |
68 | {if $bookmarks.node_name && $bookmarks.node_id} | |
69 | <div class="b_node"><input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> | |
70 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name|strip_tags}</a> | |
71 | {if $bookmarks.node_user_subchild_count neq false} | |
72 | :: <span class='most_important'> {$bookmarks.node_user_subchild_count} N!</span> | |
73 | {/if} | |
74 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} | |
75 | :: <span class='most_important'>D!</span> | |
76 | {/if} [<a href='/id/23/{$bookmarks.node_vector}' style="color:#666;">posledne</a>] | |
77 | <form action='/id/{$bookmarks.node_id}/' method='post' style="display: inline;"><input type='submit' name='event' value='unbook' style="border:0; font-size:6pt; height:13px; float:leftt; margin:0; position:absolute; right:200px;"></form> | |
78 | </div>{/if} | |
79 | {/foreach}</div></div> | |
80 | ||
81 | <br> | |
82 | ||
83 | {/foreach} | |
84 | </div> | |
85 | ||
86 | </div> | |
87 | ||
88 | ||
89 | <form method='post' action='/id/{$node.node_id}'> | |
90 | <div id='fix'> | |
91 | {if $node.node_creator eq $user_id or $node.node_permission eq 'master' or $node.node_permission eq 'op'}<a href='/id/{$node.node_id}/configure'>configure</a>{/if} <a href='#top' class='top'>top</a> <input type='text' name='bookmark_category_id'><input type='submit' name='event' value='set_bookmark_category'></div> | |
92 | </form> | |
93 | ||
94 | ||
95 |