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

153 lines
4.1 KiB
PHP
Raw Normal View History

2023-04-30 21:28:42 +02:00
<?php
if ($_SERVER["argv"][1] != "")
$nbnews = $_SERVER["argv"][1];
if (!isset($nbnews))
$nbnews = 5;
if (file_exists("tmp/musique.$nbnews.cache.php") && $_ENV["nbnews"] == "")
include "tmp/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'><table border='0'><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>Musique</h1></td></tr></table><br />";
//<table border='0'><tr>
echo "<div class='dazibaweb'>";
$source = "backends/xml/lesinrocks.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
//$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";
$source = "backends/xml/staya.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
//$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></tr><tr><td>";
$source = "backends/xml/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 = "rssparser2";
if (file_exists($source))
include "modules/magicbox.php";
//echo "</td><td>";
$source = "backends/xml/grandrock.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$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></tr><tr><td>";
$source = "backends/xml/rtl_musique.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$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>";
$source = "backends/xml/musiquelibre.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$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></tr><tr><td>";
$source = "backends/xml/mcm_electro.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$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>";
$source = "backends/xml/mcm_groove.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$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></tr><tr><td>";
$source = "backends/xml/mcm_rock.rss";
$sitedata=get_sitedata($source);
extract($sitedata);
$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>";
$source = "backends/xml/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";
if (file_exists($source))
include "modules/magicbox.php";
//echo "
//</td></tr></table><br />
echo "</div>";
$page="musique";
include "include/nbnews.inc.php";
echo "</div><div align=\"right\"><h6>";
include "modules/backends/musique.date.txt";
echo "</h6></div><hr /><br />";
}
?>