require_once("include/setting.php"); ?>
$testo=htmlentities(itsos($news['testo'])); $testo=iconv("Windows-1252", "UTF-8", $testo); if(strlen($testo)>100) $testo=substr($testo,0,100)."..."; echo $testo; ?>
Nessuna notizia presente
} } else { $news=$db->get_row("SELECT * FROM news WHERE idnews = ".$_REQUEST['idnews']); ?>$testo=htmlentities(itsos($news->testo)); $testo=iconv("Windows-1252", "UTF-8", $testo); //if(strlen($testo)>100) // $testo=substr($testo,0,100)."..."; echo $testo; ?>