*** empty log message ***
This commit is contained in:
parent
030a895219
commit
071225dfb7
@ -25,10 +25,46 @@ if (file_exists ($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
|
||||
*/
|
||||
|
||||
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();
|
||||
$db = new Db();
|
||||
$don = new Don($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user