summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 07:57:51 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 07:57:51 +0100
commit13ad91024c057611f66f6599d4ed0bef5ff939fb (patch)
tree0d6ff3cb2262512c42fafc3fca3384169d74a518 /backend.php
parent78800912937468fc68219b0ae1190edc049282b7 (diff)
more piggies! I demand MORE piggies!!!
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php20
1 files changed, 14 insertions, 6 deletions
diff --git a/backend.php b/backend.php
index fc973edb8..2f88e815e 100644
--- a/backend.php
+++ b/backend.php
@@ -40,6 +40,8 @@
$feed = $line["title"];
$feed_id = $line["id"];
+
+ $subop = $_GET["subop"];
$total = $line["total"];
$unread = $line["unread"];
@@ -53,14 +55,20 @@
print "<tr class=\"$class\" id=\"FEEDR-$feed_id\">";
$icon_file = ICONS_DIR . "/$feed_id.ico";
-
- if (file_exists($icon_file) && filesize($icon_file) > 0) {
- $feed_icon = "<img width=\"16\" height=\"16\"
- src=\"" . ICONS_URL . "/$feed_id.ico\">";
+
+ if ($subop != "piggie") {
+
+ if (file_exists($icon_file) && filesize($icon_file) > 0) {
+ $feed_icon = "<img width=\"16\" height=\"16\"
+ src=\"" . ICONS_URL . "/$feed_id.ico\">";
+ } else {
+ $feed_icon = "&nbsp;";
+ }
} else {
- $feed_icon = "&nbsp;";
+ $feed_icon = "<img width=\"16\" height=\"16\"
+ src=\"http://madoka.spb.ru/stuff/fox/tiny_piggie.png\">";
}
-
+
$feed = "<a href=\"javascript:viewfeed($feed_id, 0);\">$feed</a>";
if (ENABLE_FEED_ICONS) {
print "<td>$feed_icon</td>";