Commit | Line | Data |
---|---|---|
e586807d H |
1 | {get_children_by_type type=$type listing_amount=$listing_amount offset=$offset orderby=desc} |
2 | {foreach from=$get_children_by_type item=child} | |
3 | <table> | |
4 | <tr> | |
5 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
6 | <td valign='top' width='100%'> | |
7 | <table width='100%'><tr class='header' valign='top'> | |
8 | <td> | |
9 | {if $child.template_id eq 6 } | |
10 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
11 | {elseif $child.template_id eq 5 } | |
12 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
13 | {else} | |
14 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
15 | {if $child.user_action neq false} | |
16 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] | |
17 | {/if} | |
18 | {/if} | |
19 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
20 | <tr><td>{$child.node_content|truncate:230|stripslashes}</td></tr> | |
21 | </table> | |
22 | </table> | |
23 | {/foreach} |