improved headlinesList look
This commit is contained in:
parent
f07c0eb4fa
commit
047bae7373
12
backend.php
12
backend.php
|
@ -260,9 +260,15 @@
|
||||||
|
|
||||||
if ($lnum == 0) {
|
if ($lnum == 0) {
|
||||||
print "<tr><td align='center'>No entries found.</td></tr>";
|
print "<tr><td align='center'>No entries found.</td></tr>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
while ($lnum < HEADLINES_PER_PAGE) {
|
||||||
|
++$lnum;
|
||||||
|
print "<tr><td> </td></tr>";
|
||||||
|
}
|
||||||
|
|
||||||
|
// start unholy navbar block
|
||||||
|
|
||||||
print "<tr><td colspan=\"3\" class=\"headlineToolbar\">";
|
print "<tr><td colspan=\"3\" class=\"headlineToolbar\">";
|
||||||
|
|
||||||
$next_skip = $skip + HEADLINES_PER_PAGE;
|
$next_skip = $skip + HEADLINES_PER_PAGE;
|
||||||
|
@ -278,9 +284,6 @@
|
||||||
}
|
}
|
||||||
print " ";
|
print " ";
|
||||||
|
|
||||||
// start unholy navbar block
|
|
||||||
|
|
||||||
|
|
||||||
if ($next_skip < $total_entries) {
|
if ($next_skip < $total_entries) {
|
||||||
print "<a class=\"button\"
|
print "<a class=\"button\"
|
||||||
href=\"javascript:viewfeed($feed, $next_skip);\">Next Page</a>";
|
href=\"javascript:viewfeed($feed, $next_skip);\">Next Page</a>";
|
||||||
|
@ -304,6 +307,7 @@
|
||||||
|
|
||||||
// end unholy navbar block
|
// end unholy navbar block
|
||||||
|
|
||||||
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
$result = pg_query("SELECT id, (SELECT count(id) FROM ttrss_entries
|
$result = pg_query("SELECT id, (SELECT count(id) FROM ttrss_entries
|
||||||
|
|
Loading…
Reference in New Issue