| 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 | {if $template_event eq 'preview'} |
| 10 | <table> |
| 11 | <tr> |
| 12 | <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td> |
| 13 | <td width='100%' valign='top'> |
| 14 | <table width='100%'><tr class='header'> |
| 15 | <td align='center'>PREVIEW |
| 16 | |
| 17 | <tr><td>{$post_vars.node_content|preview}</td></tr> |
| 18 | </table> |
| 19 | </table> |
| 20 | {* end of preview *} |
| 21 | |
| 22 | {elseif $template_event eq 'filter_by'} |
| 23 | {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content} |
| 24 | {elseif $node.node_user_subchild_count eq true} |
| 25 | {get_threaded_children listing_amount=$node.node_user_subchild_count time=$node.last_visit offset=$offset types=$children_types} |
| 26 | {else} |
| 27 | {get_threaded_children listing_amount=$listing_amount offset=$offset types=$children_types} |
| 28 | {/if} |
| 29 | |
| 30 | {foreach from=$get_threaded_children item=child} |
| 31 | <table width=100%> |
| 32 | <tr> |
| 33 | <td width='{math equation="(x-y)" x=$child.depth y=$node.vector_depth}%'></td> |
| 34 | |
| 35 | <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'> |
| 36 | <table class='bordered' width='100%'><tr class='header'> |
| 37 | <td> |
| 38 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 39 | {if $child.user_action neq false} |
| 40 | [lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>] |
| 41 | {/if} |
| 42 | <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'> |
| 43 | {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"} |
| 44 | {if $child.node_name eq ''} |
| 45 | <div align='center'><a href='/id/{$child.node_id}'>enter node {$child.node_id}</a></div> |
| 46 | {else} |
| 47 | <div align='center'><a href='/id/{$child.node_id}'>enter node <b>{$child.node_name}</b></a></div> |
| 48 | {/if} |
| 49 | <tr><td>{$child.node_content|stripslashes|imagestrip|nl2br}</td></tr> |
| 50 | </table> |
| 51 | </table> |
| 52 | <br> |
| 53 | {/foreach} |