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/yahoosport.php

160 lines
3.6 KiB
PHP
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
<?php
$nbnews = 5;
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/yahoosport.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
include "tmp/pages/news/yahoosport.$nbnews.cache.php";
else
{
include_once "include/theme.inc.php";
include_once "themes/default/theme.php";
require_once "include/standard.inc.php";
include_once "themes/default/theme.php";
//require_once "include/rssparser.inc.php";
extract($themeset, EXTR_OVERWRITE);
//$right=0;
echo "<div align='center'><div class='logo'><table><tr><td><img src='/images/dazibaweb.gif' alt='Dazibaweb' /></td><td><img src='/images/transparent.gif' alt='' class='icon_5' /></td><td><h1>Yahoo! Sports</h1></td></tr></table><br /></div>";
//<table border='0'><tr>
//<td class='dazibaweb'>";
if (!isset($nbnews))
$nbnews = 5;
echo "<div class='dazibaweb'>\n";
$sitedata=1;
$headclass="centerhead";
$source= "yahoosport_foot.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td class='dazibaweb'>\n";
$source= "yahoosport_f1.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source= "yahoosport_tennis.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source= "yahoosport_rugb.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source= "yahoosport_bask.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahoosport_cycl.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source = "yahoosport_sail.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahoosport_trac.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source = "yahoosport_boxi.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahoosport_golf.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source = "yahoosport_hand.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahoosport_moto.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source = "yahoosport_vol.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahoosport_rall.rss";
$bodyclass="centerbody";
$module = "rssparser";
//include "modules/magicbox.php";
//echo "</td></tr>\n<tr><td>\n";
$source = "yahoosport_ski.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "yahoosport_glace.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "
//</td></tr></table>";
echo "<br /><div class='nbnews'>(contenu &copy; Yahoo! Inc.)
</div></div>";
$page="yahoosport";
include "include/nbnews.inc.php";
echo "</div><div align='right'><h6>";
include "modules/backends/yahoosport.date.txt";
echo "</h6></div><hr /><br />";
}
?>