Changeset 204 for trunk/finance/index.php
- Timestamp:
- May 1, 2009, 12:13:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/index.php
r167 r204 24 24 $Output .= '<br /><strong>Souhrn:</strong><br />'; 25 25 26 $DbResult = $this->Database->query( "SELECT * FROM finance_monthly_overall ORDER BY date DESC LIMIT 0,1");26 $DbResult = $this->Database->query('SELECT * FROM finance_monthly_overall ORDER BY date DESC LIMIT 0,1'); 27 27 $Row = $DbResult->fetch_array(); 28 28 $Output .= 'Platba za internetovou linku ('.$Finance->RealMaxSpeed.'/'.$Finance->RealMaxSpeed.' kbit/s): <strong>'.$Finance->Internet.' Kč</strong><br />'; … … 57 57 $TotalGain = 0; 58 58 $TotalExpense = 0; 59 $DbResult = $this->Database->query( "SELECT SUM(consumption) FROM network_devices WHERE used=1");59 $DbResult = $this->Database->query('SELECT SUM(consumption) FROM network_devices WHERE used=1'); 60 60 $Row = $DbResult->fetch_array(); 61 61 $TotalConsumption = $this->System->Modules['Finance']->W2Kc($Row[0]);
Note:
See TracChangeset
for help on using the changeset viewer.