{TEMPLATE ext_article
    (ITEM[item_title, item_descr, item_descr_full, link_url, link_target, link_jumps_to, link_jumps_from, item_rating_moder, item_image_mime])
}
    {INCLUDE top}
    {INCLUDE menu}

    <br>
    <table width="100%" align="center">
    {IF $CNCAT[item][item_status] == 1}
        <tr><td colspan="2"><h3>{cn_str($CNCAT[item][item_title])}</h3></td></tr>
        <tr><td colspan="2">{cn_str($CNCAT[item][item_descr_full])}</td></tr>
        <tr><td width="300"><strong>{$CNCAT[lang][link_url]}:</strong></td><td>
            {IF $CNCAT[item][link_target] == 1}
                <a target="_blank" href="{cn_str($CNCAT[item][link_url])}"><strong>{cn_str($CNCAT[item][link_url])}</strong></a>
            {ENDIF}
            {IF $CNCAT[item][link_target] == 2}
                <a target="_blank" href="{$CNCAT[abs]}cncat_jump.php?{$CNCAT[item][item_id]}"><strong>{cn_str($CNCAT[item][link_url])}</strong></a>
            {ENDIF}
            {IF $CNCAT[item][link_target] == 3}
                <a target="_blank" href="{cn_str($CNCAT[item][link_url])}" onclick="location.href='{$CNCAT[abs]}cncat_jump.php?{$CNCAT[item][item_id]}'; return false;"><strong>{cn_str($CNCAT[item][link_url])}</strong></a>
            {ENDIF}
        </td></tr>
        <tr><td colspan="2"><strong>{$CNCAT[lang][categories]}:</strong></td></tr>
        <tr><td colspan="2">
            {DISPLAY CATEGORIES}
        </td></tr>
        </tr>
        {DISPLAY FILTERS}
        <tr>
            <td width="300"><strong>{$CNCAT[lang][moder_rating]}:</strong></td>
            <td>
                {IF $CNCAT[item][item_rating_moder]}
                    {cn_str($CNCAT[item][item_rating_moder])}
                {ELSE}
                    {$CNCAT[lang][no_moder_rating]}
                {ENDIF}
            </td>
        </tr>
        <tr><td width="300"><strong>{$CNCAT[lang][jumps_to]}:</strong></td><td class="text">{cn_str($CNCAT[item][link_jumps_to])}</td></tr>
        <tr><td width="300"><strong>{$CNCAT[lang][jumps_from]}:</strong></td><td class="text">{cn_str($CNCAT[item][link_jumps_from])}</td></tr>
    {ELSE}
        <tr><td>{$CNCAT[lang][link_not_approved]}</td></tr>
    {ENDIF}
    </table>

    {INCLUDE bottom}
{/TEMPLATE}

{TEMPLATE ext_cats_top}
<!-- Categories -->
{/TEMPLATE}

{TEMPLATE ext_cat
    (CAT[title_full])
}
            <a href="{cn_str($CNCAT[cat][_url])}">{cn_str($CNCAT[cat][title_full])}</a>
{/TEMPLATE}

{TEMPLATE ext_cat_delim} | {/TEMPLATE}

{TEMPLATE ext_cats_bottom}
<!-- /Categories -->
{/TEMPLATE}

{TEMPLATE ext_filter_top}
        <!-- Filters -->
        <tr><td class="name"><strong>{cn_str($CNCAT[filter][title])}:</strong></td><td class="text">
{/TEMPLATE}

{TEMPLATE ext_filtval}{cn_str($CNCAT[filtval][title])}{/TEMPLATE}

{TEMPLATE ext_filtval_delim}, {/TEMPLATE}

{TEMPLATE ext_filter_bottom}
        </td></tr>
        <!-- /Filters -->
{/TEMPLATE}
