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

190 lines
4.9 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/bsd.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
include "tmp/pages/news/bsd.$nbnews.cache.php";
else
{
include_once "themes/default/theme.php";
include "include/theme.inc.php";
require_once "include/rssparser.inc.php";
require_once "include/standard.inc.php";
extract($themeset, EXTR_OVERWRITE);
echo "<div align='center'><div class='logo'><table border='0'><tr><td><img src='/images/dazibaweb.gif' alt='Dazibaweb' /></td><td><img src='/images/transparent.gif' alt='' class='icon_5' /></td><td><h1>BSD</h1></td></tr></table><br /></div>";
//<table border='0'><tr>
//<td class='dazibaweb'>";
echo "<div class='dazibaweb'>\n";
$source = "gcu-squad.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
$title_site="GCU Squad";
$link_site="http://gcu-squad.org";
$titre = "<a href='$link_site' target=\"_blank\">$title_site</a>";
$headclass="centerhead";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td class='dazibaweb'>\n";
$convert=0;
$source = "freebsd.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
include "modules/magicbox.php";
$convert=0;
$source = "freebsdnews.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>\n";
$convert="off";
$source = "undeadly.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>";
$source = "netbsd-news.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr><tr><td>\n";
$source = "netbsd-codechanges.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
//$footerboxtext="rdf";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>\n";
$source = "netbsd-freshpackages.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr><tr><td>\n";
$source = "daemonnews.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>\n";
$convert=1;
$source = "freshports.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
//include "modules/magicbox.php";
$convert=1;
$source = "freebsddiary.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
include "modules/magicbox.php";
$convert=1;
$source = "bsdfreak.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
include "modules/magicbox.php";
//$convert=1;
$source = "dbsdlog.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
//if (file_exists($source))
include "modules/magicbox.php";
$source = "opendarwin.rss";
$bodyclass="centerbody";
$module = "rssparser";
//include "modules/magicbox.php";
$source = "solobsd.rss";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr></table>
echo "</div>";
$page = "bsd";
include "include/nbnews.inc.php";
echo "</div><div align='right'><h6>";
include "modules/backends/bsd.date.txt";
echo "</h6></div><hr /><br />";
}
?>