Changeset 18 for trunk/index.php
- Timestamp:
- Jun 23, 2012, 12:47:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r15 r18 25 25 $Gui = new Gui($User); 26 26 27 $Form = new Form(array(28 array('name' => 'LoginUser',29 'description' => 'Jméno',30 ),31 array('name' => 'LoginPass',32 'type' => 'password',33 'description' => 'Heslo',34 'value' => '',),35 array('name' => 'button',36 'type' => 'submit',37 'value' => 'PÅihlásit',38 'description' => '<a href="">Registrace</a>',)), 'PÅihlášenÃ');39 $Form->Show();40 41 27 42 $Form = new Form(array(43 array('name' => 'Email',44 'description' => 'Email',45 'value' => '@',46 ),47 array('name' => 'RegUser',48 'description' => 'Jméno',49 ),50 array('name' => 'RegPass',51 'type' => 'password',52 'description' => 'Heslo',53 'value' => '',),54 array('name' => 'RegPass2',55 'type' => 'password',56 'description' => 'Povrzenà hesla',57 'value' => '',),58 array('name' => 'button',59 'type' => 'submit',60 'value' => 'Registrovat',)61 ), 'Registrace nového uÅŸivatele');62 $Form->Show();63 64 $Logout = new Link('Odhlásit', '?logout' , 'Odhlásit se z webového systému');65 66 if ($User->Licence(0)) {67 echo 'log';68 echo $Logout->Get();69 }70 else echo 'notlog';71 28 72 29 $Gui->ShowPage();
Note:
See TracChangeset
for help on using the changeset viewer.