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