<div class="searchOptions bottomPanelBorder" {$srchOpt_attrs}>
	
	<!-- Search panel content -->
	<div class="srchCritTop" style="display: none;">
		Critério:&nbsp;
		<input type="radio" name="srchType" class="runner-radio-button" {$all_checkbox}> {BEGIN all_checkbox_label}Todos{END all_checkbox_label}
		&nbsp;&nbsp;&nbsp;
		<input type="radio" name="srchType" class="runner-radio-button" {$any_checkbox}> {BEGIN any_checkbox_label}Qualquer{END any_checkbox_label}
	</div>
	
	<div class="addOption">
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" id="showHideControlChooseMenu{$id}" class="runner-button" {$showHideCtrls_attrs}>Adicionar campo</a>
		</span>
		&nbsp;&nbsp;&nbsp;
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" id="showHideSearchType{$id}" class="runner-button" {$showHideCtrlsOpt_attrs}>{$showHideOpt_mess}</a>
		</span>
	</div>
	
	<!-- choose controls div -->
	<div class="runner-panel controlChooseMenu" {$controlChooseMenuDiv_attrs}>
		{BEGIN addSearch_id_professor}
			<a href="#" id="addSearchControl_id_professor" class="addSearchControl" {$addSearchControl_id_professor_attrs}>Professor</a><br>
		{END addSearch_id_professor}
		{BEGIN addSearch_materia}
			<a href="#" id="addSearchControl_materia" class="addSearchControl" {$addSearchControl_materia_attrs}>Materia</a><br>
		{END addSearch_materia}
		{BEGIN addSearch_dias_semana}
			<a href="#" id="addSearchControl_dias_semana" class="addSearchControl" {$addSearchControl_dias_semana_attrs}>Dias Semana</a><br>
		{END addSearch_dias_semana}
		{BEGIN addSearch_hora_inicio}
			<a href="#" id="addSearchControl_hora_inicio" class="addSearchControl" {$addSearchControl_hora_inicio_attrs}>Hora Inicio</a><br>
		{END addSearch_hora_inicio}
		{BEGIN addSearch_hora_fim}
			<a href="#" id="addSearchControl_hora_fim" class="addSearchControl" {$addSearchControl_hora_fim_attrs}>Hora Fim</a><br>
		{END addSearch_hora_fim}
		{BEGIN addSearch_data_insert}
			<a href="#" id="addSearchControl_data_insert" class="addSearchControl" {$addSearchControl_data_insert_attrs}>Data Insert</a><br>
		{END addSearch_data_insert}
		{BEGIN addSearch_id_nucleo}
			<a href="#" id="addSearchControl_id_nucleo" class="addSearchControl" {$addSearchControl_id_nucleo_attrs}>Nucleo</a><br>
		{END addSearch_id_nucleo}
	</div>
	
	<table class="controlsBlock">
	{BEGIN searchCtrlBlock}
		<tr class="srchPanelRow" {$filterRow_attrs}>
			<td class="srchPanelCell">{$delCtrlButt}</td>
			<td class="srchPanelCell">{$fLabel}:&nbsp;</td>
			<td class="srchPanelCell srchPanelCell2">
				<div class="runner-searchtype">{$searchtype}</div>
				<div class="runner-searchcontrol">{$searchcontrol}</div>
				<div class="runner-searchcontrol">{$searchcontrol1}</div>
		</tr>
	{END searchCtrlBlock}
	</table>
	
	<div class="bottomSearchButt" align="left" {$bottomSearchButt_attrs}>
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" class="runner-button" {$searchbutton_attrs}>Buscar</a>
		</span>
	</div>
</div>
