| 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 | {get_children listing_amount='23232323232323' offset=$offset types=$children_types} |
| 10 | {foreach from=$get_children item=child} |
| 11 | {$child.depth} |
| 12 | {if $child.node_type eq 2} |
| 13 | nodeshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: |
| 14 | (<a href='/id/23/{$child.node_thread_vector};{$child.node_id}'>posledne</a>, |
| 15 | <a href='/id/15/{$child.node_thread_vector};{$child.node_id}'>k</a>) |
| 16 | <br> |
| 17 | {elseif $child.node_type eq 3} |
| 18 | forum:: <a href='/id/{$child.node_id}'>{$child.node_name}</a> :: |
| 19 | ({if $child.node_user_subchild_count} <span class='most_important'>{$child.node_user_subchild_count} NEW</span>{/if})<br> |
| 20 | {elseif $child.node_type eq 5} |
| 21 | article:: <a href='/id/{$child.node_id}'>{$child.node_name}</a><br> |
| 22 | |
| 23 | {/if} |
| 24 | {/foreach} |