Changeset 157 for www/finance/spotreba.php
- Timestamp:
- Feb 18, 2009, 11:19:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/finance/spotreba.php
r152 r157 1 1 <?php 2 2 include_once('../global.php'); 3 include_once('include.php');4 3 5 4 class FinanceConsumption extends Page … … 21 20 $Row2 = $DbResult2->fetch_array(); 22 21 $CelkovaSpotreba = $CelkovaSpotreba + $Row2[0]; 23 $Output .= '<tr><td>'.$Row['name'].'</td><td align="right">'.$Row2[0].'</td><td align="right">'. W2Kc($Row2[0]).'</td></tr>';22 $Output .= '<tr><td>'.$Row['name'].'</td><td align="right">'.$Row2[0].'</td><td align="right">'.$this->System->Modules['Finance']->W2Kc($Row2[0]).'</td></tr>'; 24 23 } 25 $Output .= '<tr style="font-weight: Bold;"><td><strong>Celkem</strong></td><td align="right">'.$CelkovaSpotreba.'</td><td align="right">'. W2Kc($CelkovaSpotreba).'</td></tr>';24 $Output .= '<tr style="font-weight: Bold;"><td><strong>Celkem</strong></td><td align="right">'.$CelkovaSpotreba.'</td><td align="right">'.$this->System->Modules['Finance']->W2Kc($CelkovaSpotreba).'</td></tr>'; 26 25 $Output .= '</table><br />'; 27 26 $Output .= 'Dohodnutá cena za jednu kWh: <strong>'.$kWh.' Kč</strong><br />';
Note:
See TracChangeset
for help on using the changeset viewer.