n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/pages/news/yahooactu.php

139 lines
3.1 KiB
PHP
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
<?php
$nbnews = 5;
$root = "/home/www/website/";
if ($_SERVER["argv"][1] != "")
$nbnews = $_SERVER["argv"][1];
if ($_GET["nbnews"] != "")
$nbnews = $_GET["nbnews"];
if (isset($_COOKIE["TourmentineNbNewsCookie"]))
{
$cookieinfos = explode("-", $_COOKIE["TourmentineNbNewsCookie"]);
$nbnews = $cookieinfos[0];
}
if (file_exists("tmp/pages/news/yahooactu.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
{
include "tmp/pages/news/yahooactu.$nbnews.cache.php";
}
else
{
include_once "/home/www/website/themes/default/theme.php";
include_once "/home/www/website/include/theme.inc.php";
//require_once "/www/website/include/rssparser.inc.php";
require_once "/home/www/website/include/standard.inc.php";
extract($themeset, EXTR_OVERWRITE);
echo "<div align='center'><div class='logo'><table><tr><td><img src='/images/dazibaweb.gif' alt='Dazibaweb' /></td><td><img src='/modules/share/trans.gif' alt='' class='icon_5' /></td><td><h1>Yahoo! Actualit<69>s</h1></td></tr></table><br /></div>";
//<table border='0' width='100%'><tr>
//<td class='dazibaweb'>";
echo "<div class='dazibaweb'>";
$source= "yahooactu_une.rss";
$headclass="centerhead";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
$sitedata="1";
include $root."modules/magicbox.php";
//echo "</td><td class='dazibaweb'>\n";
$source= "yahooactu_monde.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source= "yahooactu_france.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
$source= "yahooactu_politique.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
//echo "</td><td>\n";
$source= "yahooactu_economie.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
$source = "yahooactu_people.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
//echo "</td><td>\n";
$source = "yahooactu_insolite.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
$source = "yahooactu_sport.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
$source = "yahooactu_sciences.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
$source = "yahooactu_sciences.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahooactu_sante.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
$source = "yahooactu_culture.rss";
$bodyclass="centerbody";
$module = "rssparser";
include $root."modules/magicbox.php";
//echo "
//</td></tr></table>";
echo "<br /><div class='nbnews'>(contenu &copy; Yahoo! Inc./Associated Press/AFP/Caduc<75>e/Destination sant<6E>)</div>
</div>";
$page="yahooactu";
include "include/nbnews.inc.php";
echo "</div><div align='right'><h6>";
include "modules/backends/yahooactu.date.txt";
echo "</h6></div><hr /><br />";
}
?>