$query = "select * from stock_noticias WHERE id='".$_GET[id]."'";
$stmd = mysqli_query($db,$query);
$n = mysqli_fetch_array($stmd);
$fecha = $stock->fechas_inverza($n[date]);
$sql_imagen = "select id, thumb, image, larga from stock_imagenes_noticias WHERE id_noticia='".$n[id]."' ORDER BY id DESC";
$stme = mysqli_query($db,$sql_imagen);
$e = mysqli_fetch_array($stme);
$day=substr($n[date],8,2);
$month=substr($n[date],5,2);
$fechas = $stock->fechas_inverza($n[date]);
$fecha = DateTime::createFromFormat('!m', $month);
$mes = strftime("%h", $fecha->getTimestamp());
?>
Publicado
Ultimas Noticias
$query = "select * from stock_noticias WHERE sitio='F' order by date desc LIMIT 4";
$stmd = mysqli_query($db,$query);
while($n = mysqli_fetch_array($stmd)){
$fecha = $stock->fechas_inverza($n[date]);
$sql_imagen = "select id, thumb, image, larga from stock_imagenes_noticias WHERE id_noticia='".$n[id]."' ORDER BY id DESC";
$stme = mysqli_query($db,$sql_imagen);
$e = mysqli_fetch_array($stme);
?>
Publicado 14/12/2025
} ?>
include("carrito_simple.php"); ?>
// Popup Producto en Oferta - Nuevos - Varios
include("detalle_nuevo.php");
include("detalle_oferta.php");
include("detalle_varios.php");
//fin ?>