Changeset 205
- Timestamp:
- May 1, 2009, 7:07:08 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config.sample.php
r202 r205 29 29 'WebcamPassword' => '', 30 30 'WebcamRefresh' => 5, 31 31 'UserSupport' => 1, 32 32 'News' => array 33 33 ( 34 34 'DaysAgo' => 30, 35 35 'Count' => 5, -
trunk/finance/manage.php
r204 r205 553 553 $Output .= 'Měním aktuální tarify....<br>'; 554 554 // Update tarrifs 555 $this->Database->delete('FinanceTariff s', 'Period=0');555 $this->Database->delete('FinanceTariff', 'Period=0'); 556 556 $DbResult = $this->Database->select('FinanceTariff', '*', 'Period = 1'); 557 557 while($Tariff = $DbResult->fetch_array()) -
trunk/finance/user_state.php
r204 r205 91 91 $Output .= 'Měsíční příjem za spotřebu zařízení umístěných u uživatele:<br>'; 92 92 $Output .= '<table class="WideTable"><tr><th>Název zařízení</th><th>Spotřeba [W]</th><th>Příjem [Kč]</th></tr>'; 93 $DbResult = $this->Database->query('SELECT * FROM network_devices WHERE user='.$Member[' Id'].' AND used=1');93 $DbResult = $this->Database->query('SELECT * FROM network_devices WHERE user='.$Member['Subject'].' AND used=1'); 94 94 $TotalW = 0; 95 95 $TotalPrice = 0; -
trunk/sql/updates/203.sql
r204 r205 31 31 ALTER TABLE `FinanceTariff` CHANGE `Id` `Tariff` INT( 11 ) NOT NULL DEFAULT '0'; 32 32 33 LTER TABLE `FinanceTariff` ADD `Id` INT NOT NULL AUTO_INCREMENT FIRST ,33 ALTER TABLE `FinanceTariff` ADD `Id` INT NOT NULL AUTO_INCREMENT FIRST , 34 34 ADD PRIMARY KEY ( `Id` ); 35 35
Note:
See TracChangeset
for help on using the changeset viewer.