- Timestamp:
- Mar 24, 2009, 10:49:59 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/form_classes.php
r156 r181 57 57 'SecondName' => array('Type' => 'String', 'Caption' => 'Přijmení jméno', 'Default' => ''), 58 58 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''), 59 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''), 60 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''), 59 61 ), 60 62 ), -
trunk/sql/full.sql
r169 r181 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Úterý 24. března 2009, 13:436 -- Vygenerováno: Úterý 24. března 2009, 22:51 7 7 -- Verze MySQL: 5.0.51 8 8 -- Verze PHP: 5.2.6 … … 147 147 `Text` varchar(255) collate utf8_czech_ci NOT NULL default '', 148 148 PRIMARY KEY (`Id`) 149 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=418 2;149 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=4183 ; 150 150 151 151 -- -------------------------------------------------------- … … 254 254 255 255 -- 256 -- Struktura tabulky `finance_operations `257 -- 258 259 CREATE TABLE IF NOT EXISTS `finance_operations ` (256 -- Struktura tabulky `finance_operations_old` 257 -- 258 259 CREATE TABLE IF NOT EXISTS `finance_operations_old` ( 260 260 `id` int(11) NOT NULL auto_increment, 261 261 `user` int(11) NOT NULL default '0', … … 321 321 `used` int(11) NOT NULL default '1', 322 322 PRIMARY KEY (`id`) 323 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=34 7;323 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=348 ; 324 324 325 325 -- -------------------------------------------------------- … … 448 448 `NetworkSegment` int(11) NOT NULL, 449 449 PRIMARY KEY (`Id`) 450 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=9 8;450 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=99 ; 451 451 452 452 -- -------------------------------------------------------- … … 466 466 `Cash` float NOT NULL, 467 467 PRIMARY KEY (`Id`) 468 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=8 3;468 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=84 ; 469 469 470 470 -- -------------------------------------------------------- … … 580 580 `date` datetime NOT NULL default '0000-00-00 00:00:00', 581 581 `target_date` datetime NOT NULL default '0000-00-00 00:00:00', 582 `author` varchar(32) collate utf8_czech_ci NOT NULL default ' Anonym',582 `author` varchar(32) collate utf8_czech_ci NOT NULL default '', 583 583 `ip` varchar(16) collate utf8_czech_ci NOT NULL default '', 584 584 `category` int(11) NOT NULL default '0', … … 588 588 KEY `category` (`category`), 589 589 KEY `date` (`date`) 590 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=3085 4;590 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=30855 ; 591 591 592 592 -- -------------------------------------------------------- … … 716 716 `WWW` varchar(255) collate utf8_czech_ci NOT NULL, 717 717 PRIMARY KEY (`Id`) 718 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=10 5;718 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=106 ; 719 719 720 720 -- -------------------------------------------------------- … … 822 822 `SecondName` varchar(128) collate utf8_czech_ci NOT NULL default '', 823 823 `Nick` varchar(128) collate utf8_czech_ci NOT NULL default '', 824 `Password` textcollate utf8_czech_ci NOT NULL,824 `Password` varchar(255) collate utf8_czech_ci NOT NULL, 825 825 `Email` varchar(128) collate utf8_czech_ci NOT NULL default '', 826 826 `LastIpAddress` varchar(16) collate utf8_czech_ci NOT NULL default '', … … 828 828 `RegistrationTime` datetime NOT NULL default '0000-00-00 00:00:00', 829 829 `Member` int(11) NOT NULL, 830 `Locked` tinyint(1) NOT NULL default ' 1',830 `Locked` tinyint(1) NOT NULL default '0', 831 831 `ICQ` int(11) NOT NULL default '0', 832 832 `PhoneNumber` varchar(32) collate utf8_czech_ci NOT NULL default '', 833 833 `InitPassword` varchar(255) collate utf8_czech_ci NOT NULL, 834 PRIMARY KEY (`Id`) 835 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=99 ; 834 PRIMARY KEY (`Id`), 835 UNIQUE KEY `Name` (`Name`) 836 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=104 ; 836 837 837 838 -- -------------------------------------------------------- … … 852 853 PRIMARY KEY (`Id`), 853 854 KEY `User` (`User`) 854 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=2 ;855 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=299 ; 855 856 856 857 -- -------------------------------------------------------- -
trunk/user.php
r170 r181 66 66 { 67 67 $this->Database->delete('UserOnline', 'Id='.$DbRow['Id']); 68 if($DbRow[' Id'] != $this->AnonymousUserId) $this->System->Modules['Log']->NewRecord('User', 'Logout');68 if($DbRow['User'] != $this->AnonymousUserId) $this->System->Modules['Log']->NewRecord('User', 'Logout'); 69 69 } 70 70 //$this->LoadPermission($this->User['Role']);
Note:
See TracChangeset
for help on using the changeset viewer.