Jump to content


DIsplaying Login Only If Not Logged In

  • Please log in to reply
No replies to this topic

#1 cameeob2003

  • Members
  • PipPipPip
  • Advanced Member
  • 79 posts

Posted 21 June 2006 - 04:51 AM

I was wanting the following to display:

<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="">

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users