| 1 | {if $template_event eq 'preview'} |
| 2 | <table> |
| 3 | <tr> |
| 4 | <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td> |
| 5 | <td width='100%' valign='top'> |
| 6 | <table width='100%'><tr class='header'> |
| 7 | <td align='center'>PREVIEW |
| 8 | |
| 9 | <tr><td>{$post_vars.node_content|preview}</td></tr> |
| 10 | </table> |
| 11 | </table> |
| 12 | {* end of preview *} |
| 13 | |
| 14 | {elseif $template_event eq 'filter_by'} |
| 15 | {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content} |
| 16 | {elseif $node.node_user_subchild_count eq true} |
| 17 | {get_children children_type=$children_type listing_amount=$node.node_user_subchild_count+5 offset=$offset} |
| 18 | {else} |
| 19 | {get_children children_type=$children_type listing_amount=$listing_amount offset=$offset} |
| 20 | {/if} |
| 21 | |
| 22 | {foreach from=$get_children item=child} |
| 23 | <table class='bordered' cellspacing='0' cellpadding='0'> |
| 24 | <tr> |
| 25 | <td align='center' valign='top' rowspan='2'> |
| 26 | <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'> |
| 27 | {if $child.k eq true}<span class='most_important'>{$child.k} k</span>{/if} |
| 28 | </td> |
| 29 | |
| 30 | <td valign='top' style='width: 100%'> |
| 31 | <table width=100%> |
| 32 | <tr class='header' width=100% valign='top'><td> |
| 33 | <a href='/id/{$child.node_creator}'>{$child.creator}</a> |
| 34 | {if $child.user_action neq false} |
| 35 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] |
| 36 | {/if} |
| 37 | {$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"} |
| 38 | <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'> |
| 39 | <a href='/id/{$child.node_id}'>enter</a> |
| 40 | {if $child.node_created > $node.last_visit}<span class='most_important'> NEW</span>{/if} |
| 41 | {if $child.node_children_count}<span class='most_important'>{$child.node_children_count} CHILDREN</span>{/if} |
| 42 | </td></tr> |
| 43 | <tr><td>{$child.node_content|stripslashes}</td></tr> |
| 44 | </table> |
| 45 | </table> |
| 46 | <br> |
| 47 | {/foreach} |