Salut,
Il faut d'abord que tu crées une page PHP classique, voici la mienne :
Code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="author" content="GraphWeather" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Statistiques</title>
<style type="text/css">
body{font-size:80%;margin:0px;padding:0px;background-color:#FFFFFF;color:#555555;text-align:center;}
#frame {width:910px; margin:5px; padding:8px; border:dashed 1px #cccccc; background:#ffd; margin-left:auto; margin-right:auto; text-align: left;}
table {width:100%;}
td {border:solid 1px #cccccc;background:#ffd; text-align:center;}
.item {background:#ffc;}
.title_frame {border:solid 1px #cccccc;background:#ffa;text-align:center;}
.title {font-size:130%;}
.subtitle {font-size:115%; background:#ffa;}
.date{font-style:italic;}
</style>
</head>
<body>
<div id="frame">
<div class="title_frame">
<br/>
<div class="title">Météo - Montréal - CANADA</div>
<div class="date">
Généré avec la version 1.6 (non achevé) de GraphWeather + plugin spécialement dédié<br/>
Données provenant de la station météo de l'<a href="http://www.csdm.qc.ca/EDurocher/meteo/index.htm">Ecole Secondaire Eulalie-Durocher</a><br/>
Mise à jour de la page : matin et soir
</div>
<div class="date"><a href="../../index.php">retourner sur le site</a></div>
<br/>
</div>
<br />
<table>
<tr>
<td colspan='5' class="subtitle">Périodes</td>
</tr>
<tr>
<td class="item"><a href="MyGW.php?page=graphs_last_48h">Graphique des dernières 48h</a></td>
<td class="item"><a href="MyGW.php?page=graphs_current_month">Graphique du mois</a></td>
<td class="item"><a href="MyGW.php?page=stats_current_day">Statistiques du jour</a></td>
<td class="item"><a href="MyGW.php?page=stats_current_month">Statistiques du mois</a></td>
</tr>
</table>
<br/>
<?php
if(!isset($_GET['page'])) $page="graphs_last_48h";
else $page=$_GET['page'];
switch($page)
{
case "stats_current_day":
$file=file("current_day.inc");
foreach($file as $line) echo $line;
break;
case "stats_current_month":
$file=file("current_month.inc");
foreach($file as $line) echo $line;
break;
case "graphs_last_48h":
echo "<div style="text-align:center;" >";
echo "<img src="last_48h.png"/>";
echo "</div></br></br>";
echo "<div style="text-align:center;" >";
echo "<img src="last_48h_wind.png"/>";
echo "</div>";
break;
case "graphs_current_month":
echo "<div style="text-align:center;" >";
echo "<img src="current_month.png"/>";
echo "</div></br></br>";
echo "<div style="text-align:center;" >";
echo "<img src="current_month_wind.png"/>";
echo "</div>";
break;
}
?>
</div>
</body>
</html>
Quand tu vois dedans le $file=file("current_month.inc"); c'est qu'un template que GraphWeather à transferé sur le site va être inclus dedans. Il faut donc que dans Options/préférences/Export FTP tu ajoutes l'exportation de deux templates current_monthe.inc et current_day.inc (qui existent et sont dans le répertoire template).
Dans cette page tu vois aussi des echo "<img src="current_month_wind.png"/>"; src est le nom de l'image que GraphWeather transfera sur ton site et qui apparaitra sur ta page. Tu dois donc ajouter quatre exportations de graphiques nommés current_month_wind.png last_48_wind.png, current_month.png, last_48h.png.
Ca c'est ma page perso, mais rien n'empêche d'ajouter d'autre graphiques et templates à inclure dedans.
J'espère que tu es connais un peu le php, html et css , ca va te paraitre compliqué sinon.
Antoine.