130 lines
2.7 KiB
PHP
130 lines
2.7 KiB
PHP
<?php
|
|
/*include_once "include/theme.inc.php";
|
|
if (file_exists("themes/$theme/theme.php"))
|
|
include_once "themes/$theme/theme.php";
|
|
else*/
|
|
include_once "themes/default/theme.php";
|
|
|
|
extract($themeset, EXTR_OVERWRITE);
|
|
|
|
//*************** edito ************************
|
|
|
|
$bodyclass="magicbox";
|
|
$module = "edito";
|
|
$titre = "Édito";
|
|
include "modules/magicbox.php";
|
|
|
|
//*************** liens directs ****************
|
|
|
|
$bodyclass="magicbox";
|
|
|
|
$module = "liens";
|
|
$titre = "Services ";
|
|
$headlien = "/";
|
|
// $TypeListe = "deroul";
|
|
$FileName = "modules/liens/liensdirects.csv";
|
|
include "modules/magicbox.php";
|
|
|
|
//*************** infos diverses ****************
|
|
|
|
$bodyclass="magicbox";
|
|
|
|
$module = "liens";
|
|
$titre = "Infos diverses ";
|
|
$FileName = "modules/liens/infos.csv";
|
|
include "modules/magicbox.php";
|
|
|
|
// ********************* recherche ***************
|
|
$module = "search";
|
|
$titre = "Recherche ";
|
|
$headlien="http://www.google.fr";
|
|
include "modules/magicbox.php";
|
|
|
|
//*************** "à voir absolument" ****************
|
|
|
|
unset($NbMaxPost);
|
|
$bodyclass="magicbox";
|
|
$module = "liens";
|
|
$titre = "À voir absolument ";
|
|
$TypeListe = "deroul";
|
|
$FileName = "modules/liens/avoir.csv";
|
|
include "modules/magicbox.php";
|
|
unset($TypeListe);
|
|
|
|
// ********* derniers titres de news ************
|
|
|
|
$BoxNbMaxNews = 10;
|
|
$titleonly = 1;
|
|
$cropdate = 5;
|
|
$FileNews = "modules/news/news";
|
|
$module = "affnews";
|
|
$titre = "Dernières nouvelles ";
|
|
$footerboxtext = "Toutes les news";
|
|
|
|
include "modules/magicbox.php";
|
|
unset($titleonly);
|
|
unset($FileNews);
|
|
// unset($NbMaxNews);
|
|
|
|
|
|
//*************** thèmes ****************
|
|
$TypeListe = "normal";
|
|
unset($NbMaxPost);
|
|
|
|
$module = "liens";
|
|
$titre = "Apparence";
|
|
$FileName = "modules/liens/themes.csv";
|
|
include "modules/magicbox.php";
|
|
unset($titleonly);
|
|
unset($FileNews);
|
|
?>
|
|
|
|
<!--NOCACHE
|
|
//********************* la pensée du jour **********************
|
|
|
|
$module = "fortune";
|
|
$titre = "Citation ";
|
|
$FortuneDir="modules/fortunes/";
|
|
$FileName="random";
|
|
// $headlien="";
|
|
unset($FortuneFile);
|
|
$bodystartcode="<div class='fortune'>";
|
|
$bodyendcode="</div>";
|
|
|
|
include "modules/magicbox.php";
|
|
NOCACHE-->
|
|
|
|
<?php
|
|
// ************** dlfp ****************
|
|
/*
|
|
$nbnews = 5;
|
|
$source = "backends/xml/linuxfr.rss";
|
|
$noflag = "on";
|
|
$titre = "Da Linux French Page ";
|
|
$headlien = "http://linuxfr.org";
|
|
$module = "rssparser2";
|
|
include "modules/magicbox.php";
|
|
unset($noflag);
|
|
unset($nbnews);
|
|
unset($typefile);
|
|
unset($filename);
|
|
unset($titre);
|
|
unset($headlien);
|
|
*/
|
|
// ********* derniers titres d'astuces ************
|
|
|
|
// $BoxNbMaxNews = 5;
|
|
/*
|
|
$titleonly = 1;
|
|
$FileNews = "modules/news/astuces";
|
|
$module = "affnews";
|
|
$titre = "Dernières astuces";
|
|
$footerboxtext="Toutes les astuces";
|
|
|
|
include "modules/magicbox.php";
|
|
unset($titleonly);
|
|
unset($FileNews);
|
|
*/
|
|
// unset($NbMaxNews);
|
|
$right=0;
|
|
?>
|