From c0e5a40e7307d06eb9926d2645899e9699be54bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Aug 2005 16:15:27 +0100 Subject: MSIE5 compatibility workarounds --- backend.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index cfdc4be9c..cc9b6b492 100644 --- a/backend.php +++ b/backend.php @@ -479,11 +479,14 @@ } } - $result = pg_query("SELECT * FROM ttrss_feeds ORDER by title"); + $result = pg_query("SELECT + id,title,feed_url,substring(last_updated,1,16) as last_updated + FROM + ttrss_feeds ORDER by title"); print "

"; print " - "; + "; $lnum = 0; @@ -495,8 +498,19 @@ print ""; + $icon_file = ICONS_DIR . "/$feed_id.ico"; + + if (file_exists($icon_file) && filesize($icon_file) > 0) { + $feed_icon = ""; + } else { + $feed_icon = " "; + } + print ""; + print ""; + print ""; print "
SelectTitleLinkLast Updated
 SelectTitleLinkLast Updated
$feed_icon" . $line["title"] . "" . -- cgit v1.2.3