Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('../Connections/cnx.php');
require_once('../funcs.php');
mysql_select_db($database_cnx, $cnx);
$queryNoticias = "SELECT * FROM noticias";
$queryNoticias.= " WHERE habilitado='1'";
$queryNoticias.= " AND rubroID = '1'";
$queryNoticias.= " AND posicion != '0'";
$queryNoticias.= " ORDER BY noticiasID DESC LIMIT 10";
$sqlNoticias = mysql_query($queryNoticias, $cnx) or die(mysql_error());
$CountRowsNoticias = mysql_num_rows($sqlNoticias);
header('Content-type: text/xml');
print '<?xml version="1.0" encoding="utf-8"?>';
print '<Request>';
print '<Response>';
if ($CountRowsNoticias > 0)
{
while ($oNoticia = mysql_fetch_array($sqlNoticias))
{
$imagen = "big/" . $oNoticia['foto'];
$urlImagen = "../_recursos/noticias/" . $imagen;
$urlDetalle = "noticias_detalle.php?noticiasID=" . $oNoticia['noticiasID'];
echo "<Row>";
echo " <Titulo><![CDATA[" . utf8_encode(strip_tags($oNoticia['titulo_1'])) . "]]></Titulo>";
echo " <Imagen>" . $oNoticia['foto'] . "</Imagen>";
echo " <UrlDetalle>" . $urlDetalle . "</UrlDetalle>";
echo "</Row>";
}
}
print '</Response>';
print '</Request>';
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat