Commit | Line | Data |
---|---|---|
e586807d H |
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> | |
32 | <tr> | |
33 | <td width='{math equation="(x-y)" x=$child.depth y=$node.vector_depth}%'></td> | |
34 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'></td> | |
35 | <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'> | |
36 | <table width='100%'><tr class="BgTitleContent"> | |
37 | <td> | |
38 | {$child.login} | |
39 | {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"} | |
40 | <tr><td>{$child.node_content|stripslashes}</td></tr> | |
41 | </table> | |
42 | </table> | |
43 | <br> | |
44 | {/foreach} |