Commit | Line | Data |
---|---|---|
e586807d H |
1 | {get_nodes_by_type type=$type listing_amount=$listing_amount offset=$offset vector=$vector on_main=$on_main} |
2 | ||
3 | {foreach from=$get_nodes_by_type item=child} | |
4 | ||
5 | <table> | |
6 | <tr> | |
7 | {if $child.template_id eq 6 } | |
8 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
9 | <td valign='top' width='100%'> | |
10 | <table width='100%'><tr class='header' valign='top'> | |
11 | <td align='center'> | |
12 | <b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b><br> | |
13 | (written by <a href='/id/{$child.node_creator}'>{$child.login}</a> , viewed {$child.node_views} times, {$child.node_children_count} submissions | |
14 | {if $child.node_user_subchild_count eq true}<span class='most_important'>{$child.node_user_subchild_count} NEW</span>{/if} | |
15 | ) | |
16 | <tr><td>{$child.node_content|truncate:230|stripslashes}</td></tr> | |
17 | ||
18 | {elseif $child.template_id eq 13 } | |
19 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
20 | <td valign='top' width='100%'> | |
21 | <table width='100%'><tr class='header' valign='top'> | |
22 | <td align='center'> | |
23 | <b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b><br> | |
24 | (viewed {$child.node_views} times, {$child.node_children_count} submissions | |
25 | {if $child.node_user_subchild_count eq true}<span class='most_important'>{$child.node_user_subchild_count} NEW</span>{/if} | |
26 | ) | |
27 | <tr><td>{$child.node_content|stripslashes}</td></tr> | |
28 | ||
29 | {elseif $child.template_id eq 5} | |
30 | <td valign='top' rowspan='2'><img hspace='5' src='{get_image_link id=$child.node_id}'> </td> | |
31 | <td valign='top' width='100%'> | |
32 | <table width='100%'><tr class='header' valign='top'> | |
33 | <td> | |
34 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
35 | <br>(pridal <a href='/id/{$child.node_creator}'>{$child.login}</a> {$child.node_created|date_format:"%d.%m.%Y."}) | |
36 | <br> ({$child.node_views} hits, {$child.node_children_count} submissions | |
37 | {if $child.node_user_subchild_count eq true}<span class='most_important'>{$child.node_user_subchild_count} NEW</span>{/if} | |
38 | ) | |
39 | </center> | |
40 | <tr><td>{$child.node_content|truncate:230|stripslashes}</td></tr> | |
41 | ||
42 | {/if} | |
43 | </table> | |
44 | </table> | |
45 | {/foreach} |