| 1 | {include file="modules/header.tpl"} |
| 2 | {get_nodes_by_type vector=$current_vector type=14 listing_amount=232323223 offset=$offset} |
| 3 | <table align='center'> |
| 4 | <tr> |
| 5 | <td colspan='2' align='center'><input type='submit' value='on_main' name='event'><input type='submit' value='off_main' name='event'></td> |
| 6 | </tr> |
| 7 | |
| 8 | {foreach from=$get_nodes_by_type item=article} |
| 9 | <tr><td><a href='/id/{$article.node_id}'>{$article.node_name}</a></td> |
| 10 | <td><input type='checkbox' name='chosen[{$article.node_id}]' {if $article.on_main eq 'yes'} checked{/if}></td></tr> |
| 11 | {/foreach} |
| 12 | |
| 13 | <tr> |
| 14 | <td colspan='2' align='center'><input type='submit' value='on_main' name='event'><input type='submit' value='off_main' name='event'></td> |
| 15 | </tr> |
| 16 | |
| 17 | |
| 18 | </table> |
| 19 | {include file="modules/footer.tpl"} |