	{if $result.status == "NO_SEARCH"}

		<span class="title">Minimaal aantal karakters</span><br><br>
		Er is niet gezocht op '<b>{$result.original}</b>' omdat de woorden waarop gezocht wordt uit minimaal 2 karakters moeten bestaan.<br><br>

	{elseif $result.status == "NO_RESULT"}

		<span class="title">Geen resultaat</span><br><br>
		Uw zoekopdracht leverde geen resultaat op.<br><br>

	{else}
	
		<span class="title">Zoekresultaat</span><br><br>
		{if $result.status == "OK"}
			{if $result.pages > 0}
				Artikel {$result.resources.start} tot {$result.resources.end} van {$result.resources.total} gevonden documenten.
			{else}
				{$result.resources.total} document{if $result.resources.total != 1}en{/if} gevonden.
			{/if}
			<br><br>
		{/if}
	
	{/if}

	<table width="100%" cellpadding="2" cellspacing="0" style="border-bottom: 1px solid #1306C2;">

		<tr>
			<td width="150" valign="top" style="border-bottom: 1px solid #EBEEF7; padding-top: 5px;">
				<b>Opnieuw zoeken</b>
			</td>
			<td style="border-bottom: 1px solid #EBEEF7;">
				
				<table border="0" cellpadding="0" cellspacing="0">
					<form name="frm_search" method="post" action="/?p=tich0105&s=search">
					<tr>
						<td style="font-size: 1px">
							{ctrl type="txt" name="search" value=$result.search}
						</td>
						<td nowrap>
							&nbsp;&nbsp;<a href="javascript:document.frm_search.submit();">Vind!</a>
						</td>
					</tr>
					<input type="image" src="/htmlcontrols/img/nixel.gif" style="display: none;">
					</form>
				</table>
				
			</td>
		</tr>
	</table>

{if $result.status == "OK"}

	{if $result.pages.total > 1}

		<br>Pagina's&nbsp;
		{section name=idx loop=$result.pages.index}
			{if $result.pages.index[idx] == $result.pages.current}
				<b>{$result.pages.index[idx]}</b>
			{else}
				<a href="/?p=tich0105&s=search&q={$result.search|replace:"+":"PLUS_SIGN"}&os={$result.pages.index[idx]}&sc={$result.top_score}"><b>{$result.pages.index[idx]}</b></a>
			{/if}
			&nbsp;
		{/section}
		
	{/if}

	<table border="0" cellpadding="0" cellspacing="0">
	{section name=row loop=$result.resources.rows}
		<tr>
			<td style="text-align: center; vertical-align: top; padding: 15px 8px 0px 0px;">
				<span style="font-weight: bold; font-size: 10pt;">{$result.resources.rows[row].percentage|string_format:"%d"}%</span><br>
				<img src="/uri/?uri={$result.resources.rows[row].uri}&icon=Y" height="30" style="margin: 5px 0px 2px 0px;"><br>
				{if $result.resources.rows[row].size}{math equation="round(x/1024)" x=$result.resources.rows[row].size}k<br>{/if}
			</td>
			<td style="padding-top: 15px; vertical-align: top;">
				{if $result.resources.rows[row].type=="text/html" || $result.resources.rows[row].type=="text/xml"}
					<a href="/?p=tich0105&uri={$result.resources.rows[row].uri}&xsl={if $category[row].results[row2].URI_XSL_1}{$category[row].results[row2].URI_XSL_1}{else}{$category[row].results[row2].URI_XSL_2}{/if}">
				{else}
					<a href="/uri/?uri={$result.resources.rows[row].uri}" target="_blank">
				{/if}
				<b>{$result.resources.rows[row].title}</b></a><br>
				{$result.resources.rows[row].description}<br>
				<span>
				{if $result.resources.rows[row].creators}Auteurs: {$result.resources.rows[row].creators}<br>{/if}
				{if $result.resources.rows[row].createdate|date_format:"%Y%m%d" != "20031119"}Datum:&nbsp;{$result.resources.rows[row].createdate|date_format:"%d-%m-%Y"}<br>{/if}
				{if $result.resources.rows[row].dossiers}
					Publicaties:&nbsp;
					{section name=row_2 loop=$result.resources.rows[row].dossiers}
						{if $smarty.section.row_2.index!="0"} - {/if}
						<a href="/content/dossiers/{$result.resources.rows[row].dossiers[row_2].dos_id}/">{$result.resources.rows[row].dossiers[row_2].dos_name}</a>
					{/section}
				{/if}	
				</span>
			</td>
		</tr>
	{/section}
	</table>

{/if}
	
