164 lines
4.3 KiB
PHP
164 lines
4.3 KiB
PHP
<?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/musique.$nbnews.cache.php") && $_SERVER["SERVER_SOFTWARE"] != "")
|
|
include "tmp/pages/news/musique.$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>Musique</h1></td></tr></table><br /></div>";
|
|
//<table border='0'><tr>
|
|
echo "<div class='dazibaweb'>";
|
|
|
|
$source = "lesinrocks.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
//$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
|
$headclass="centerhead";
|
|
$bodyclass="centerbody";
|
|
//$footerboxtext="rdf";
|
|
$convert=1;
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
|
|
//echo "</td><td class='dazibaweb'>\n";
|
|
|
|
$source = "staya.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>";
|
|
|
|
$source = "musiciens_biz.rss";
|
|
$sitedata=get_sitedata($source);
|
|
//extract($sitedata);
|
|
$title_site="Musiciens.biz";
|
|
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
|
$bodyclass="centerbody";
|
|
//$footerboxtext="rdf";
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
|
|
//echo "</td><td>";
|
|
|
|
$source = "wfenec_articles.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";
|
|
|
|
$source = "wfenec_infos.rss";
|
|
$bodyclass="centerbody";
|
|
$module = "rssparser";
|
|
include "modules/magicbox.php";
|
|
//echo "</td></tr><tr><td>";
|
|
|
|
$source = "rtl_musique.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 = "musiquelibre.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>";
|
|
|
|
$source = "metalorgie_metal.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 = "metalorgie_punk.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>";
|
|
|
|
$source = "reggaefr_news.rss";
|
|
$sitedata=get_sitedata($source);
|
|
extract($sitedata);
|
|
$titre = "<a href=$link_site target=\"_blank\">$title_site</a>";
|
|
$bodyclass="centerbody";
|
|
$footerboxtext="rdf";
|
|
$module = "rssparser";
|
|
|
|
$source = "reggaefr_articles.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 = "mcm_variete.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";
|
|
|
|
//echo "
|
|
//</td></tr></table><br />
|
|
echo "</div>";
|
|
|
|
$page="musique";
|
|
include "include/nbnews.inc.php";
|
|
|
|
unset($titre);
|
|
|
|
echo "</div><div align=\"right\"><h6>";
|
|
include "modules/backends/musique.date.txt";
|
|
echo "</h6></div><hr /><br />";
|
|
|
|
}
|
|
?>
|