From 007bda3585c5ae865b370eae6ee5f4e2d3cc9cf2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Aug 2005 02:17:12 +0100 Subject: initial prefpane work --- backend.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 76445e9c8..3b9ff5421 100644 --- a/backend.php +++ b/backend.php @@ -199,5 +199,35 @@ } + if ($op == "pref-feeds") { + + $result = pg_query("SELECT * FROM ttrss_feeds ORDER by title"); + print "

"; + print " + "; + + $lnum = 0; + + while ($line = pg_fetch_assoc($result)) { + + $class = ($lnum % 2) ? "even" : "odd"; + + print ""; + + print ""; + print ""; + print ""; + print ""; + print ""; + + ++$lnum; + } + + print "
SelectTitleLinkLast Updated
" . $line["title"] . "" . $line["feed_url"] . "" . $line["last_updated"] . "
"; + + } + + pg_close($link); ?> -- cgit v1.2.3-54-g00ecf