<{if count($categories) gt 0}>
<{foreach item=category from=$categories}>
<{$category.title}> <{if $category.image != ""}> <{/if}>
<{if $category.description_main != ""}>
<{else}>
<{/if}>

#### <{$category.title}>

<{$category.description_main}>
<{if $category.subcategories != ""}> <{$smarty.const._MD_TDMDOWNLOADS_INDEX_SCAT}>

<{$category.subcategories}>

<{/if}>
<{/foreach}>
<{if $bl_affichage==1}>

## <{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLNAME}>:

<{if $bl_date != ""}>

### <{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLDATE}>

<{foreach item=bl_date from=$bl_date}>
- <{$bl_date.title}> (<{$bl_date.date}>)
<{/foreach}>

<{/if}> <{if $bl_pop != ""}>

### <{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLPOP}>

<{foreach item=bl_pop from=$bl_pop}>
- <{$bl_pop.title}> (<{$bl_pop.hits}>)
<{/foreach}>

<{/if}> <{if $bl_rating != ""}>

### <{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLRATING}>

<{foreach item=bl_rating from=$bl_rating}>
- <{$bl_rating.title}> (<{$bl_rating.rating}>)
<{/foreach}>

<{/if}> <{/if}>

#### <{$lang_thereare}>

<{/if}>
<{if $show_latest_files}>
<{if $file != ""}>

# <{$smarty.const._MD_TDMDOWNLOADS_INDEX_LATESTLIST}>:

<{section name=i loop=$file}> <{include file="db:tdmdownloads_download.html" down=$file[i]}> <{/section}> <{/if}>
<{/if}>
<{include file="db:system_notification_select.html"}>