<html>
<head>
<title>Usuarios: 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_usuario_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>Usuarios</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>id_usuario
	<input type="Hidden" name="asearchfield[]" value="id_usuario"></td>
	<td align=center><input type=CheckBox name="not_id_usuario" {$not_id_usuario}></td>
	
	<td>
	{$searchtype_id_usuario}
	</td>
	
	<td width=270>{build_edit_control field="id_usuario" value=$value_id_usuario mode="search"}</td>

	<td width=270><span id="second_id_usuario">
	{build_edit_control field="id_usuario" second=true value=$value1_id_usuario mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>nombre_usuario
	<input type="Hidden" name="asearchfield[]" value="nombre_usuario"></td>
	<td align=center><input type=CheckBox name="not_nombre_usuario" {$not_nombre_usuario}></td>
	
	<td>
	{$searchtype_nombre_usuario}
	</td>
	
	<td width=270>{build_edit_control field="nombre_usuario" value=$value_nombre_usuario mode="search"}</td>

	<td width=270><span id="second_nombre_usuario">
	{build_edit_control field="nombre_usuario" second=true value=$value1_nombre_usuario mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>tipo
	<input type="Hidden" name="asearchfield[]" value="tipo"></td>
	<td align=center><input type=CheckBox name="not_tipo" {$not_tipo}></td>
	
	<td>
	{$searchtype_tipo}
	</td>
	
	<td width=270>{build_edit_control field="tipo" value=$value_tipo mode="search"}</td>

	<td width=270><span id="second_tipo">
	{build_edit_control field="tipo" second=true value=$value1_tipo mode="search"}
	</span></td>
	
	
</tr>
		
<tr class=shade>
	<td class=fieldname>clave
	<input type="Hidden" name="asearchfield[]" value="clave"></td>
	<td align=center><input type=CheckBox name="not_clave" {$not_clave}></td>
	
	<td>
	{$searchtype_clave}
	</td>
	
	<td width=270>{build_edit_control field="clave" value=$value_clave mode="search"}</td>

	<td width=270><span id="second_clave">
	{build_edit_control field="clave" second=true value=$value1_clave 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>
