From what I can tell it has nothing to do with your code Kube. I got a similar message when I tried this and I think it's just that the initial code provided has one too many "{else}" statements. I think this should work for you Tami:
Code:
{*Horizontal Navigation Bar*}
<td class="HeadLine" height="45" align="center">
{if $config.General.root_categories eq "Y"}
<span class="catnav">
{foreach from=$categories item=c name=thisloop}
<a href="home.php?cat={$c.categoryid}"{if $smarty.foreach.thisloop.last} class="navlastitem"{/if}>{$c.category}</a>
{/foreach}
</span>
{/if}
{if ($usertype eq "C" || $usertype eq "B") && $all_languages_cnt gt 1}
<form action="home.php" method="get" name="sl_form">
<input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|amp}" />
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px;"><b>{$lng.lbl_select_language}:</b></td>
<td><select name="sl" onchange="javascript: this.form.submit();">
{section name=ai loop=$all_languages}
<option value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected="selected"{/if}>{$all_languages[ai].language}</option>
{/section}
</select></td>
</tr>
</table>
</form>
{else}
{/if}
</td>
</tr>