# HG changeset patch
# User Franck Deroche
# Date 1192885467 -7200
# Node ID f8591021e45d89344f33db0d27b11d2c8221153a
# Parent 1da880ffa7aab76c05ea9ee55de283fbe8e494fa
Fichier de test des indicateurs d'humeur, inutile
diff -r 1da880ffa7aa -r f8591021e45d mood.php
--- a/mood.php Sat Oct 20 14:26:42 2007 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-Connect();
- if($type != "cal")
- $Data->Query("SELECT * FROM Mess Where num_version='Version 10' ORDER BY num_mess DESC");
- else
- $Data->Query("SELECT * FROM Mess WHERE YEAR(DatePost)={$year} AND MONTH(DatePost)={$month} ORDER BY num_mess DESC");
- $i=0;
- if($type == "cal") {
- echo(" ");
- }
- while(($row=$Data->GetRow()) && ($i++<10 || $type == "cal")) {
- $Mess=$Data->utf8_ensure(str_replace("","
",str_replace("
","
", $row['Message'])));
- $dateFormatee = strftime("%A %d %B %Y, %Hh%M", strtotime($row['DatePost']));
- $Titre = $Data->utf8_ensure($row['Titre']);
- $Titre_url = str_replace(" ", "_", strip_tags($Titre));
- $Titre_url = str_replace("-", "_", $Titre_url);
- echo("
- ");
- }
- if($type == "cal") {
- echo(" ");
- }
- $Data->Close();
- include("foot.php");
-?>