News
Click here to return to ADOM Central.


\n"; } else { $row = db_get_result_row($rid); echo "\n" . "\n" . "\n" . "\n" . "\n" . "
" . $row["titel"] . " (" . $row["datum"] . ", " . $row["zeit"] . ")
" . $row["text"] . "

"; } echo "Click here to return to the index.

\n"; } elseif ($total_lines == 0) { echo "Currently no news at all are available.
\n"; } else { // Sets the index appropriately. if ($index == "" || $index < 0) $index = 0; elseif ($index >= $total_lines) { $index = $total_lines - 20; if ($index < 0) $index = 0; } // Retrieves all news ever provided. $rid = db_execute_query("adom", $dblink, "SELECT ident, titel, DATE_FORMAT(datum, \"m/d/Y\") AS datum, " . "TIME_FORMAT(zeit, \"H:i\") AS zeit FROM info ORDER BY ident DESC LIMIT $index, 20"); $lines = db_get_result_row_count($rid); echo "

"; if ($index > 0 || $index < $total_lines - 20) { echo "\n"; } else echo ""; if ($index < $total_lines - 20) { $next = $index + 20; if ($next >= $total_lines) $next = $total_lines - 1; echo ""; } else echo ""; echo "
"; if ($index > 0) { $previous = $index - 20; if ($previous < 0) $previous = 0; echo "Previous page...Next page...
"; } } ?>

| Last Modified: | Suggestions? EMail me.