|
|
|
News & Views
= $startnum && $rownum < $endnum) {
//print "$line $rownum ";
list($fnum, $comm) = split(" ", $line, 2);
if ($numofitems == "0") {
$TNFILE_1 = $fileprefix . $fnum . ".jpg";
$COM_1 = $comm;
}
if ($numofitems == "1") {
$TNFILE_2 = $fileprefix . $fnum . ".jpg";
$COM_2 = $comm;
}
if ($numofitems == "2") {
$TNFILE_3 = $fileprefix . $fnum . ".jpg";
$COM_3 = $comm;
}
if ($numofitems == "3") {
$TNFILE_4 = $fileprefix . $fnum . ".jpg";
$COM_4 = $comm;
}
++$numofitems;
}
++$rownum;
}
if ($numofitems < 4) {
$NEXTPG = "next > >";
}
else {
$nextpgnum = $pagenum + 1;
$NEXTPG = "next > >";
}
if ($pagenum == 1) {
$PREVPG = "< < previous";
}
else {
$prevpgnum = $pagenum - 1;
$PREVPG = "< < previous";
}
?>
echo $PREVPG ?> | echo $NEXTPG ?> |
echo $PREVPG ?> | echo $NEXTPG ?> |
|
|