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/cabanias.old

<?php 
require_once('../Connections/cnx.php');
require_once('../funcs.php');

$currentPage = $_SERVER["PHP_SELF"];

$maxRows_rsCabanias = 2000;
$pageNum_rsCabanias = 0;
if (isset($_GET['pageNum_rsCabanias'])) {
  $pageNum_rsCabanias = $_GET['pageNum_rsCabanias'];
}
$startRow_rsCabanias = $pageNum_rsCabanias * $maxRows_rsCabanias;


$filtro = "1=1";
if(isset($_GET['regionID']) && $_GET['regionID']!="")
	$filtro .= " AND c.regionID=".$_GET['regionID'];

if(isset($_GET['provinciaID']) && $_GET['provinciaID']!="")
	$filtro .= " AND c.provinciaID=".$_GET['provinciaID'];

if(isset($_GET['localidadID']) && $_GET['localidadID']!="")
	$filtro .= " AND c.localidadID=".$_GET['localidadID'];	

if(isset($_GET['cabania']) && $_GET['cabania']!="")
	$filtro .= " AND c.cabania LIKE '%".$_GET['cabania']."%'";	

if(isset($_GET['letra']) && $_GET['letra']!="")
	$filtro .= " AND c.cabania LIKE '".$_GET['letra']."%'";	


mysql_select_db($database_cnx, $cnx);
$query_rsCabanias       = sprintf("SELECT c.*, r.region, p.provincia FROM (cabanias c LEFT JOIN regiones r ON c.regionID=r.regionID ) LEFT JOIN provincias p ON c.provinciaID=p.provinciaID WHERE %s ORDER BY c.cabania, r.region, p.provincia ASC", $filtro);
$query_limit_rsCabanias = sprintf("%s LIMIT %d, %d", $query_rsCabanias, $startRow_rsCabanias, $maxRows_rsCabanias);
$rsCabanias             = mysql_query($query_limit_rsCabanias, $cnx) or die(mysql_error());
$row_rsCabanias         = mysql_fetch_assoc($rsCabanias);

if (isset($_GET['totalRows_rsCabanias'])) {
  $totalRows_rsCabanias = $_GET['totalRows_rsCabanias'];
} else {
  $all_rsCabanias = mysql_query($query_rsCabanias);
  $totalRows_rsCabanias = mysql_num_rows($all_rsCabanias);
}
$totalPages_rsCabanias = ceil($totalRows_rsCabanias/$maxRows_rsCabanias)-1;

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


mysql_select_db($database_cnx, $cnx);
$query_rsRegiones = "SELECT * FROM regiones ORDER BY regionID ASC";
$rsRegiones = mysql_query($query_rsRegiones, $cnx) or die(mysql_error());
$row_rsRegiones = mysql_fetch_assoc($rsRegiones);
$totalRows_rsRegiones = mysql_num_rows($rsRegiones);

mysql_select_db($database_cnx, $cnx);
$query_rsProvincias = "SELECT * FROM provincias ORDER BY provincia ASC";
$rsProvincias       = mysql_query($query_rsProvincias, $cnx) or die(mysql_error());
$row_rsProvincias   = mysql_fetch_assoc($rsProvincias);
$totalRows_rsProvincias = mysql_num_rows($rsProvincias);


mysql_select_db($database_cnx, $cnx);
$query_rsLocalidades = "SELECT * FROM localidades ORDER BY localidad ASC";
$rsLocalidades       = mysql_query($query_rsLocalidades, $cnx) or die(mysql_error());
$row_rsLocalidades   = mysql_fetch_assoc($rsLocalidades);
$totalRows_rsLocalidades = mysql_num_rows($rsLocalidades);

?>

<!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 AbrirPOP(ruta)
{
	window.open('pop_ver_foto.php?img='+ruta,'','width=450,height=450,scrollbars=auto');
}

function mostrar_div(elem) { 

   var style = elem.style;
   
	if (style.display=='none') { 
		style.display = "block";
	} else { 
		style.display = "none" 
	}
}
</script>
<script language="javascript" type="text/javascript" src="../js/menu_dependiente_ajax.js"></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 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">Caba&ntilde;as</td>
                  <td height="31"><div align="right"><a href="javascript:void(0);" class="linkBlanco" onclick="mostrar_div(TablaBuscador);">[Buscar]</a>&nbsp;&nbsp;<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 align="left"><div><a href="cabanias_alta_form.php" class="Cierre"><strong>Inscriba su caba&ntilde;a aqu&iacute;</strong></a><strong> / </strong><a href="../actualizaciones/index.php" target="_blank" class="linkBasico"><strong>Actualice sus datos aqu&iacute; </strong></a></div></td>
            </tr>
            <tr>
              <td height="20">&nbsp;</td>
            </tr>
            <tr>
              <td><?php /*include("ssi_cabanias_destacadas.php"); */?></td>
            </tr>
            <tr>
              <td>  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
		  	<form id="form1" name="form1" method="get" action="cabanias.php">
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="bordeGrisFondo" id="TablaBuscador" style="display:<? if(isset($_GET['cabania'])){ echo "block";}else{echo"none";}?>">
			   <tr>
			     <td width="20" valign="bottom">&nbsp;</td>
			     <td valign="bottom">&nbsp;</td>
			     <td valign="bottom">&nbsp;</td>
			     <td valign="middle">&nbsp;</td>
			     <td width="20" valign="middle">&nbsp;</td>
			   </tr>
			   <tr>
                  <td width="20" height="20" valign="middle">&nbsp;</td>
                  <td height="20" valign="middle"><span class="tituloMenu"><strong>Buscador - Provincia:</strong></span></td>
                  <td height="20" valign="middle"><span class="tituloMenu"><strong>Caba&ntilde;a</strong></span></td>
                  <td height="20" valign="middle">&nbsp;</td>
                  <td width="20" height="20" valign="middle">&nbsp;</td>
			   </tr>
                <tr>
                  <td width="20" height="0" valign="middle">&nbsp;</td>
                  <td height="0" valign="middle"><div align="left">
                  		<!--
                      <select name="provinciaID" id="provinciaID" onchange="javascript:AJAX('form1', 'provinciaID','localidadID','','/espanol/xml_provincias_a_localidades.php');">
                      -->
                      <select name="provinciaID" id="provinciaID">
                        <option value="">- Todas las Provincias -</option>
                        <? do{ ?>
                        <option value="<?=$row_rsProvincias['provinciaID']?>" <? if(isset($_GET['provinciaID']) && $_GET['provinciaID']==$row_rsProvincias['provinciaID']){echo "SELECTED"; }?>>
                          <?=$row_rsProvincias['provincia']?>
                          </option>
                        <? }while($row_rsProvincias   = mysql_fetch_assoc($rsProvincias));?>
                      </select>
                    </div></td><td height="0" align="left" valign="middle">
				  <!--
				  <select name="localidadID" id="localidadID">
                      <option value="">- Todas las Localidades -</option>
                      <? do{ ?>
                      <option value="<?=$row_rsLocalidades['localidadID']?>" <? if(isset($_GET['localidadID']) && $_GET['localidadID']==$row_rsLocalidades['localidadID']){echo "SELECTED"; }?>>
                      <?=$row_rsLocalidades['localidad']?>
                      </option>
                      <? }while($row_rsLocalidades   = mysql_fetch_assoc($rsLocalidades));?>
                  </select>-->
				  <input name="cabania" type="text" id="cabania" value="<? if(isset($_GET['cabania'])){echo $_GET['cabania']; }?>" /></td>
                  <td height="0" valign="middle">
                    <div align="right">
                      <input name="Submit" type="submit" class="botonBasico" value="Buscar" />
                      &nbsp;
                      <input name="Submit2" type="button" class="botonBasico" value="Limpiar" onclick="javascript:window.location.href='cabanias.php';" />
                      </div></td>
                  <td width="20" height="0" valign="middle">&nbsp;</td>
                </tr>
                <tr>
                  <td width="20" height="0" valign="middle">&nbsp;</td>
                  <td height="0" valign="middle">&nbsp;</td>
                  <td height="0" align="left" valign="middle">&nbsp;</td>
                  <td height="0" valign="middle">&nbsp;</td>
                  <td width="20" height="0" valign="middle">&nbsp;</td>
                </tr>
              </table>
              </form>		  </td>
        </tr>
      </table></td>
            </tr>

            <? if($totalRows_rsCabanias > 0) { ?>
            <tr>
              <td class="fecha"><div align="center"><strong>&nbsp;LISTADO DE CABA&Ntilde;AS REGISTRADAS POR ORDEN ALFAB&Eacute;TICO </strong></div></td>
            </tr>
            <tr>
              <td height="5" valign="top"><div align="center"></div></td>
            </tr>
            <tr>
              <td valign="top" class="bordeGris"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="FondoMarron">
                <tr>
                  <td width="10">&nbsp;</td>
                  <td height="30"><div align="center"><span class="fecha">Filtrar por letra</span>: <a href="cabanias.php?letra=A"  class="linkBasico">A</a> - <a href="cabanias.php?letra=B" class="linkBasico">B</a> - <a href="cabanias.php?letra=C" class="linkBasico">C</a> - <a href="cabanias.php?letra=D" class="linkBasico">D</a> - <a href="cabanias.php?letra=E" class="linkBasico">E</a> - <a href="cabanias.php?letra=F" class="linkBasico">F</a> - <a href="cabanias.php?letra=G" class="linkBasico">G</a> - <a href="cabanias.php?letra=H" class="linkBasico">H</a> - <a href="cabanias.php?letra=I" class="linkBasico">I</a> - <a href="cabanias.php?letra=J" class="linkBasico">J</a> - <a href="cabanias.php?letra=K" class="linkBasico">K</a> - <a href="cabanias.php?letra=L" class="linkBasico">L</a> - <a href="cabanias.php?letra=M" class="linkBasico">M</a> - <a href="cabanias.php?letra=N" class="linkBasico">N</a> - <a href="cabanias.php?letra=&Ntilde;" class="linkBasico">&Ntilde;</a> - <a href="cabanias.php?letra=O" class="linkBasico">O</a> - <a href="cabanias.php?letra=P" class="linkBasico">P</a> - <a href="cabanias.php?letra=Q" class="linkBasico">Q</a> - <a href="cabanias.php?letra=R" class="linkBasico">R</a> - <a href="cabanias.php?letra=S" class="linkBasico">S</a> - <a href="cabanias.php?letra=T" class="linkBasico">T</a> - <a href="cabanias.php?letra=U" class="linkBasico">U</a> -<a href="cabanias.php?letra=V" class="linkBasico">V</a> - <a href="cabanias.php?letra=W" class="linkBasico">W</a> - <a href="cabanias.php?letra=X" class="linkBasico">X</a> - <a href="cabanias.php?letra=Y" class="linkBasico">Y</a> - <a href="cabanias.php?letra=Z" class="linkBasico">Z</a> </div></td>
                  <td width="10">&nbsp;</td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td valign="top"><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="150" valign="top">
                              <div align="left"><a href="javascript:void(0);" onclick="AbrirPOP('<?=mostrarImagen($row_rsCabanias['foto_1'], "../_recursos/cabanias/big/");?>');" ><img src="<?=mostrarImagen($row_rsCabanias['foto_1'], "../_recursos/cabanias/thumb/");?>" hspace="5" vspace="5" border="0"></a></div></td>
                          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="20" class="TituloNoticia"><strong class="tituloNoticia"><?php echo $row_rsCabanias['cabania']; ?></strong></td>
                              </tr>
                              <tr>
                                <td height="20"><span class="TituloNoticia"><?php echo $row_rsCabanias['provincia']; ?></span></td>
                              </tr>
                              <tr>
                                <td height="18">Tel.: <?php echo $row_rsCabanias['telefono']; ?></td>
                              </tr>
							  <tr>
							    <td height="18">E-mail: <a href="mailto:<?php echo $row_rsCabanias['email']; ?>" target="_blank" class="linkBasico"><?php echo $row_rsCabanias['email']; ?></a></td>
							    </tr>
							  <tr>
                                <td height="18">Web: <a href="http://<?php echo $row_rsCabanias['pagina_web']; ?>" target="_blank" class="linkBasico"><?php echo $row_rsCabanias['pagina_web']; ?></a></td>
                              </tr>
							  <tr>
                                <td><div align="right"><a href="cabanias_detalle.php?cabaniaID=<?php echo $row_rsCabanias['cabaniaID']; ?>" class="linkVolver">[ver detalle]</a> </div></td>
                              </tr>
                          </table></td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="20" valign="middle"><div align="center">
                        <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>
                    </div></td>
                  </tr>
                  <?php } while ($row_rsCabanias = mysql_fetch_assoc($rsCabanias)); ?>
                </table>
                  <table width="20%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="23%" align="center"><?php if ($pageNum_rsCabanias > 0) { // Show if not first page ?>
                          <a href="<?php printf("%s?pageNum_rsCabanias=%d%s", $currentPage, 0, $queryString_rsCabanias); ?>"><img src="First.gif" width="12" height="9" border="0" /></a>
                          <?php } // Show if not first page ?>                      </td>
                      <td width="31%" align="center"><?php if ($pageNum_rsCabanias > 0) { // Show if not first page ?>
                          <a href="<?php printf("%s?pageNum_rsCabanias=%d%s", $currentPage, max(0, $pageNum_rsCabanias - 1), $queryString_rsCabanias); ?>"><img src="Previous.gif" width="10" height="9" border="0" /></a>
                          <?php } // Show if not first page ?>                      </td>
                      <td width="23%" align="center"><?php if ($pageNum_rsCabanias < $totalPages_rsCabanias) { // Show if not last page ?>
                          <a href="<?php printf("%s?pageNum_rsCabanias=%d%s", $currentPage, min($totalPages_rsCabanias, $pageNum_rsCabanias + 1), $queryString_rsCabanias); ?>"><img src="Next.gif" width="10" height="9" border="0" /></a>
                          <?php } // Show if not last page ?>                      </td>
                      <td width="23%" align="center"><?php if ($pageNum_rsCabanias < $totalPages_rsCabanias) { // Show if not last page ?>
                          <a href="<?php printf("%s?pageNum_rsCabanias=%d%s", $currentPage, $totalPages_rsCabanias, $queryString_rsCabanias); ?>"><img src="Last.gif" width="12" height="9" border="0" /></a>
                          <?php } // Show if not last page ?>                      </td>
                    </tr>
                </table></td>
              </tr>
            <? }else{ ?>
            <tr>
              <td valign="top"><div align="center">
                  <table width="100%" align="center" cellpadding="10" cellspacing="10" class="bordeGrisFondo">
                    <tr>
                      <td><div align="center"><strong>Lo siento! </strong><br />
                        No hay  registros disponibles. </div></td>
                    </tr>
                  </table>
              </div></td>
              </tr>
            <tr valign="bottom">
              <td height="40"><div align="right"><a href="javascript:history.back();" class="linkVolver">[volver]</a></div></td>
            </tr>
            <? } ?>
          </table>
		  
		    <script language="javascript1.2">
// CARGO LAS OPCIONES EN LOS COMBOS ---------

cargar_combos(0) ;

function cargar_combos(i)
{
	var time = true ;
	
	if( http_request.readyState==undefined )
	{
		var f = document.form1 ;
		
		switch (i)
		{ 
			case 0  :	
						<? if(isset($_GET['regionID']) && $_GET['regionID']!=""){ ?>
							AJAX('form1','regionID','provinciaID','localidadID','/espanol/xml_regiones_a_provincias.php');
						<? } ?>
						i++ ; break ;
						
			case 1  :	
						<? if(isset($_GET['provinciaID']) && $_GET['provinciaID']!=""){ ?>
							f.provinciaID.value = '<?=$_GET['provinciaID']?>' ;
							AJAX('form1', 'provinciaID','localidadID','','/espanol/xml_provincias_a_localidades.php');
						<? } ?>
						i++ ; break ;
						
			case 2  :	
						<? if(isset($_GET['localidadID']) && $_GET['localidadID']!=""){ ?>
							f.localidadID.value = '<?=$_GET['localidadID']?>' ;
						<? } ?>
						i++ ; break ;
												
			default :	time = false ; break ;
	   }
	} 
	
	if( time )
	{ 
		setTimeout("cargar_combos("+i+");",100) ;
	}
}

</script>


        <!-- 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($rsCabanias);
?>

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