{TEMPLATE article
    (ITEM  [item_id, item_title, item_rating_moder,
            item_favour, item_descr, 
            item_meta_keywords, item_meta_descr,
            item_submit_date,
            item_display_ext,
            link_url, link_target, link_jumps_from, link_jumps_to, link_rating_pr, link_rating_cy,
            ext_text1, ext_text2, ext_text3]    
    )
}
    <tr><td rowspan="3" class="number">
	    <table border="0" cellspacing="0" cellpadding="0">                        	
	    <tr>
		    {IF $CNCAT[item][_favicon_url]}
		    	<td style="padding-right:5px"><div style="border:0;width:16px;height:16px;margin:2px 2px 0 0;background-image:url({cn_str($CNCAT[item][_favicon_url])})"></div></td>
		    {ENDIF}
	        <td style="padding-top:3px">{cn_str($CNCAT[item][_number] + $CNCAT[page][start_item_num])}.</td>
	    </tr>
    	</table>
    </td><td nowrap="nowrap" class="link">
        <a href="{cn_str($CNCAT[item][_ext_url])}" style="color: #859847;"><strong>{cn_str($CNCAT[item][item_title])}</strong></a>

        {IF $CNCAT[item][item_favour] > 0}<img src="{$THEMEURL}images/faviteml.gif" alt="" />{ENDIF}{IF $CNCAT[item][item_favour] > 1}<img src="{$THEMEURL}images/favitemr.gif" alt="" />{ENDIF}
        {IF $CNCAT[item][item_favour] > 2}<img src="{$THEMEURL}images/faviteml.gif" alt="" />{ENDIF}{IF $CNCAT[item][item_favour] > 3}<img src="{$THEMEURL}images/favitemr.gif" alt="" />{ENDIF}
        {IF $CNCAT[item][item_favour] > 4}<img src="{$THEMEURL}images/faviteml.gif" alt="" />{ENDIF}{IF $CNCAT[item][item_favour] > 5}<img src="{$THEMEURL}images/favitemr.gif" alt="" />{ENDIF}
        {IF $CNCAT[item][item_favour] > 6}<img src="{$THEMEURL}images/faviteml.gif" alt="" />{ENDIF}{IF $CNCAT[item][item_favour] > 7}<img src="{$THEMEURL}images/favitemr.gif" alt="" />{ENDIF}
        {IF $CNCAT[item][item_favour] > 8}<img src="{$THEMEURL}images/faviteml.gif" alt="" />{ENDIF}{IF $CNCAT[item][item_favour] > 9}<img src="{$THEMEURL}images/favitemr.gif" alt="" />{ENDIF}
    </td></tr>

    {IF $CNCAT[item][item_descr]}
	    <tr><td colspan="1" class="descr">
	        {cn_str($CNCAT[item][item_descr])} 
	        {IF $CNCAT[item][item_display_ext] == 1}
	            <a href="{cn_str($CNCAT[item][_ext_url])}"><img src="{$THEMEURL}images/extlink.gif" alt="" /></a>
	        {ENDIF}
	    </td></tr>
	{ELSE}
	    <tr><td colspan="1" class="nullheight"></td></tr>
	{ENDIF}

    {IF $CNCAT[item][link_url]}
	    <tr><td colspan="1" class="url">
	        {IF $CNCAT[item][link_target] == 1}
	            <a target="_blank" href="{cn_str($CNCAT[item][link_url])}">{cn_str($CNCAT[item][link_url])}</a>
	        {ENDIF}
	        {IF $CNCAT[item][link_target] == 2}
	            <a target="_blank" href="{$CNCAT[abs]}cncat_jump.php?{$CNCAT[item][item_id]}">{cn_str($CNCAT[item][link_url])}</a>
	        {ENDIF}
	        {IF $CNCAT[item][link_target] == 3}
	            <a href="{$CNCAT[item][link_url]}" onclick="window.open('{$CNCAT[abs]}cncat_jump.php?{$CNCAT[item][item_id]}'); return false;">{cn_str($CNCAT[item][link_url])}</a>
	        {ENDIF}
	        {IF $CNCAT[config][links_broken_notify]}
	            <a href="javascript:baditem('{$CNCAT[item][item_id]}')" title="{$CNCAT[lang][broken_notify]}"><img src="{$THEMEURL}images/badlink.gif" alt="{$CNCAT[lang][broken_notify]}" /></a>
	        {ENDIF}
	    </td></tr>
	{ELSE}
	    <tr><td colspan="1" class="nullheight"></td></tr>
	{ENDIF}
    {IF $CNCAT[item][_control_bar]}
    <tr>
    	<td colspan="1" class="control"></td>
	    <td colspan="2" class="control">
        <a href="{$CNCAT[abs]}{$CNCAT[system][dir_admin]}index.php?act=links&mode=delete&id={$CNCAT[item][item_id]}">{$CNCAT[lang][do_delete]}</a>&nbsp;&bull;&nbsp;
        <a href="{$CNCAT[abs]}{$CNCAT[system][dir_admin]}index.php?act=links&mode=asnew&id={$CNCAT[item][item_id]}">{$CNCAT[lang][do_asnew]}</a>&nbsp;&bull;&nbsp;
        <a href="{$CNCAT[abs]}{$CNCAT[system][dir_admin]}index.php?act=articles_add&mode=forms&edit=1&id={$CNCAT[item][item_id]}">{$CNCAT[lang][do_edit]}</a>&nbsp;&bull;&nbsp;
        <a href="{$CNCAT[abs]}{$CNCAT[system][dir_admin]}index.php?act=check&mode=checkone&id={$CNCAT[item][item_id]}">{$CNCAT[lang][do_check]}</a>&nbsp;&bull;&nbsp;
        {DISPLAY ADMIN_RATING}
    </td></tr>
    {ENDIF}
    <tr><td colspan="2" class="free"></td></tr>
    {IF $CNCAT[banner][items_middle] && $CNCAT[item][_number]==intval($CNCAT[item][_count]/2-1)}
    <tr><td colspan="2">
        <center>{$CNCAT[banner][items_middle]}</center>
    </td></tr>
    {ENDIF}
{/TEMPLATE}

{TEMPLATE newarticles_top}
    <table id="newarticles">
        <tr>
        	<td nowrap="nowrap" class="title">
            	{$CNCAT[lang][new_articles]}
	        </td>
	        <td class="clear"></td>
	    </tr>
        <tr>
        	<td colspan="2" class="items">
	            <table width="100%" border="0">
{/TEMPLATE}

{TEMPLATE newarticle
    (ITEM[item_id, item_title, item_descr, link_url])
}
	            <tr>
	            	<td rowspan="2" class="image" width="10">
	                	<img src="{$THEMEURL}images/newlink.gif" alt="" />
		            </td>
		            <td class="link">
	                	<a href="{$CNCAT[item][_ext_url]}" style="color: #859847;"><strong>{cn_str($CNCAT[item][item_title])}</strong></a>
		            </td>
		        </tr>
	            <tr><td class="descr">{cn_str($CNCAT[item][item_descr])}</td></tr>
{/TEMPLATE}

{TEMPLATE newarticles_bottom}
            	</table>
        	</td>
        </tr>
    </table>
    <br />
{/TEMPLATE}
