Jump to content

DIsplaying Login Only If Not Logged In


cameeob2003

Recommended Posts

I was wanting the following to display:

[code]<form name="form1" method="post" action="login/checklogin.php">
                            <div style="position: absolute; top: 191px; left: 253px;">
                            <input style="position: absolute; top: 2px; left: 60px; width: 100px; height= 20px;" name="myusername" type="text" id="myusername">
                            <input style="position: absolute; top: 25px; left: 60px; width: 100px; height= 20px;" name="mypassword" type="text" id="mypassword">
                            <input style="position: absolute; top: 52px; left: 120px; background-image: url(img/login_button.gif); width: 51px; height: 15px; border: 0;" type="submit" name="Submit" value="">[/code]

Only if the user is not logged in. If the user is logged in I want it to show an admin/user panel. I was wondering how I would go about doing this. I dont need the scripting for the admin panel just for the displaying portion.

Any help is appreciated.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.