{include file="modules/header.tpl"}
{get_nodes_by_type vector=$current_vector type=14 listing_amount=232323223 offset=$offset}
<table align='center'>
<tr>
<td colspan='2' align='center'><input type='submit' value='on_main' name='event'><input type='submit' value='off_main' name='event'></td>
</tr>

{foreach from=$get_nodes_by_type item=article}
<tr><td><a href='/id/{$article.node_id}'>{$article.node_name}</a></td>
<td><input type='checkbox' name='chosen[{$article.node_id}]' {if $article.on_main eq 'yes'} checked{/if}></td></tr>
{/foreach}

<tr>
<td colspan='2' align='center'><input type='submit' value='on_main' name='event'><input type='submit' value='off_main' name='event'></td>
</tr>


</table>
{include file="modules/footer.tpl"}