include("../common/functions.php"); DBConnect(); ?>
if ($aktTyp == "Pressemitteilungen") { ?>
} ?> if ($aktTyp == "Presseveröffentlichungen") { ?>
} ?>
echo $aktTyp ?>
$query = @mysql_query("SELECT id, typ, timestamp, headline, body FROM praevikus_presse ORDER BY timestamp DESC"); while ($subquery = @mysql_fetch_array($query)) { $id = $subquery['id']; $typ = $subquery['typ']; $datum = date("d.m.Y",$subquery['timestamp']); $zeit = date("H:i",$subquery['timestamp']); $headline = $subquery['headline']; $body = $subquery['body']; $cutbody = substr($body,0,300); $cutpos = strrpos($cutbody, " "); $body = substr($cutbody,0,$cutpos).' ...'; if ($typ == $aktTyp) { ?>
echo $headline ?>
echo $datum ?> | echo $zeit ?> Uhr
echo $body ?>
} ?> } ?>
top