Legend:
- Unmodified
- Added
- Removed
-
user.php
r8 r9 68 68 while($DbRow = $DbResult->fetch_array()) 69 69 { 70 $this->Database->delete($this->TableUserOnline, ' Id='.$DbRow['User']);70 $this->Database->delete($this->TableUserOnline, 'User='.$DbRow['User']); 71 71 $this->System->Modules['Log']->NewRecord('User', 'Logout'); 72 72 } … … 96 96 $this->Database->insert($this->TableUser, array('Name' => $Nick, 'FirstName' => $FirstName, 'SecondName' => $SecondName, 'Password' => sha1($Password), 'Email' => $Email, 'RegistrationTime' => 'NOW()', 'Locked' => 1)); 97 97 $UserId = $this->Database->insert_id; 98 98 99 99 $Subject = FromUTF8('Registrace nového účtu', 'iso2'); 100 100 $Message = 'Provedli jste registraci nového účtu na serveru <a href="http://'.$Config['Web']['Host'].$Config['Web']['RootFolder'].'">http://'.$Config['Web']['Host'].$Config['Web']['RootFolder']."</a>.<br>\nPokud jste tak neučinili, měli by jste tento email ignorovat.<br><br>\n\nVáš účet je: ".$Nick."\n<br>Pro dokončení registrace klikněte na ".'<a href="http://'.$Config['Web']['Host'].$Config['Web']['RootFolder'].'/?Action=UserRegisterConfirm&User='.$UserId.'&H='.sha1($Password).'">tento odkaz</a>.'."\n<br> \n\n<br><br>Na tento email neodpovídejte.";
Note:
See TracChangeset
for help on using the changeset viewer.