<html>
<head>
<title>Sensores: Búsqueda avanzada de página</title>
</head>
<link REL="stylesheet" href="include/style.css" type="text/css">
{$includes}
<body bgcolor=white {$onload}>
{include_if_exists file="include/header.php"}
<!-- search form -->
<form method="POST" 
action="pf_sensorxcamara_list.php" 
name="editform" {if $noAJAX} onkeydown="OnKeyDown(event);" {/if} >
	<input type="hidden" id="a" name="a" value="advsearch">

{doevent name="SearchOnLoad"}
	
<table CELLPADDING=4 CELLSPACING=1 align='center' width='750' style="BORDER: #cccccc 1px solid;">
<tr valign=center class=blackshade>
<td colspan=5 class=tableheader>

<table width=100% CELLSPACING=0 CELLPADDING=3><tr>
<td width=200 class=tableheader>Sensores</td>
<td align=center class=tableheader>
Búsqueda avanzada</td>
<td width=200 class=tableheader>&nbsp;</td>
</tr></table>

</td></tr>

<tr><td colspan=5 align=center valign=middle class=header2>

<table><tr><td width=200>&nbsp;</td><td align=center width=300>

<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent">
<span class=fieldname>Buscar por: </span>
<input type="radio" name="type" value="and" {$all_checked}>Todas las condiciones
&nbsp;&nbsp;&nbsp;
<input type="radio" name="type" value="or" {$any_checked}>Ninguna condición
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>

</td><td width=200>&nbsp;</td></tr></table>
</td></tr>
<tr valign=center class=blackshade>
<td align=center valign=middle>&nbsp;</td><td width=30 align=center valign=middle class=fieldname>NOT</td>
<td colspan=3 align=center valign=middle>&nbsp; </td></tr>

		
<tr class=shade>
	<td class=fieldname>LecturaDirModulo
	<input type="Hidden" name="asearchfield[]" value="LecturaDirModulo"></td>
	<td align=center><input type=CheckBox name="not_LecturaDirModulo" {$not_LecturaDirModulo}></td>
	
	<td>
	{$searchtype_LecturaDirModulo}
	</td>
	
	<td width=270>{build_edit_control field="LecturaDirModulo" value=$value_LecturaDirModulo mode="search"}</td>

	<td width=270><span id="second_LecturaDirModulo">
	{build_edit_control field="LecturaDirModulo" second=true value=$value1_LecturaDirModulo mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>LecturaDirTipo
	<input type="Hidden" name="asearchfield[]" value="LecturaDirTipo"></td>
	<td align=center><input type=CheckBox name="not_LecturaDirTipo" {$not_LecturaDirTipo}></td>
	
	<td>
	{$searchtype_LecturaDirTipo}
	</td>
	
	<td width=270>{build_edit_control field="LecturaDirTipo" value=$value_LecturaDirTipo mode="search"}</td>

	<td width=270><span id="second_LecturaDirTipo">
	{build_edit_control field="LecturaDirTipo" second=true value=$value1_LecturaDirTipo mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>id_camara
	<input type="Hidden" name="asearchfield[]" value="id_camara"></td>
	<td align=center><input type=CheckBox name="not_id_camara" {$not_id_camara}></td>
	
	<td>
	{$searchtype_id_camara}
	</td>
	
	<td width=270>{build_edit_control field="id_camara" value=$value_id_camara mode="search"}</td>

	<td width=270><span id="second_id_camara">
	{build_edit_control field="id_camara" second=true value=$value1_id_camara mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>id_status
	<input type="Hidden" name="asearchfield[]" value="id_status"></td>
	<td align=center><input type=CheckBox name="not_id_status" {$not_id_status}></td>
	
	<td>
	{$searchtype_id_status}
	</td>
	
	<td width=270>{build_edit_control field="id_status" value=$value_id_status mode="search"}</td>

	<td width=270><span id="second_id_status">
	{build_edit_control field="id_status" second=true value=$value1_id_status mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>Nombre_modulo
	<input type="Hidden" name="asearchfield[]" value="Nombre_modulo"></td>
	<td align=center><input type=CheckBox name="not_Nombre_modulo" {$not_Nombre_modulo}></td>
	
	<td>
	{$searchtype_Nombre_modulo}
	</td>
	
	<td width=270>{build_edit_control field="Nombre_modulo" value=$value_Nombre_modulo mode="search"}</td>

	<td width=270><span id="second_Nombre_modulo">
	{build_edit_control field="Nombre_modulo" second=true value=$value1_Nombre_modulo mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>limite_minimo
	<input type="Hidden" name="asearchfield[]" value="limite_minimo"></td>
	<td align=center><input type=CheckBox name="not_limite_minimo" {$not_limite_minimo}></td>
	
	<td>
	{$searchtype_limite_minimo}
	</td>
	
	<td width=270>{build_edit_control field="limite_minimo" value=$value_limite_minimo mode="search"}</td>

	<td width=270><span id="second_limite_minimo">
	{build_edit_control field="limite_minimo" second=true value=$value1_limite_minimo mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>limite_maximo
	<input type="Hidden" name="asearchfield[]" value="limite_maximo"></td>
	<td align=center><input type=CheckBox name="not_limite_maximo" {$not_limite_maximo}></td>
	
	<td>
	{$searchtype_limite_maximo}
	</td>
	
	<td width=270>{build_edit_control field="limite_maximo" value=$value_limite_maximo mode="search"}</td>

	<td width=270><span id="second_limite_maximo">
	{build_edit_control field="limite_maximo" second=true value=$value1_limite_maximo mode="search"}
	</span></td>
	
	
</tr>

<tr class=blackshade><td colspan=5 align=center>
<input type=button class=button name="SearchButton" value="Buscar"
onClick="javascript:document.forms.editform.submit();">
<input class=button type=button value="Reiniciar" onclick="return ResetControls();">
<input type=button class=button value="Volver a la lista" onClick="javascript: document.forms.editform.a.value='return'; document.forms.editform.submit();">
</td></tr>
</table>

</form>
{include_if_exists file="include/footer.php"}
{$linkdata}

</body>
</html>
