{include file="modules/header.tpl"}

<table width=100%>
<tr><td valign='top' width=12%>
{include file="modules/get_userlist.tpl"}
</td>

<td valign='top' width=50%>

<form method='post' action='/id/{$node.node_id}'>

{get_bookmarks}
<input type="button" value="+ {$bookmark_category.node_name}" 
onClick="document.getElementById('{$bookmark_category.node_id}').style.visibility =
'visible';"><br>
<div style="visibility:hidden" id="{$bookmark_category.node_id}" name="{$bookmark_category.node_id}">
{foreach from=$get_bookmarks item=bookmark_category}
{* showing bookmark category *}
{if $bookmark_category.node_name neq false}
.kategoria::<a class='important' href='/id/{$bookmark_category.node_id}/'>{$bookmark_category.node_name}</a>
{if $bookmark_category.sum neq false}
.:: <span class='most_important'> {$bookmark_category.sum} NEW</span>
{/if}
{/if}
<br>

{foreach from=$bookmark_category.children item=bookmarks}
{if $bookmarks.node_name neq false && $bookmarks.node_id neq ''}
<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>
{if $bookmarks.node_user_subchild_count neq false}
zle:: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW CHILDREN</span>
{/if}
{if $bookmarks.lastdescendant_created > $bookmarks.last_visit}
:: <span class='most_important'>!!NEW DESCENDANT!!</span>
{/if}
{/if}
<br>

{/foreach}
</div>
{/foreach}


<input type='text' name='bookmark_category_id'><input type='submit' name='event' value='set_bookmark_category'>

</form>

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

{include file="modules/footer.tpl"}

