{include file="$gentemplates/$header_tpl"}
<!-- header -->
<h2>{$lang.user_types.top_header}</h2>
<table width="100%" cellspacing=0>
	{* <tr>
		<td colspan=2 class="text">
			{$form.comment}<br>&nbsp;
		</td>
	</tr> *}
        
	{*if $form.err}
	<tr>
		<td colspan=2 style="padding-{$default_left}:15px;">
			<font class="error_msg">
				*&nbsp;{$form.err}
			</font><br>&nbsp;
		</td>
	</tr>
	{/if*}
        
	<tr>
		<td colspan=2>
			<ul>
			{foreach name=user_type item=item from=$user_types}
			
				<li>
					{if $use_global_seo && $seo.user_types && $item.link}
						<a href="{$site_root}/{$seo.user_types}/{$item.link}">{$item.name}</a>
					{else}
						<a href="{$site_root}/quick_search.php?sel=search&seo=user_types&id_looking_user_type={$item.id}">{$item.name}</a>
					{/if}
					
					{if $item.subvalues|count}
						<ul>
                                                    {foreach name=user_subtype item=item2 from=$item.subvalues}
                                                    <li>
                                                        <a href="{$item2.link}">{$item.name} - {$item2.name}</a>
                                                    </li>
                                                    {/foreach}
						</ul>
					{/if}
				</li>
			{/foreach}
			</ul>
		</td>
	</tr>
</table>
{include file="$gentemplates/$footer_tpl"}