103 lines
2.3 KiB
PHP
103 lines
2.3 KiB
PHP
|
<?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 © Yahoo! Inc./Associated Press/AFP/Caduc<EFBFBD>e/Destination sant<EFBFBD>)
|
|||
|
</div>";
|
|||
|
include "include/nbnews.inc.php";
|
|||
|
|
|||
|
//echo "<div align=\"right\"><h6>";
|
|||
|
include "modules/backends/googlenews.date.txt";
|
|||
|
//echo "</h6></div><hr><br>";
|
|||
|
|
|||
|
|
|||
|
?>
|