session_start(); include("noticias/conexion.php"); $sql = "select a.cont_id, b.cont_titulo, b.cont_resumen, date_format(a.cont_fecha,'%d.%m.%Y') as fecha " . "from site_contenidos a inner join site_contenidodet b " . "on a.cont_id = b.cont_id inner join site_subcategorias d on d.subd_id = a.sub_id " . "inner join site_categorias e on e.cate_id = d.cate_id inner join site_subcont f on f.cont_id = a.cont_id where b.idio_id = 1 " . "and a.cont_publicar = 'S' and f.subd_id = 1 order by a.cont_fecha desc limit 0,5"; $domi = mysql_query($sql, $enlace); ?>