Jump to content
  • 0

[Request] How to put Log In Box


Question

Posted

Hello fellas and senior, I just made a website (actually not made it myself, I just have a free template and alter it a bit)

I just changed the design, position and etc. (still new to HTML and CSS thing )

The problem is the free template don't have a Login Box.

LogInbox.gif

Is there any way I can put into that box a

ID and a Pass box and also

Login,Forgot Password link. Please in advance seniorey

6 answers to this question

Recommended Posts

Posted (edited)

This is the Code for the login

<?php if(!$session->isLoggedIn()){
//If the user is not log in the CP
//Display the login form
?>
<form action="<?php echo $this->url('account', 'login', array('return_url' => $params->get('return_url'))) ?>" method="post">
<input type="hidden" name="server" value="<?php echo htmlspecialchars($session->loginAthenaGroup->serverName) ?>">

<input type="text" placeholder="Enter Username"  name="username" id="login_username"/>
<input type="password" name="password" id="login_password" placeholder="Enter Password" />
<input type="submit" value="Login"/>
</form>
<?php } else {
//If the user is loggedin the server
?>

<a href="index.php?module=account&action=view">My Account</a>
<a href="index.php?module=history">History</a>
<a href="index.php?module=account&action=logout">Logout</a>
<?php } ?>

Edited by JayPeeMateo
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...