<select name="hour">
<TMPL_LOOP hour>
	<option value="<TMPL_VAR value>" <TMPL_VAR selected>><TMPL_VAR label></option></TMPL_LOOP>
</select>