<p class="formstyle {if isset($collapse)}{$collapse}{/if} {if isset($row_no)}row_no{$row_no}{/if}"
    {if isset($hide) && $hide} style="display:none;"{/if}>
    {include file="r/parts/pre_field.tpl"}
    <span class="dialog_make_btn14 smallbtns to_left for_year" title="{$i.filter_prev_year}"></span>
    <select name="{$name}" id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}"
            class="yearselect {if isset($class)}{$class}{/if} {if isset($readonly) && $readonly}ignoredisabled{/if} {if isset($within_filter) && $within_filter}within_filter{/if}"
	    {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}
	    {if isset($readonly) && $readonly}disabled="disabled"{/if}
	    {if isset($filter_extra)}{$filter_extra}{/if}
            {if isset($class) && stripos($class, 'required')!==false}required{/if}
	>
        {for $a=$data.first; $a<=$data.last; $a++}
            <option value="{$a}" {if isset($smarty.post.$name) && $smarty.post.$name eq $a}selected="selected"{elseif isset($default) && $default eq $a}selected="selected"{/if}
                title="{$a}" >{$a}&nbsp;</option>
        {/for}
    </select>
    <span class="dialog_make_btn14 smallbtns to_right for_year" title="{$i.filter_next_year}"></span>
    {include file="r/parts/past_field.tpl"}
</p>