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