111 lines
2.9 KiB
PHP
111 lines
2.9 KiB
PHP
|
<?php
|
||
|
$nbnews = 5;
|
||
|
|
||
|
if ($_SERVER["argv"][1] != "")
|
||
|
$nbnews = $_SERVER["argv"][1];
|
||
|
|
||
|
if (isset($_COOKIE["TourmentineNbNewsCookie"]))
|
||
|
{
|
||
|
$cookieinfos = explode("-", $_COOKIE["TourmentineNbNewsCookie"]);
|
||
|
$nbnews = $cookieinfos[0];
|
||
|
}
|
||
|
|
||
|
if (file_exists("tmp/pages/news/ms.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
|
||
|
include "tmp/pages/news/ms.$nbnews.cache.php";
|
||
|
else
|
||
|
{
|
||
|
include_once "include/theme.inc.php";
|
||
|
include_once "themes/default/theme.php";
|
||
|
require_once "include/standard.inc.php";
|
||
|
require_once "include/rssparser.inc.php";
|
||
|
extract($themeset, EXTR_OVERWRITE);
|
||
|
|
||
|
echo "<div align='center'><table border='0'><tr><td><img src='/images/dazibaweb.gif' alt='Dazibaweb' /><b>2.0</b></td><td><img src='/images/transparent.gif' alt='' class='icon_5' /></td><td><h1>Microsoft</h1></td></tr></table><br />";
|
||
|
//<table border='0'><tr>
|
||
|
//<td class='dazibaweb'>";
|
||
|
echo "<div class='dazibaweb'>\n";
|
||
|
//$convert=1;
|
||
|
$source = "gen-nt.rss";
|
||
|
//$sitedata=get_sitedata($source);
|
||
|
//extract($sitedata);
|
||
|
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
||
|
$headclass="centerhead";
|
||
|
$bodyclass="centerbody";
|
||
|
$module = "rssparser2";
|
||
|
// include "modules/magicbox.php";
|
||
|
|
||
|
//echo "</td><td class='dazibaweb'>\n";
|
||
|
|
||
|
$source = "ntcompatible.rss";
|
||
|
$sitedata=get_sitedata($source);
|
||
|
extract($sitedata);
|
||
|
//$title_site="Mac Digit";
|
||
|
//$link_site="http://www.macdigit.com";
|
||
|
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
||
|
$bodyclass="centerbody";
|
||
|
//$footerboxtext="rdf";
|
||
|
$module = "rssparser2";
|
||
|
include "modules/magicbox.php";
|
||
|
|
||
|
//echo "</td></tr><tr><td>";
|
||
|
|
||
|
//$convert=0;
|
||
|
$source = "microsoft-watch.rss";
|
||
|
//$sitedata=get_sitedata($source);
|
||
|
//extract($sitedata);
|
||
|
$bodyclass="centerbody";
|
||
|
//$footerboxtext="rdf";
|
||
|
$module = "rssparser2";
|
||
|
include "modules/magicbox.php";
|
||
|
|
||
|
//echo "</td><td>";
|
||
|
|
||
|
$convert=0;
|
||
|
$source = "wininsider.rss";
|
||
|
//$sitedata=get_sitedata($source);
|
||
|
//extract($sitedata);
|
||
|
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
||
|
$bodyclass="centerbody";
|
||
|
//$footerboxtext="rdf";
|
||
|
$module = "rssparser2";
|
||
|
if (file_exists($source))
|
||
|
include "modules/magicbox.php";
|
||
|
|
||
|
$source = "ieblog.rss";
|
||
|
//$sitedata=get_sitedata($source);
|
||
|
//extract($sitedata);
|
||
|
|
||
|
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
||
|
$bodyclass="centerbody";
|
||
|
//$footerboxtext="rdf";
|
||
|
$module = "rssparser2";
|
||
|
// include "modules/magicbox.php";
|
||
|
|
||
|
/*$source = "macplus.rss";
|
||
|
$sitedata=get_sitedata($source);
|
||
|
extract($sitedata);
|
||
|
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
||
|
$bodyclass="centerbody";
|
||
|
//$footerboxtext="rdf";
|
||
|
$module = "rssparser2";
|
||
|
include "modules/magicbox.php";
|
||
|
|
||
|
$source = "thinksecret.rss";
|
||
|
$module = "rssparser2";
|
||
|
include "modules/magicbox.php";*/
|
||
|
//include "http://www.macplus.org/magplus/affiliation_php.php";
|
||
|
|
||
|
//echo "
|
||
|
//</td></tr></table><br />
|
||
|
echo "</div>";
|
||
|
|
||
|
$page="ms";
|
||
|
include "include/nbnews.inc.php";
|
||
|
|
||
|
echo "</div><div align=\"right\"><h6>";
|
||
|
include "modules/backends/ms.date.txt";
|
||
|
echo "</h6></div><hr /><br />";
|
||
|
}
|
||
|
|
||
|
?>
|