bugfix news links
git-svn-id: svn://svn.cccv.de/engel-system@342 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
fbcbb12341
commit
80c3a857e7
|
@ -60,7 +60,7 @@ Print_Text(5);
|
||||||
|
|
||||||
for ($i=1; $i <= $dis_rows; $i++) {
|
for ($i=1; $i <= $dis_rows; $i++) {
|
||||||
if (!((($i * $DISPLAY_NEWS) - $_GET["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> ";
|
echo "<a href=\"./news.php?news_begin=".(($i*$DISPLAY_NEWS) - $DISPLAY_NEWS - 1)."\">$i</a> ";
|
||||||
} else {
|
} else {
|
||||||
echo "$i ";
|
echo "$i ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue