"; } } ?>
Fecha:
Imprimir
'.utf8_encode($consulta_1['texto']).'
'; }else if($consulta_1['id_sec']==4){ $sql_4="SELECT d.id_mul,d.id_det,d.nombre_foto,d.video_enlace,d.orden,h.carpeta FROM multimedia AS d ,detalle_noticia AS e , secciones AS f , noticias AS g , categoria AS h WHERE e.id_not = g.id_not AND e.id_sec = f.id_sec AND f.tipo = '1' AND e.id_det = '".$consulta_1['id_det']."' AND d.id_det = e.id_det AND g.id_cat = h.id_cat ORDER BY e.orden ASC, d.orden ASC"; $consulta_4=mysql_query($sql_4,$link); echo ''; while ($novedades_4 = mysql_fetch_array($consulta_4)) { echo '
SACO OLIVEROS
'; } echo '
'; }else if($consulta_1['id_sec']==5){ $sql_5="SELECT d.id_mul,d.id_det,d.nombre_foto,d.video_enlace,d.orden,h.carpeta FROM multimedia AS d ,detalle_noticia AS e , secciones AS f , noticias AS g , categoria AS h WHERE e.id_not = g.id_not AND e.id_sec = f.id_sec AND f.tipo = '1' AND e.id_det = '".$consulta_1['id_det']."' AND d.id_det = e.id_det AND g.id_cat = h.id_cat ORDER BY e.orden ASC, d.orden ASC"; $consulta_5=mysql_query($sql_5,$link); echo ''; while ($novedades_5 = mysql_fetch_array($consulta_5)) { echo '
'; } echo '
'; }else if($consulta_1['id_sec']==6){ $sql_6="SELECT a.id_not, b.id_det, c.descripcion, b.texto, b.orden,c.id_sec,b.mini,d.carpeta FROM noticias AS a , detalle_noticia AS b , secciones AS c,categoria as d WHERE a.id_not = b.id_not AND c.id_sec = b.id_sec AND a.id_cat=d.id_cat AND c.tipo = '1' AND a.id_not = '".$consulta_1['id_not']."' ORDER BY a.id_not ASC, b.orden ASC"; $consulta_6=mysql_query($sql_6,$link); echo ''; while ($novedades_6 = mysql_fetch_array($consulta_6)) { echo '
'.utf8_encode($novedades_6['texto']).' SACO OLIVEROS
'; } echo '
'; } } ?>