| Fichier source |
index.php
[ 0]
<?php
[ 1]require_once "include/global.php";
[ 2]require_once "include/preferences.php";
[ 3]require_once "include/menubar.php";
[ 4]
[ 5]// pour une imprimante ou une sortie a l'écran...
[ 6]require_once "include/xml_doctype.php";
[ 7]
[ 8]$initialiser_preferences();
[ 9]$entete_html();
[10]afficher_top_bar();
[11]
[12]// Split the main frame
[13]debut_mosaique_horizontale();
[14]
[15]// Standard Left Bar
[16]afficher_standard_left_bar();
[17]fin_mosaique_gauche();
[18]
[19]///////////////////////////
[20]// Begin of the main Bar //
[21]///////////////////////////
[22]
[23]//$encadre_fichier( "cv.htm", $Largeur_Mainbar, white );
[24]
[25]Encadre_XML("accueil.xml","include/screen_news.xsl",$Largeur_Mainbar, $COL_bg_yellow, "Accueil");
[26]
[27]echo "<BR>";
[28]
[29]$liste[1] = "http://slashdot.org/index.rss";
[30]$liste[2] = "http://permanent.nouvelobs.com/rss_permanent_economie.xml";
[31]//$liste[3] = "http://www.bucheron.net/weblogs/rss.php";
[32]//$liste[4] = "http://www.infos-du-net.com/backend.php";
[33]$liste[3] = "http://www.labo-dotnet.com/Articles/Syndication/380.xml";
[34]$nbtotal=sizeof($liste);
[35]
[36]$n=rand(1,$nbtotal);
[37]
[38]//echo $liste[$n];
[39]
[40]Encadre_XML($liste[$n],"include/process_rss.xsl",$Largeur_Mainbar, $COL_bg_yellow, "Actualités");
[41]
[42]
[43]$T = '<center> <a href="http://www.wunderground.com/global/stations/07650.html"> <img src="http://banners.wunderground.com/banner/bigwx_both_cond/language/www/global/stations/07650.gif"
[44]alt="Click for Marseille, France Forecast" border=0 height=60 width=468></a> </center>
[45]';
[46]
[47]echo "<BR>";
[48]
[49]$encadre ($T, $Largeur, $COL_bg_yellow);
[50]
[51]
[52]
[53]fin_mosaique_horizontale();
[54]afficher_foot_bar();
[55]$ferme_html();
[56]
[57]
[58]?>
[59]
|
|
|