Changeset 154 for www/finance
- Timestamp:
- Feb 16, 2009, 7:54:34 PM (16 years ago)
- Location:
- www/finance
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/finance/user_state.php
r153 r154 18 18 $UserId = $this->System->Modules['User']->User['Id']; 19 19 if(!array_key_exists('show', $_GET)) $_GET['show'] = ''; 20 $DbResult = $this->Database->query( "SELECT *,CONCAT(second_name, ' ', first_name) as fullname FROM users WHERE id=".$UserId);20 $DbResult = $this->Database->query('SELECT * FROM Subject WHERE Id=(SELECT Subject FROM Member WHERE Id=(SELECT Member FROM User='.$UserId.'))'); 21 21 $Row2 = $DbResult->fetch_array(); 22 22 $TarifName = $Tarify[$Row2['inet_tarif_next']]['name']; … … 24 24 25 25 // Tabulka operaci 26 $Output .= 'Výpis operací pro účastníka '.$Row2[' fullname'].':<br>';26 $Output .= 'Výpis operací pro účastníka '.$Row2['Name'].':<br>'; 27 27 $Output .= '<table style="font-size: smaller;" border="1" cellspacing="0" cellpadding="3"><tr><th>Datum</th><th>Popis</th><th>Částka</th><th>Doklad</th></tr>'; 28 28 $Operations = array();
Note:
See TracChangeset
for help on using the changeset viewer.