","?>",$cachecontent);
$fp = fopen($cachefile,"w");
fwrite($fp,$cachecontent);
fclose($fp);
//echo "wrote";
}
if (file_exists($cachefile))
{
echo "\n\n\n\n";
include $cachefile;
echo "\n\n\n";
}
else
{
// $NbMaxNews = 1;
// $FileNews = "modules/news/edito";
// $footerbox = 0;
// include "modules/affnews.php";
unset($newsnb);
unset($titleonly);
unset($FileNews);
unset($start);
// $NbMaxNews = 3;
$FileNews = "modules/news/news";
$footerbox = 0;
//$NbMaxNews=3;
include "modules/affnews.php";
echo "
";
unset($newsnb);
unset($titleonly);
unset($FileNews);
unset($start);
}
?>