= strlen($texto) + strlen($arrayTexto[$contador])){ $texto .= ' '.$arrayTexto[$contador]; $contador++; } if ((strlen (substr(strrchr ($texto,"<"),0))) < (strlen(substr(strrchr ($texto,">"),0)))){ $posicion=strlen($texto)-(strlen (substr(strrchr ($texto,"<"),0))); $texto=substr($texto,0,$posicion); } echo $texto; $p=substr_count($texto,"
"); $fp=substr_count($texto,"
"); $s=substr_count($texto,""); $st=$s-$fs; for ($i=0;$i<$st;$i++) echo ""; if ($p>$fp) echo ""; } ?>|
NumeroNoticias()!=0)
{
$resul = $not->MostrarUltimas(1);
foreach ($resul as $lista) {
$tit=$lista['titulo'];
$tit=strip_tags($tit);
$titulo=str_replace(" ","_",$tit);
$tit = strtoupper($tit);
?>
Otras noticias
NumeroNoticias()!=0) { $resultados = $not->MostrarLimitNoticias(1,3); foreach ($resultados as $lista) { $tit=$lista['titulo']; $tit=strip_tags($tit); $titulo=str_replace(" ","_",$tit); $tit = strtoupper($tit); echo $lista['titulo']." - ".$lista['fecha']; ?> [leer más] |