pojiejapan Posted December 29, 2011 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 126 Reputation: 6 Joined: 11/18/11 Last Seen: February 19, 2015 Share Posted December 29, 2011 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. 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 Link to comment Share on other sites More sharing options...
JayPee Posted December 29, 2011 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted December 29, 2011 What Control Panel you use? Link to comment Share on other sites More sharing options...
pojiejapan Posted December 29, 2011 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 126 Reputation: 6 Joined: 11/18/11 Last Seen: February 19, 2015 Author Share Posted December 29, 2011 Hello sir,, this is my CP http://www.dotaragnarok.com/cp/ Link to comment Share on other sites More sharing options...
JayPee Posted December 29, 2011 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted December 29, 2011 (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 December 29, 2011 by JayPeeMateo Link to comment Share on other sites More sharing options...
pojiejapan Posted December 29, 2011 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 126 Reputation: 6 Joined: 11/18/11 Last Seen: February 19, 2015 Author Share Posted December 29, 2011 Err. How do I put the box there sir? Link to comment Share on other sites More sharing options...
JayPee Posted December 29, 2011 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted December 29, 2011 You need to find it using a Text editor i recommend Notepad++ and find that portion in the code Link to comment Share on other sites More sharing options...
pojiejapan Posted December 29, 2011 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 126 Reputation: 6 Joined: 11/18/11 Last Seen: February 19, 2015 Author Share Posted December 29, 2011 Ah Im lost, nevermind sir, thank you so much for your fast help sir. 1 Link to comment Share on other sites More sharing options...
Question
pojiejapan
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.
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
Link to comment
Share on other sites
6 answers to this question
Recommended Posts