get_results("select * from news where (publ_ab = current_date or (publ_ab <= current_date and publ_bis >= current_date)) and publ_stat='1' order by news_datum desc"); if(is_array($news)) { foreach($news as $n) { $datum = $n->news_datum; $titel = $n->titel; $text = $n->beschr; $dat = explode("-", $datum); $datum = $dat[2].'.'.$dat[1].'.'.$dat[0]; echo <<
$datum

$titel

$text

END; } } include("../_includes/footer.inc.php"); ?>