{* header *}{include file="1549864.tpl"}
<link rel='stylesheet' title="kyberia" type='text/css' href='/templates/3559762.tpl' />
<table width=100%>
<tr><td valign='top' width=12%>
<center>

<table cellspacing="0" cellpadding="1" style="text-align: center; border: 0;" align="center">
  <tr><td><b>K</b></td><td><b>K_wallet</b></td></tr>
  <tr><td>{$user_k}</td><td>{$k_wallet}</td></tr>
</table>
<br />

{* USER SUBMISSIONS CHILDREN *}
<table cellspacing="0" cellpadding="0">
  {get_user_submissions_children listing_amount=10}
  {foreach from=$get_user_submissions_children item=child}
    {if $child.node_created > $node.last_visit}
      <tr><td width="100%" valign="top" align="left">
        <a href="/id/{$child.node_creator}/" title="{$active_friend.login|strip_tags}">
          <img border="0" alt="{$child.login|escape:'html'}" title="{$child.login|escape:'html'}" width="23" style="float:left"
          height="23" src="{get_image_link id=$child.node_creator}"></a>&nbsp;<span class="most_important"><a href="/id/3579407/" style="color:#ff0000">RE</a></span>:<a href="/id/{$child.node_parent}">{$child.parent_name|imagestrip|stripslashes|truncate:27:"...":true}</a><br>
        &nbsp;{$child.node_content|imagestrip|strip_tags|stripslashes|truncate:27:"...":true}
        <br>
      </td></tr>
    {/if}
  {/foreach}
  {get_user_submissions_children listing_amount=1 offset=10}
  {foreach from=$get_user_submissions_children item=child}
    {if $child.node_created > $node.last_visit}
      {if $child.node_creator}<br /><span class="important">and more new</span> <a href="/id/3579407/">submissions...</a>{/if}
    {/if}
  {/foreach}
</table>



{* NEW S *}
<table cellspacing="0" cellpadding="0">
  <tr><td width="100%" valign="top" align="left">


{* NEW ARTICLES *}
   {get_linked_nodes node_id=1 listing_amount=5}
    {foreach from=$get_linked_nodes item=child}
      {if $child.node_created > $node.last_visit}
        <br />new<span class="important">ARTICLE</span> by {$child.login}, ({$child.node_children_count})<br />
        <a href="/id/{$child.node_id}" title="{$child.node_name|strip_tags|stripslashes}">
        {$child.node_name|strip_tags|stripslashes|truncate:27:"...":true}</a> {$child.k}k<br />
      {/if}
    {/foreach}
   {get_linked_nodes node_id=1 listing_amount=1 offset=5}
    {foreach from=$get_linked_nodes item=child}
      {if $child.node_created > $node.last_visit}
        {if $child.node_id}<br /><span class="important">and more new</span> <a href="/id/1/">articles...</a>{/if}
      {/if}
    {/foreach}



{* NEW FORUMS *}
   {get_linked_nodes node_id=1058182 listing_amount=5}
    {foreach from=$get_linked_nodes item=child}
      {if $child.node_created > $node.last_visit}
        <br />new<span class="important">FORUM</span> by {$child.login}, ({$child.node_children_count})<br />
        <a href="/id/{$child.node_id}" title="{$child.node_name|strip_tags|stripslashes}">
        {$child.node_name|strip_tags|stripslashes|truncate:27:"...":true}</a> {$child.k}k<br />
      {/if}
    {/foreach}
   {get_linked_nodes node_id=1058182 listing_amount=1 offset=5}
    {foreach from=$get_linked_nodes item=child}
      {if $child.node_created > $node.last_visit}
        {if $child.node_id}<br /><span class="important">and more new</span> <a href="/id/21/">forums...</a>{/if}
      {/if}
    {/foreach}



{* NEW BLOGS *}
   {get_nodes_by_parent parent=21 listing_amount=5}
    {foreach from=$get_nodes_by_parent item=child}
      {if $child.node_created > $node.last_visit}
        <br />new <span class="important">BLOG</span> by {$child.login}, ({$child.node_children_count})<br />
        <a href="/id/{$child.node_id}" title="{$child.node_name|strip_tags|stripslashes}">
        {$child.node_name|strip_tags|stripslashes|truncate:27:"...":true}</a> {$child.k}k<br />
      {/if}
    {/foreach}
   {get_nodes_by_parent parent=21 listing_amount=1 offset=5}
    {foreach from=$get_nodes_by_parent item=child}
      {if $child.node_created > $node.last_visit}
        {if $child.node_id}<br /><span class="important">and more new</span> <a href="/id/21">blogs...</a>{/if}
      {/if}
    {/foreach}
    
  </td></tr>
</table>

<table>
  <tr>
    <td>
      <center>

        <form method="post">
          your K nodes for last:
          <input type="text" name="interval" style="width:20px" />
          <input type="submit" value="Hour" />
        </form>
        {get_temp_k}
        {foreach from=$get_temp_k item=k}
            {if $k.node_creator == $user_id}
              <span class="most_important">{$k.count} k</span>
              <a href="/id/{$k.node_id}/">{$k.node_name|stripslashes|truncate:30:"...":true}</a> {$k.k}k
              <br />
            {/if}
        {/foreach}
      </center>
    </td>
  </tr>
</table>
<br />


<table cellspacing="0" cellpadding="0">
  {get_userlist}
  {if $active_friends eq true}
    <div class="active_friends">
      <center><b>friends</b></center>
      {foreach from=$active_friends item=active_friend}
        <tr><td width="100%" valign="top" align="left">
        <a href="/id/{$active_friend.user_id}/" title="{$active_friend.login|strip_tags}">
        <img border="0" alt="{$active_friend.login|escape:'html'}" width="23" style="float:left"
        height="23" src="{get_image_link id=$active_friend.user_id}"></a>&nbsp;[<a
        href="/id/{$active_friend.user_action_id}"
        title="{$active_friend.user_action|escape:'html'}">{$active_friend.user_action|strip_tags:false|truncate:23}</a>]<br>
        &nbsp;{$active_friend.idle_time_minutes}m{$active_friend.idle_time_seconds}s | {$active_friend.login|strip_tags|truncate:10}
        </td></tr>
      {/foreach}
    </div>
  {/if}
  <tr><td>

<br />
{if $user_id != 2095918}
  <div class="active_users">
    <b><center>users on.line</center></b>
    {foreach from=$active_users item=active_user}
      <center><a href="/id/{$active_user.user_id}" title="{$active_user.login|escape:'html'} |
      {$active_user.idle_time_minutes}min
      {$active_user.idle_time_seconds}sec">{$active_user.login|escape:'html'|truncate:23}</a><br></center>
    {/foreach}
  </div></td></tr>
{/if}
</table>




</center>
</td>

<form method='post' action='/id/{$node.node_id}' name="bookmarks_full">
<td valign='top' style='padding-left:23px' width=50%>

<!-- BANNER PLACE START -->
{* banner editovat na /id/1662468 *}{include file="1662468.tpl"}
<!-- BANNER PLACE END -->

{if $bookstyl eq 0}

{get_bookmarks}
{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|stripslashes}</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}
<input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]'
value='{$bookmarks.node_id}'
{if $bookmarks.node_user_subchild_count neq false} class='mark' {/if}
{if $bookmarks.node_user_subchild_count eq false and
    $bookmarks.lastdescendant_created < $bookmarks.last_visit and
    $bookmarks.node_updated < $bookmarks.last_visit} class='empty'
{/if}>
{if $bookmarks.node_name}
<a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name|stripslashes}</a>
{if $bookmarks.node_user_subchild_count neq false}
:: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW Child</span>
{/if}
{if $bookmarks.lastdescendant_created > $bookmarks.last_visit}
:: <span class='important'>descdnt</span>
{/if}
{if $bookmarks.node_updated > $bookmarks.last_visit}
:: <span class='important'>changed</span>
{/if}
{/if}
<br>
{/foreach}

<br>
{/foreach}


{/if}
{if $bookstyl eq 1}

{get_bookmarks}
{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|stripslashes}</a>

{/if}
<br>

{foreach from=$bookmark_category.children item=bookmarks}
{if $bookmarks.lastdescendant_created > $bookmarks.last_visit}
<input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]'
value='{$bookmarks.node_id}' {if $bookmarks.node_user_subchild_count neq false} class='mark' {/if}>
{if $bookmarks.node_name}
<a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name|stripslashes}</a>
{if $bookmarks.node_user_subchild_count neq false}
:: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW Child</span>
{/if}
{if $bookmarks.lastdescendant_created > $bookmarks.last_visit}
:: <span class='important'>descdnt</span>
{/if}
{if $bookmarks.node_updated > $bookmarks.last_visit}
:: <span class='important'>changed</span>
{/if}

{/if}
<br>
{/if}
{/foreach}

<br>
{/foreach}


{/if}
{if $bookstyl eq 2}

{get_bookmarks}
{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|stripslashes}</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_user_subchild_count neq false}
<input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]'
value='{$bookmarks.node_id}' {if $bookmarks.node_user_subchild_count neq false} class='mark' {/if}>
{if $bookmarks.node_name}
<a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name|stripslashes}</a>
{if $bookmarks.node_user_subchild_count neq false}
:: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW Child</span>
{/if}
{if $bookmarks.lastdescendant_created > $bookmarks.last_visit}
:: <span class='important'>descdnt</span>
{/if}
{if $bookmarks.node_updated > $bookmarks.last_visit}
:: <span class='important'>changed</span>
{/if}

{/if}
<br>
{/if}
{/foreach}

<br>
{/foreach}

{/if}

{if $bookstyl eq 3}

{get_bookmarks}
{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|stripslashes}</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_user_subchild_count neq false || $bookmarks.lastdescendant_created > $bookmarks.last_visit}
<input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]'
value='{$bookmarks.node_id}' {if $bookmarks.node_user_subchild_count neq false} class='mark' {/if}>
{if $bookmarks.node_name|stripslashes}
<a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name|stripslashes}</a>
{if $bookmarks.node_user_subchild_count neq false}
:: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW Child</span>
{/if}
{if $bookmarks.lastdescendant_created > $bookmarks.last_visit}
:: <span class='important'>descdnt</span>
{/if}
{if $bookmarks.node_updated > $bookmarks.last_visit}
:: <span class='important'>changed</span>
{/if}

{/if}
<br>
{/if}
{/foreach}

<br>
{/foreach}

{/if}


<br>

<select name="bookmark_category_id">
  {foreach from=$get_bookmarks item=bookmark_category}
    {if $bookmark_category.node_name neq false}
      <option value="{$bookmark_category.node_id}">{$bookmark_category.node_name|stripslashes|truncate:40:"...":true}</option>
    {/if}
  {/foreach}
  <option value="">...no category</option>
</select>
<input type='submit' name='event' value='set_bookmark_category' /><br /><br />
<span class="important">Novú kategóriu</span> si vytvorte cez klasické bookmarky <a href="/id/19">/id/19</a><br /><br />

<input type='submit' name='event' value='unbook_multi' />
<input type='submit' name='event' value='set_as_read' /><br />
<span class="bookcat0"><input type='radio' value='0' name='bookstyl'> all</span>
<span class="bookcat1"><input type='radio' value='1' name='bookstyl'> new descendant</span>
<span class="bookcat2"><input type='radio' value='2' name='bookstyl'> new children</span>
<span class="bookcat3"><input type='radio' value='3' name='bookstyl'> new children & new descendant</span>
<input type='submit' name='event' value='bookstyl' />
</form>

</td></tr></table>
{*footer*}{include file="1549377.tpl"}