{if $arrayArticle}
<div id="CategoryListTop">
    <table cellpadding="5" cellspacing="1" border="0" class="tableContentData tableContentData2" width="100%">
	<tr>
	    <th align="left" width="64"><b>ID</b></th>
	    <th align="left" width="300"><b>Nazwa</b></th>
	    <th width="64" align="center"><b>Publikacja</b></th>
	    <th width="66"><b>Powiąż</b></th>
	</tr>
</div>
<div style="height: 0px; overflow: auto;" id="CategoryList">	
{foreach from=$arrayArticle item=Article key=idArticleLink name=arrayArticle}
{if $Article.checked}
<tr id="mf_article_link_list[{$idArticleLink}]">
    <td width="64"><b>{$idArticleLink}</b></td>
    <td width="300"><b>{$Article.name}</b></td>
    <td width="64" class="center">{$Article.publication}</td>
    <td width="66" class="center" align="center">
    
	<input type="checkbox" {$Article.checked}  name="mf_article_link_link[{$idArticleLink}]" id="mf_article_link_link[{$idArticleLink}]" value="{$idArticleLink}" onclick="javasctipt: LinkArticle({$idArticle}, 'mf_article', 'mf_article', document.getElementById('mf_article_link_link[{$idArticleLink}]').value, document.getElementById('mf_article_link_action[{$idArticleLink}]').value, 'link');" />
	<input type="text" name="mf_article_link_action[{$idArticleLink}]" id="mf_article_link_action[{$idArticleLink}]" {if $Article.checked} value="delete" {else} value="add"{/if} />
    </td>
</tr>
{/if}
{/foreach}										
</table>
</div>
<div id="CategoryListBottom"></div>
{/if}