{*
  Output of search results/browselist
  $Id: list.tpl,v 1.00 2006/10/24 22:00:00
*}

{if $categorieslistcolumns == 1}
    {assign var=IMGWIDTH value="75"}
    {assign var=IMGHEIGHT value="75"}
    {assign var=ROWSPAN value="2"}
{else}
    {assign var=IMGWIDTH value="150"}
    {assign var=IMGHEIGHT value="150"}
    {assign var=ROWSPAN value="3"}
{/if}


<div id="docpart_list_target">

<div id="docpart_list_target_loading">
Loading...
</div>

<div id="content">
<table id="tableshow" width="100%" style="top:0px" border="0" cellpadding="0" cellspacing="0">
        

{counter start=0 print=false name=categoriecount}
{foreach item=categorie from=$list}
{cycle values="listeven,listodd" assign=CLASS print=false}

	<tr>
	    <td id="{if !$categorie.parent}theme{else}title-cat1{/if}" align="left">

		<a href="show_categories.php?id={$categorie.id}"><b>{$categorie.shortname}</b></a>
		{if $categorie.competitions}
		<br>
		{foreach item=competition from=$categorie.competitions}
		<a title="{$competition.longname}" href="show_competitions.php?id={$competition.id}">
		{$countrylng[$competition.country]}
		</a> -
		{/foreach}
		{/if}
		</td>
	</tr>
{/foreach}
</table>
{php}flush();{/php}


</div>
<!-- /content -->

</div>