157 lines
4.2 KiB
PHP
157 lines
4.2 KiB
PHP
<?php
|
|
if ($_SERVER["argv"][1] != "")
|
|
$nbnews = $_SERVER["argv"][1];
|
|
|
|
if (!isset($nbnews))
|
|
$nbnews = 5;
|
|
if (file_exists("tmp/pda.$nbnews.cache.php") && $_ENV["nbnews"] == "")
|
|
include "tmp/pda.$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 border='0'><tr><td><img src='images/dazibaweb.gif' alt='Dazibaweb' /><b>2.0</b></td><td><img src='$dirtheme/5.gif' alt='' /></td><td><h1>PDA/Smartphones</h1></td></tr></table><br />
|
|
<h6><i>Note</i> : n'hésitez pas à visiter le site <a href='http://pdainfo.lepocketpc.com/index.html' target='_blank'>PDAInfo</a> pour plus de news !</h6>";
|
|
//<table border='0'><tr>
|
|
echo "<div class='dazibaweb'>";
|
|
|
|
$convert=1;
|
|
$source = "backends/xml/smartphonefrance.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";
|
|
|
|
$convert=0;
|
|
$source = "backends/xml/mobinaute.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>\n";
|
|
|
|
|
|
$source = "backends/xml/ppcreviews.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/ppcjeux.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>\n";
|
|
|
|
$source = "backends/xml/ppcfreewares.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>\n";
|
|
|
|
$source = "backends/xml/windowsmobilech.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>\n";
|
|
|
|
$source = "backends/xml/mobilitycommunity.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>\n";
|
|
|
|
$convert=1;
|
|
$source = "backends/xml/lepocketpc.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>\n";
|
|
|
|
|
|
$source = "backends/xml/smartease.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/ppcw.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>
|
|
echo "</div>";
|
|
|
|
$page="pda";
|
|
include "include/nbnews.inc.php";
|
|
|
|
echo "</div><div align=\"right\"><h6>";
|
|
include "modules/backends/pda.date.txt";
|
|
echo "</h6></div><hr /><br />";
|
|
}
|
|
?>
|