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%'> | |
8 | <tr class='header' valign='top'> | |
9 | <td> | |
10 | {if $child.template_id eq 6 || $child.template_id eq 5} | |
11 | <center><a href='/id/{$child.node_id}' class=important>{$child.node_name}</a></center> | |
12 | {else} | |
13 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
14 | {if $child.user_action neq false} | |
15 | [lokacia :: <a href='/{$child.user_action_id}/'>{$child.user_action}</a>] | |
16 | {/if} | |
17 | {/if} | |
18 | <br /><center>{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
19 | </td> | |
20 | </tr> | |
21 | <tr><td>{$child.node_content|truncate:230|stripslashes|nl2br}</td></tr> | |
22 | </table></td></tr> | |
23 | </table> | |
24 | {/foreach} |