| 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_creation_by_template_id template_id=$node.template_id listing_amount=$listing_amount offset=$offset} |
| 10 | {foreach from=$get_creation_by_template_id item=child} |
| 11 | {if $type eq 11} |
| 12 | {get_poll poll=$child} |
| 13 | {include file="modules/show_poll.tpl" get_poll=$get_poll} |
| 14 | <br> |
| 15 | |
| 16 | {else} |
| 17 | <table width='100%' class='bordered'> |
| 18 | <tr> |
| 19 | {if $type eq 8}<td valign='top' width='50' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_parent}'> </td>{/if} |
| 20 | <td valign='top'> |
| 21 | <table width='100%'><tr class='header' valign='top'> |
| 22 | <td align='center'> |
| 23 | <a href='/id/{$child.node_id}'>{$child.node_name}</a> in <a href='/id/{$child.node_parent}'>{$child.parent_name}</a> |
| 24 | {if $child.user_action neq false} [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>]{/if} |
| 25 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> |
| 26 | <tr><td>{$child.node_content|truncate:230|stripslashes}</td></tr> |
| 27 | </table> |
| 28 | </table> |
| 29 | <br> |
| 30 | {/if} |
| 31 | {/foreach} |