<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}
			<a href="#" id="addSearchControl_id" class="addSearchControl" {$addSearchControl_id_attrs}>Id</a><br>
		{END addSearch_id}
		{BEGIN addSearch_username}
			<a href="#" id="addSearchControl_username" class="addSearchControl" {$addSearchControl_username_attrs}>Username</a><br>
		{END addSearch_username}
		{BEGIN addSearch_nome}
			<a href="#" id="addSearchControl_nome" class="addSearchControl" {$addSearchControl_nome_attrs}>Nome</a><br>
		{END addSearch_nome}
		{BEGIN addSearch_email}
			<a href="#" id="addSearchControl_email" class="addSearchControl" {$addSearchControl_email_attrs}>Email</a><br>
		{END addSearch_email}
		{BEGIN addSearch_telefone}
			<a href="#" id="addSearchControl_telefone" class="addSearchControl" {$addSearchControl_telefone_attrs}>Telefone</a><br>
		{END addSearch_telefone}
		{BEGIN addSearch_celular}
			<a href="#" id="addSearchControl_celular" class="addSearchControl" {$addSearchControl_celular_attrs}>Celular</a><br>
		{END addSearch_celular}
		{BEGIN addSearch_operadora}
			<a href="#" id="addSearchControl_operadora" class="addSearchControl" {$addSearchControl_operadora_attrs}>Operadora</a><br>
		{END addSearch_operadora}
		{BEGIN addSearch_senha}
			<a href="#" id="addSearchControl_senha" class="addSearchControl" {$addSearchControl_senha_attrs}>Senha</a><br>
		{END addSearch_senha}
		{BEGIN addSearch_idnucleo}
			<a href="#" id="addSearchControl_idnucleo" class="addSearchControl" {$addSearchControl_idnucleo_attrs}>Idnucleo</a><br>
		{END addSearch_idnucleo}
		{BEGIN addSearch_idregional}
			<a href="#" id="addSearchControl_idregional" class="addSearchControl" {$addSearchControl_idregional_attrs}>Idregional</a><br>
		{END addSearch_idregional}
		{BEGIN addSearch_idregi}
			<a href="#" id="addSearchControl_idregi" class="addSearchControl" {$addSearchControl_idregi_attrs}>Idregi</a><br>
		{END addSearch_idregi}
		{BEGIN addSearch_id_mdl}
			<a href="#" id="addSearchControl_id_mdl" class="addSearchControl" {$addSearchControl_id_mdl_attrs}>Id Mdl</a><br>
		{END addSearch_id_mdl}
	</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>
