*** empty log message ***

This commit is contained in:
Rodolphe Quiedeville 2002-12-21 18:48:47 +00:00
parent 071225dfb7
commit 4a7b38cba8
2 changed files with 6 additions and 47 deletions

View File

@ -56,13 +56,8 @@
<input type="text" name="email" size="40" /> <input type="text" name="email" size="40" />
</tr> </tr>
<tr> <tr id="montant">
<td class="titre">
Montant
</td>
<td class="valeur">
<input type="text" name="montant" size="10" /> euros <input type="text" name="montant" size="10" /> euros
</td>
</tr> </tr>
<tr id="commentaire"> <tr id="commentaire">

View File

@ -25,53 +25,17 @@ if (file_exists ($thermlib))
{ {
include($thermlib); include($thermlib);
$posten_file = "/var/www/www.eucd.info/htdocs/posten.txt";
$totaal_file = "/var/www/www.eucd.info/htdocs/totaal.txt";
/* /*
* Read Values * Read Values
*/ */
if (file_exists ($posten_file))
{
if (file_exists ($totaal_file))
{
/* lees posten uit file */
$fp = fopen($posten_file, 'r' );
if ($fp)
{
$post_donaties = fgets( $fp, 10 );
$post_sponsoring = fgets( $fp, 10 );
$post_intent = fgets( $fp, 10 );
fclose( $fp );
}
/* lees posten uit file */
$fp = fopen( $totaal_file, 'r' );
if ($fp)
{
$totaal_ontvangen = fgets( $fp, 10 );
$totaal_pending = fgets( $fp, 10 );
fclose( $fp );
}
}
}
/*
* Graph thermometer
*/
$conf = new Conf(); $conf = new Conf();
$db = new Db(); $db = new Db();
$don = new Don($db); $dontherm = new Don($db);
$actualValue = $don->sum_actual(); $actualValue = $dontherm->sum_actual();
$pendingValue = $don->sum_pending(); $pendingValue = $dontherm->sum_pending();
$intentValue = $don->sum_intent(); $intentValue = $dontherm->sum_intent();
print moneyMeter($actualValue, $pendingValue, $intentValue); print moneyMeter($actualValue, $pendingValue, $intentValue);