");
$feed = $_GET['feed'];
$feeds = array();
$p = FoF_Prefs::instance();
$admin_prefs = $p->admin_prefs;
if($feed)
{
$feed = fof_db_get_feed_by_id($feed);
$feeds[] = $feed;
}
else
{
if($fof_user_id == 1)
{
$result = fof_db_get_feeds();
}
else
{
$result = fof_db_get_subscriptions(fof_current_user());
}
while($feed = fof_db_get_row($result))
{
if((time() - $feed["feed_cache_date"]) < ($admin_prefs["manualtimeout"] * 60))
{
$title = $feed['feed_title'];
list($timestamp, ) = fof_nice_time_stamp($feed['feed_cache_date']);
print "$title was just updated $timestamp!
";
}
else
{
$feeds[] = $feed;
}
}
}
$feeds = fof_multi_sort($feeds, 'feed_cache_attempt_date', false);
print("");
include("footer.php");
?>