Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once("../funcs_email.php");
require_once("../config.php");
require_once('../Connections/cnx.php');
require_once("../funcs.php");
mysql_select_db($database_cnx, $cnx);
$DocumentoNumero = (isset($_REQUEST['DocumentoNumero'])) ? strval($_REQUEST['DocumentoNumero']) : '';
$Nombre = (isset($_REQUEST['Nombre'])) ? strval($_REQUEST['Nombre']) : '';
$Apellido = (isset($_REQUEST['Apellido'])) ? strval($_REQUEST['Apellido']) : '';
$IdEvento = intval($_REQUEST['IdEvento']);
$Submit = (isset($_REQUEST['Submitted'])) ? $_REQUEST['Submitted'] : 0;
$Action = (isset($_REQUEST['MainAction'])) ? $_REQUEST['MainAction'] : '';
if ($Submit)
{
switch ($Action)
{
case 'Buscar':
$querySelect = "SELECT p.*";
$querySelect.= " FROM tblJinetes p";
$querySelect.= " WHERE Disponible = 1";
if ($DocumentoNumero && $DocumentoNumero != '')
$querySelect.= " AND p.DocumentoNumero LIKE '%" . addslashes(trim($DocumentoNumero)) . "%' ";
if ($Nombre && $Nombre != '')
$querySelect.= " AND p.Nombre LIKE '%" . addslashes(trim($Nombre)) . "%' ";
if ($Apellido && $Apellido != '')
$querySelect.= " AND p.Apellido LIKE '%" . addslashes(trim($Apellido)) . "%' ";
$querySelect.= " ORDER BY p.Nombre ASC";
$sqlSelect = mysql_query($querySelect) or die(mysql_error());
break;
default:
break;
}
}
?>
<div align="center"></div>
<table width="599" border="0" align="center" cellpadding="0" cellspacing="0" class="FondoBlanco">
<tr>
<td width="20" valign="top"> </td>
<td width="559" height="5" valign="top"><div align="center"></div></td>
<td width="20" valign="top"> </td>
</tr>
<tr>
<td width="20" valign="top"> </td>
<td width="559" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><!-- InstanceBeginEditable name="Contenido" -->
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table align="center" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td height="25" background="images/accc_fondo_botonera.png" colspan="3">
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td width="10" height="31"> </td>
<td height="31" class="TituloPrincipal">BUSCAR JINETE</td>
<td height="31"><div align="right"> </div></td>
<td width="10" height="31" class="TituloPrincipal"><div align="right"></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15"> </td>
<td>
<table align="center" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<form method="post" name="frmData" id="frmData" action="buscar_jinete_resultado.php" enctype="application/x-www-form-urlencoded" class="Estilo3">
<input type="hidden" name="MainAction" id="MainAction" value="Buscar" />
<input type="hidden" name="IdEvento" id="IdEvento" value="<?= $IdEvento ?>" />
<input type="hidden" name="Submitted" id="Submitted" value="1" />
<table width="100%" border="0" class="bordeGris">
<tr>
<td height="20" colspan="3" align="left" class="tituloCategoriaMenu bordeGrisFondo" ><strong>Por favor, ingrese el número de documento del jinete para realizar la busqueda.</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width="20"> </td>
<td><div align="left"><span class="Estilo6">CUIT/CUIL</span>:
</td>
<td>
<input type="text" name="DocumentoNumero" id="DocumentoNumero" value="<?=($DocumentoNumero != '') ? $DocumentoNumero : 'Ingrese el documento del jinete que desea buscar.'?>" onfocus="javascript: BorrarCampoBuscar();" class="camposFormularioSimpleSinWidth" size="60" onkeydown="validate(this);" onkeyup="validate(this);" /> </div></td>
</tr>
<tr>
<td width="20"> </td>
<td><div align="left"><span class="Estilo6">Nombre</span>: </td>
<td>
<input type="text" name="Nombre" id="Nombre" value="<?=($Nombre != '') ? $Nombre : ''?>" onfocus="javascript: BorrarCampoBuscar();" class="camposFormularioSimpleSinWidth" size="60" onkeydown="validate(this);" onkeyup="validate(this);" /> </div></td>
</tr>
<tr>
<td width="20"> </td>
<td><div align="left"><span class="Estilo6">Apellido</span>: </td>
<td>
<input type="text" name="Apellido" id="Apellido" value="<?=($Apellido != '') ? $Apellido : ''?>" onfocus="javascript: BorrarCampoBuscar();" class="camposFormularioSimpleSinWidth" size="60" onkeydown="validate(this);" onkeyup="validate(this);" /> </div></td>
</tr>
<tr>
<td width="20"> </td>
<td> </td>
<td><div style="float: right; margin-right: 56px">
<input type="submit" class="botonBasicoSinWidth" value="Buscar" /></div></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr id="DivSocios">
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</form> </td>
</tr>
</table>
</td>
<td width="15"> </td>
</tr>
<tr>
<td width="15"> </td>
<td> </td>
<td width="15"> </td>
</tr>
</table>
</td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
</table></td>
<td width="20" valign="top"> </td>
</tr>
<tr>
<td valign="top"> </td>
<td valign="top"> </td>
<td valign="top"> </td>
</tr>
</table>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat