{get_userspecified_submissions whom="friends"}

{foreach from=$get_userspecified_submissions item=child}
    <table class="bordered" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center" valign="top" rowspan="2">
    	<img vspace="5" hspace="5" width="50" src="{get_image_link id=$child.node_creator}">
    	{if $child.k eq true}<span class="most_important">{$child.k} k</span>{/if}
    </td>

    <td valign="top" style="width: 100%">
    	<table width=100%>
    		<tr class="header" width="100%" valign="top"><td>
    		&nbsp;<a href="/id/{$child.node_creator}">{$child.creator}</a>
    		{if $child.user_action neq false}
    			&nbsp;[lokacia :: <a href="/{$child.user_action}/">{$child.user_action}</a>]
    		{/if}
    		&nbsp;&nbsp;{$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"}&nbsp;
    		&nbsp;&nbsp;<input type="checkbox" value="{$child.node_id}" name="node_chosen[]">
    		&nbsp;&nbsp;<a href="/id/{$child.node_id}">{$child.node_name}</a>&nbsp;&nbsp;
    		{if $child.k > 0} [<span class="most_important">{$child.k}K</span>] {/if}
    		{if $child.node_created > $node.last_visit}<span class="most_important">&nbsp;&nbsp;NEW</span>{/if}
    		{if $child.node_children_count}<span class="most_important">{$child.node_children_count}&nbsp;&nbsp;CHILDREN</span>{/if}
    		</td></tr>
    		<tr><td>{$child.node_content|stripslashes}</td></tr>
    	</table>
    </table>
    <br>
{/foreach}
