include("includes/header.php");
include("includes/slider.php");
slider_principal('d');
include("includes/redes.php"); ?>
$select_hello=mysqli_query($connection,"SELECT * from nosotros");
$row_hello = mysqli_fetch_object($select_hello); ?>
$select_works=mysqli_query($connection,"SELECT *, (select nombre_archivo from imagenes where categoria='promociones' and id_content=promociones.id limit 1) imagen from promociones order by orden"); ?>
echo $promociones; ?>
while ($row_work = mysqli_fetch_object($select_works)) { $i++; ?>