{if $errormsg} {$errormsg} {else} <#Nothing matches your request criteria!#> {/if}

{if $redirect} {$redirect} {else} <#Return to the index#> {/if}