94 lines
2.3 KiB
PHP
94 lines
2.3 KiB
PHP
<?php
|
|
|
|
$nbnews = 5;
|
|
|
|
if ($_ENV["nbnews"] != "")
|
|
$nbnews = $_ENV["nbnews"];
|
|
|
|
|
|
if (isset($_COOKIE["TourmentineNbNewsCookie"]))
|
|
{
|
|
$cookieinfos = explode("-", $_COOKIE["TourmentineNbNewsCookie"]);
|
|
$nbnews = $cookieinfos[0];
|
|
}
|
|
|
|
if ($_GET["nbnews"] != "")
|
|
$nbnews = $_GET["nbnews"];
|
|
|
|
if (file_exists("tmp/pages/news/videos.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
|
|
include "tmp/pages/news/videos.$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 summary=''><tr><td><img src='/images/dazibaweb.gif' alt='Dazibaweb' /></td><td><img src='/images/transparent.gif' alt='' class='icon_5' /></td><td><h1>Videos</h1></td></tr></table><br /></div>
|
|
<div align='center'>";
|
|
//<table border='0'><tr>
|
|
//<td class='dazibaweb'>";
|
|
|
|
echo "<div class='dazibaweb'>\n";
|
|
$source = "youtube_recently_added.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
|
|
$source = "youtube_recently_featured.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
$headclass="centerhead";
|
|
$bodyclass="centerbody";
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
|
|
$source = "youtube_top_favorites.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
$headclass="centerhead";
|
|
$bodyclass="centerbody";
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
|
|
|
|
$source = "youtube_top_rated.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
$headclass="centerhead";
|
|
$bodyclass="centerbody";
|
|
$footerboxtext="rdf";
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
|
|
$source = "dailymotion.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
$module = "rssparser";
|
|
$headclass="centerhead";
|
|
$bodyclass="centerbody";
|
|
include "modules/magicbox.php";
|
|
|
|
$source = "metacafe.rss";
|
|
$headclass="centerhead";
|
|
$bodyclass="centerbody";
|
|
$module = "rssparser2";
|
|
include "modules/magicbox.php";
|
|
|
|
// pclinuxonline
|
|
|
|
echo "</div></div>";
|
|
|
|
$page="linux";
|
|
include "include/nbnews.inc.php";
|
|
|
|
echo "</div><div align=\"right\"><h6>";
|
|
include "modules/backends/videos.date.txt";
|
|
echo "</h6></div><hr /><br />";
|
|
}
|
|
?>
|
|
|