-
-
-
-
-
-
-
-
-
Aktuelles
<% foreach($_GET as $key => $value) { ${$key} = $value; } $date= date ("Y-m-d"); include("connect_include.php3"); $query = "SELECT * FROM aktuelles WHERE startdatum<='$date' AND '$date'<=enddatum order by startdatum desc"; $result = mysql_query($query,$link); while($row=mysql_fetch_array($result)) { $stamp = $row[time]; $day = substr($stamp, 6, 2); $month = substr($stamp, 4, 2); $year = substr($stamp, 0, 4); $hour = substr($stamp,8,2); $min = substr($stamp,10,2); $sek = substr($stamp,12,2); if (!$var) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } } %>
$row[headline]Datum: $day.$month.$year
$row[intro]
-"; } } $query = "SELECT * FROM aktuelles WHERE ID='$var'"; $detail = mysql_query($query,$link); while($row=mysql_fetch_array($detail)) { $stamp = $row[time]; $day = substr($stamp, 6, 2); $month = substr($stamp, 4, 2); $year = substr($stamp, 0, 4); $hour = substr($stamp,8,2); $min = substr($stamp,10,2); $sek = substr($stamp,12,2); if ($var) { echo "
$row[headline]
$row[intro]
$row[content]
letzte Änderung: $day.$month.$year, $hour:$min Uhr
zurück