Ignore:
Timestamp:
Feb 16, 2009, 6:16:00 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Zobrazování chyb v SQL povelech. Nastavení v konfigureaci.
  • Upraveno: Zpřístupnění stavu financí dle ip i dle přihlášení.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/finance/user_state.php

    r152 r153  
    1616    if(!$this->System->Modules['User']->CheckPermission('Finance', 'DisplaySubjectState')) return('Nemáte oprávnění');
    1717
    18     //$UserId = $this->System->Modules['User']->User['Id'];
    19         $UserId = GetMemberByIP(GetRemoteAddress());
    20     if(!array_key_exists('show',$_GET)) $_GET['show'] = '';
     18    $UserId = $this->System->Modules['User']->User['Id'];
     19    if(!array_key_exists('show', $_GET)) $_GET['show'] = '';
    2120    $DbResult = $this->Database->query("SELECT *,CONCAT(second_name, ' ', first_name) as fullname FROM users WHERE id=".$UserId);
    2221    $Row2 = $DbResult->fetch_array();
Note: See TracChangeset for help on using the changeset viewer.