fix var init

git-svn-id: svn://svn.cccv.de/engel-system@59 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2005-11-16 00:12:21 +00:00
parent 01b586b92a
commit 87f91a37f4
2 changed files with 4 additions and 3 deletions

View File

@ -71,7 +71,8 @@ else
} }
include ("./inc/header.php"); include ("./inc/header.php");
echo "<h2>". Get_Text($ErrorText). "</h2><br>\n"; if( isset($ErrorText)
echo "<h2>". Get_Text($ErrorText). "</h2><br>\n";
include ("./inc/login_eingabefeld.php"); include ("./inc/login_eingabefeld.php");
include ("./inc/footer.php"); include ("./inc/footer.php");

View File

@ -66,7 +66,7 @@ $dis_rows = round (($rows / $DISPLAY_NEWS)+0.5);
Print_Text(5); Print_Text(5);
for ($i=1; $i <= $dis_rows; $i++) { for ($i=1; $i <= $dis_rows; $i++) {
if (!((($i * $DISPLAY_NEWS) - $news_begin) == $DISPLAY_NEWS)) { if (!((($i * $DISPLAY_NEWS) - $_GET["news_begin"]) == $DISPLAY_NEWS)) {
echo "<a href=\"./news.php?news_begin=".(($i*$DISPLAY_NEWS) - $DISPLAY_NEWS)."\">$i</a>&nbsp; "; echo "<a href=\"./news.php?news_begin=".(($i*$DISPLAY_NEWS) - $DISPLAY_NEWS)."\">$i</a>&nbsp; ";
} else { } else {
echo "$i&nbsp; "; echo "$i&nbsp; ";