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/webnews/pages/googlenews.php
2023-04-30 21:50:11 +02:00

102 lines
2.3 KiB
PHP
Raw Permalink Blame History

<?php
include "include/theme.inc.php";
require_once "include/rssparser.inc.php";
extract($themeset, EXTR_OVERWRITE);
$right=0;
echo "<div align='center'><table><tr><td><img src='images/dazibaweb.gif' alt='dazibaweb'><b>2.0</b></td><td><img src='$dirtheme/5.gif' alt=''></td><td><h1>Google News</h1></td></tr></table></div><br>
<div align='center'>
<table border='0'><tr>
<td width='50%'>";
if (!isset($nbnews))
$nbnews = 5;
$source= "backends/xml/googlenews_int.rss";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser2";
$sitedata="1";
include "modules/magicbox.php";
echo "</td><td width='50%'>\n";
$source= "backends/xml/googlenews_nat.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td></tr>\n<tr><td>\n";
$source= "backends/xml/googlenews_general.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td><td>\n";
$source= "backends/xml/googlenews_economie.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td></tr>\n<tr><td>\n";
$source= "backends/xml/googlenews_divertissement.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td><td>\n";
$source = "backends/xml/googlenews_technologie.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td></tr>\n<tr><td align=center>\n";
$source = "backends/xml/googlenews_sport.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td><td>\n";
$source = "backends/xml/yahooactu_insolite.rss";
$bodyclass="centerbody";
$module = "rssparser2";
/* include "modules/magicbox.php";
echo "</td></tr>\n<tr><td>\n";
$source = "backends/xml/yahooactu_sciences.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
echo "</td><td>\n";
$source = "backends/xml/yahooactu_sante.rss";
$bodyclass="centerbody";
$module = "rssparser2";
include "modules/magicbox.php";
*/
echo "
</td></tr></table><br>(contenu &copy; Yahoo! Inc./Associated Press/AFP/Caduc<75>e/Destination sant<6E>)
</div>";
include "include/nbnews.inc.php";
//echo "<div align=\"right\"><h6>";
include "modules/backends/googlenews.date.txt";
//echo "</h6></div><hr><br>";
?>