Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / hysteria / modules / get_children_by_type.tpl
CommitLineData
e586807d
H
1<!--
2This program is free software. It comes without any warranty, to
3the extent permitted by applicable law. You can redistribute it
4and/or modify it under the terms of the Do What The Fuck You Want
5To Public License, Version 2, as published by Sam Hocevar. See
6http://sam.zoy.org/wtfpl/COPYING for more details.
7-->
8
9{get_children_by_type type=$type listing_amount=$listing_amount offset=$offset}
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}'>&nbsp;</td>
14<td valign='top' width='100%'>
15<table width='100%'><tr class='header' valign='top'>
16<td>
17{if $child.node_type eq 6 }
18<center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b>
19{elseif $child.node_type eq 5 }
20<center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b>
21{else}
22&nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
23{if $child.user_action neq false}
24&nbsp;[lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>]
25{/if}
26{/if}
27<br>&nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center>
28<tr><td>{$child.node_content|truncate:230|stripslashes}</td></tr>
29</table>
30</table>
31{/foreach}
This page took 0.137295 seconds and 4 git commands to generate.