forked from root/threadr.lostcave.ddnss.de
35 lines
545 B
Plaintext
35 lines
545 B
Plaintext
|
username
|
||
|
email
|
||
|
password
|
||
|
password_confirm
|
||
|
|
||
|
|
||
|
TABLE `web`.`profiles`
|
||
|
( `id` SMALLINT NOT NULL ,
|
||
|
`email` VARCHAR(100) NOT NULL ,
|
||
|
`real_name` VARCHAR(40) NULL ,
|
||
|
`status` VARCHAR(200) NULL ,
|
||
|
`about` VARCHAR(2000) NULL
|
||
|
) ENGINE = InnoDB;
|
||
|
|
||
|
|
||
|
|
||
|
Todo:
|
||
|
|
||
|
if logged in
|
||
|
home is userhome
|
||
|
else
|
||
|
home is home
|
||
|
|
||
|
if logged in
|
||
|
login is logout
|
||
|
else
|
||
|
login is login
|
||
|
|
||
|
|
||
|
navbar = %NAVBAR% and highlighted field gets selected by a variable
|
||
|
|
||
|
save everything in a db instead of a session cookie - or encrypt session cookie data
|
||
|
|
||
|
logout user after signing up a new one
|