/*
News RSS - GuppY PHP Script - version 4.0
CeCILL Copyright (C) 2004-2006 by Laurent Duveau
Made by Laurent Duveau, Nicolas Alves, Albert Aymard,
Jean-Michel Misrachi, Isabelle Marchina and Team
Web site = http://www.freeguppy.org/
e-mail = info@aldweb.com
Version History :
v3.0 (25 February 2004) : initial release
v3.0p1 (26 Feb 2004) : bug fix, if no icons set selected, then do not display news image
v4.0 (06 December 2004) : added page title (by Jean-Mi)
added alt tags to img and removed border tag for non-linked img (by Isa)
*/
header("Pragma: no-cache");
$chemin = "";
include("inc/includes.inc");
if ($serviz[38] != "on") {
exit($web143);
}
$id = strip_tags($id);
ReadDoc($dbbase.$id);
if ($lng == $lang[0]) {
$i = 0;
$rssurl = $fieldb1;
}
else {
$i = 1;
$rssurl = $fieldb2;
}
$txt = $nom[36+$i];
if ($page[9] != "") {
$txt = "
".$txt;
}
$topmess = $txt;
include("inc/hpage.inc");
htable($txt,"100%");
include("inc/lastRSS.inc");
$rss = new lastRSS;
$rss->cache_dir = substr($cacherep,0,strlen($cacherep)-1);
$rss->cache_time = $serviz[39];
if ($rs = $rss->Get($rssurl)) {
?>
echo $rs['description']; ?>
".$txt."".$item['description']."
".$txt."
"; } else { echo "".$web262."
"; } btable(); include("inc/bpage.inc"); ?>