Pages: [1]
Author Topic: Login Box  (Read 215 times)
Customers
Full Member
*

Karma: 0
Posts: 43


on: Jan 17, 10, 04:55 PM

Hello,

I have created the static page on front page of the script here: http://www.hrajsa.sk

It's on the right in the top - Prihlasenie. However, when user logins, it simply stays there. How do I do it so it disappears when user is logged in? I miss this box VERY MUCH in this version of script I do not understand why it isn't standard at all... Help pls Smiley
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Jan 18, 10, 12:38 AM

That must be a php block, not html. In php you should check whether or not user is logged in (take a look at the userhome.php to find out how to check that) and output one of the html texts (fist one contains your form and another one - a block containing for example "welcome user" text)
Logged
Full Member
***

Karma: -1
Posts: 53


Reply #2 on: Jan 18, 10, 09:41 AM

good find frank
Logged
Pages: [1]
 
Jump to: