| 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_nodes_by_type orderby='rand()' vector=$vector type=$type listing_amount=$listing_amount offset=$offset} |
| 10 | {foreach from=$get_nodes_by_type item=child} |
| 11 | {if $type eq 11} |
| 12 | in node <a href='/id/{$child.node_id}'>{$child.node_id}</a> |
| 13 | {*get_poll poll=$child*} |
| 14 | {*include file="modules/show_poll.tpl" get_poll=$get_poll*} |
| 15 | <br> |
| 16 | {else} |
| 17 | <a href='/id/{$child.node_id}'>{$child.node_name}</a><br>( {$child.login} :: {$child.node_children_count} submissionz)<br><br> |
| 18 | {/if} |
| 19 | {/foreach} |