<{if $viewType eq 'input'}>
	<{if $certifyUser=='auto'}>
		<{$smarty.const._AD_USER_LANG_LEVEL_ACTIVE}>
	<{else}>
		<{$smarty.const._AD_USER_LANG_LEVEL_PENDING}>
	<{/if}>
	<input type="hidden" name="<{$fieldName}>" value="<{if $certifyUser=='auto'}>1<{else}>0<{/if}>>">
<{elseif $viewType eq 'edit'}>
	<{foreach key=key item=listName from=$list}>
		<{if $key==$value}><{$listName}><{/if}>
	<{/foreach}>
	<input type="hidden" name="<{$fieldName}>" value="<{$value}>">
<{elseif $viewType eq 'detail'}>
	<{foreach key=key item=listName from=$list}>
		<{if $key==$value}><{$listName}><{/if}>
	<{/foreach}>
<{elseif $viewType eq 'search'}>
	<select name="<{$fieldName}>"><option <{if $value===''}>selected<{/if}>> </option>
	<{foreach key=key item=listName from=$list}>
		<option value="<{$key}>" <{if $value!=='' && $key==$value}>selected<{/if}>><{$listName}></option>
	<{/foreach}>
	</select>
<{/if}>
