<!-- obsah child prispevku||nody  -->
<div class='node_content'>
  <div class='node_header'>
    {*AVATAR put.Ty hack na *}
    {if $get_threaded_children_structured[child].synapse_creator neq ''}
    <img
    src='{get_image_link id=$get_threaded_children_structured[child].synapse_creator}'
    alt='Synapse creator'
    class='node_avatar'
    />
    {else}
    <img
    src='{get_image_link id=$get_threaded_children_structured[child].node_creator}'
    alt='{$get_threaded_children_structured[child].login}'
    class='node_avatar'
    onclick="km();sm('{$get_threaded_children_structured[child].login|escape:"html"}','{$get_threaded_children_structured[child].node_creator}','{$node.node_id}')"
    />
    {/if}
    {*AVATAR end of put.Ty hack *}
      
    <a href='/id/{$get_threaded_children_structured[child].node_creator}' class='node_login'>
    {$get_threaded_children_structured[child].login}
    </a>
  
    <input type='checkbox' value='{$get_threaded_children_structured[child].node_id}' name='node_chosen[]' class='node_chosen' />
      
    <span class='node_header_created'>
    {$get_threaded_children_structured[child].node_created|date_format:"%d.%m.%Y - %H:%M:%S"}
    </span>
    
    {if $get_threaded_children_structured[child].node_updated} 
    <span class='node_header_modified'>
      (modif: {$get_threaded_children_structured[child].node_updated|date_format:"%d.%m.%Y - %H:%M:%S"})
    </span>
    {/if}
    
    <span class='node_header_level'>
       level: {$get_threaded_children_structured[child].child_depth}
    </span>
    <a href='/id/{$get_threaded_children_structured[child].node_parent}' class='childVector' title='Link na parenta, {$get_threaded_children_structured[child].node_parent}' alt='Link na parenta, {$get_threaded_children_structured[child].node_parent}'>UP</a> 
     
    {if $get_threaded_children_structured[child].k > 0}
    [<span class='node_header_k'>{$get_threaded_children_structured[child].k}K</span>]
    {/if}
    
    {if $get_threaded_children_structured[child].node_created > $node.last_visit and !$get_threaded_children_structured[child].orphan}
    <span class='node_header_new'>New</span>
    
    {elseif $get_threaded_children_structured[child].node_created > $node.last_visit}
    <span class='node_header_sirotka'>Sirôtka</span>
    {/if}
    
    {if $get_threaded_children_structured[child].node_status eq 'linked'}
    <span class='node_header_hardlink'>Hardlink</span>
    {/if}
    
    {if $get_threaded_children_structured[child].node_updated > $node.last_visit}
    <span class='node_header_changed'>Content changed</span>
    {/if}
    
    {if $bookmarks.last_visit eq true and $get_threaded_children_structured[child].lastdescendant_created > $bookmarks.last_visit}
    <span class='node_header_descendent'>New descendant</span>
    {/if}
    
    <div class='node_header_title'>  
      {if $get_threaded_children_structured[child].node_name eq ''}
      <a href='/id/{$get_threaded_children_structured[child].node_id}' class='node_header_title_nodename'>
      Enter node: {$get_threaded_children_structured[child].node_id}
      </a>
      {else}
      <a href='/id/{$get_threaded_children_structured[child].node_id}' class='node_header_title_nodename'>
      {$get_threaded_children_structured[child].node_name|stripslashes|strip_tags}
      </a>
      {/if}
      
      {if $get_threaded_children_structured[child].node_creator eq $user_id || $get_threaded_children_structured[child].node_permission eq 'master'}
      <span class='node_header_title_conf'><a href='/id/{$get_threaded_children_structured[child].node_id}/1961033'>conf</a></span>{/if}
    </div>
    
  </div>
    
  <div class='node_body'>
    {if $permissions.r}
      {if $get_threaded_children_structured[child].nl2br == 1}
        {$get_threaded_children_structured[child].node_content|stripslashes|nl2br|replaceLocalURLs}
      {else}
        {$get_threaded_children_structured[child].node_content|stripslashes|replaceLocalURLs}
      {/if}
    {else}you don't have permissions for viewing this data node{/if}        
   </div>   
</div>