Added the swap file of my brainzz.
parent
cd9ec02be0
commit
94ed3a4284
|
@ -0,0 +1,34 @@
|
||||||
|
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
|
Loading…
Reference in New Issue