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

143 lines
3.8 KiB
PHP
Raw Permalink Blame History

<?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/php.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
include "tmp/pages/news/php.$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'><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>PHP</h1></td></tr></table><br /></div>";
//<table border='0'><tr>
//<td class='dazibaweb'>";
echo "<div class='dazibaweb'>";
$convert=0;
$source = "manucorp.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$headclass="centerhead";
$bodyclass="centerbody";
//$footerboxtext="rdf";
$module = "rssparser";
//$phpver = phpversion();
//if (file_exists($source) && $phpver[0] == '4')
// include "modules/magicbox.php";
//echo "</td><td class='dazibaweb'>\n";
$source = "phpsecure_webactu.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site - WebActu</a>";
$bodyclass="centerbody";
$footerboxtext="rdf";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
$source = "phpsecure_applicphp.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site - ApplicPHP</a>";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>";
$source = "phpsecure_cmsactu.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site - CmsActu</a>";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
$source = "phpsecure_secuphp.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site - SecuPHP</a>";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>";
// portalinux
$source = "phpsecure_lesdernieres.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site - lesDerni<6E>res</a>";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td></tr><tr><td>";
$source = "phpnuke.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//echo "</td><td>";
// portalinux
$source = "phpbuilder.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
$bodyclass="centerbody";
$module = "rssparser";
include "modules/magicbox.php";
//$source = "phpfr.rss";
//$sitedata=get_sitedata($source);
//extract($sitedata);
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
//$bodyclass="centerbody";
//$footerboxtext="rdf";
//$module = "rssparser2";
//$phpver = phpversion();
//if (file_exists($source) && $phpver[0] == '4')
// include "modules/magicbox.php";
//echo "</td></tr></table>
echo "</div>";
$page="PHP";
include "include/nbnews.inc.php";
echo "</div><div align=\"right\"><h6>";
include "modules/backends/php.date.txt";
echo "</h6></div><hr /><br />";
}
?>