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

214 lines
4.8 KiB
PHP

<?php
if ($_ENV["nbnews"] != "")
$nbnews = $_ENV["argv"];
if (!isset($nbnews))
$nbnews = 5;
if (file_exists("tmp/linux.$nbnews.cache.php") && $_ENV["nbnews"] == "")
include "tmp/linux.$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);
$right=0;
echo "<div align='center'><table><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>GNU/Linux</h1></td></tr></table><br />
<div align='center'>";
//<table border='0'><tr>
//<td class='dazibaweb'>";
echo "<div class='dazibaweb'>\n";
$convert=1;
//$sitedata=1;
// da linux french page
$source = "backends/xml/linuxfr.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$title_site="Da Linux French Page";
$link_site="http://linuxfr.org";
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
//$footerboxtext="rdf";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td class='dazibaweb'>\n";
// LinuxFrench
$source = "backends/xml/linuxfrench.rss";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
// pclinuxonline
$source = "backends/xml/pclinuxonline.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
// portalinux
$source = "backends/xml/portalinux.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
// ze-linux
$source = "backends/xml/zelinux.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
// unixtech
$source = "backends/xml/linuxbe.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
// freshmeat
$source = "backends/xml/freshmeat.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
// dot.kde.org
$source = "backends/xml/dotkde.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
// debian.org
$source = "backends/xml/debian_org.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
$source = "backends/xml/linuxcomp.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td align='center'>";
//echo "</div><div class='dazibaweb'>";
// newsforge newsvac
$source = "backends/xml/newsforge_n.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
// newsforge reports
$source = "backends/xml/newsforge_r.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
$source = "backends/xml/debianplanet.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
$source = "backends/xml/portalux.rss";
$bodyclass="centerbody";
$module = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
$source = "backends/xml/debian_ch.rss";
$bodyclass="centerbody";
$module = "rssparser2";
//if (file_exists($source))
// include "modules/magicbox.php";
//echo "</td><td>";
$source = "backends/xml/mwn.rss";
$bodyclass="centerbody";
$module = "rssparser2";
//if (file_exists($source))
// include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
//echo "</div><div class='dazibaweb'>";
$source = "backends/xml/mandrakefr.rss";
$bodyclass="centerbody";
$module = "rssparser2";
//if (file_exists($source))
// include "modules/magicbox.php";
//echo "</td><td>";
$source = "backends/xml/debianplanet.rss";
$bodyclass="centerbody";
$module = "rssparser2";
//if (file_exists($source))
// include "modules/magicbox.php";
//echo "</td></tr></table>
echo "</div></div>";
$page="linux";
include "include/nbnews.inc.php";
echo "</div><div align=\"right\"><h6>";
include "modules/backends/linux.date.txt";
echo "</h6></div><hr /><br />";
}
?>