|
|
@ -43,7 +43,7 @@ function getSpendebarometer($databasename){
|
|
|
|
|
|
|
|
|
|
|
|
function getSpenden($databasename){
|
|
|
|
function getSpenden($databasename){
|
|
|
|
$spendeline = '<table width="100%">';
|
|
|
|
$spendeline = '<table width="100%">';
|
|
|
|
$qry = mysql_query('Select * from '.$databasename.'.umsatz where kommentar like \'%Spende%\' order by datum');
|
|
|
|
$qry = mysql_query('Select * from '.$databasename.'.umsatz where kommentar like \'%Spende%\' order by datum desc');
|
|
|
|
while($row = mysql_fetch_assoc($qry)){
|
|
|
|
while($row = mysql_fetch_assoc($qry)){
|
|
|
|
$spendeline .= '<tr><th class="content">'. $row['instanz'] . '</th><td class="content" width="50%">'.$row['kommentar'].'</td><td class="content">'.$row['betrag'].' '.$row['waehrung'].'</td><td class="content">'.$row['datum'].'</td></tr>';
|
|
|
|
$spendeline .= '<tr><th class="content">'. $row['instanz'] . '</th><td class="content" width="50%">'.$row['kommentar'].'</td><td class="content">'.$row['betrag'].' '.$row['waehrung'].'</td><td class="content">'.$row['datum'].'</td></tr>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|