Changeset 80 for trunk/www/Application/Model
- Timestamp:
- Oct 21, 2009, 10:24:50 AM (15 years ago)
- Location:
- trunk/www/Application/Model
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Model/Backup.php
r78 r80 6 6 { 7 7 var $Id; 8 var $Tas h;8 var $Task; 9 9 10 10 function __construct($Database, $Id) -
trunk/www/Application/Model/User.php
r78 r80 124 124 else 125 125 { 126 $this->Database->update('User', 'Id='.$Row['Id'], array('LastLoginTime' => 'NOW()', 'LastIpAddress' => GetRemoteAddress()));126 $this->Database->update('User', 'Id='.$Row['Id'], array('LastLoginTime' => 'NOW()', 'LastIpAddress' => $this->System->GetRemoteAddress())); 127 127 $this->Database->update('UserOnline', 'SessionId="'.$SID.'"', array('User' => $Row['Id'])); 128 128 // načtení stavu stromu 129 129 $Result = $this->System->Translate('UserLoggedIn'); 130 $this->System->Modules['Log']->NewRecord('User', 'Login', 'Login='.$Login.',Host='.gethostbyaddr( GetRemoteAddress()));130 $this->System->Modules['Log']->NewRecord('User', 'Login', 'Login='.$Login.',Host='.gethostbyaddr($this->System->GetRemoteAddress())); 131 131 } 132 132 } else $Result = $this->System->Translate('UserNotRegistred');
Note:
See TracChangeset
for help on using the changeset viewer.