Jump to content
MakeWebGames

Help need with adding new templates


lynm77

Recommended Posts

Hello All

I'm attempting to add new templates to a website I'm building.

But i can not figure out the following to get login to work correctly.

Here is the New login section on the new Template.

 

            <div class="loginsection"> <!-- start of login section -->

               <div class="exuser"><img src="images/existing_user.png" alt="" /></div>
               <div class="form">
                   <div class="ipt"><input type="text" name="name" id="name" value="Userlogin" onfocus="if(this.value=='Userlogin') this.value='';" onblur="if(this.value=='') this.value='Userlogin';" /></div> 
                   <div class="ipt"><input type="password" name="pwd" id="pwd" value="Password" onfocus="if(this.value=='Password') this.value='';" onblur="if(this.value=='') this.value='Password';" /></div>
                   <div class="forgot"><a href="#">Forgot Password?</a></div>
                   <div class="btn"><input type="submit" name="submit" id="submit" value=""  /></div>
                   <div class="signup">Not a member yet ? 
                       <br />
                      <a href="register.php" class="register_pop"><img src="images/signup_today.png" alt="" /></a>
                   </div>
               </div>

           </div> <!-- end of login section -->

 

And here is the login section before changing the with new Table

 

<legend>Login</legend>";
echo "<form action=authenticate.php method=post name=login onsubmit=\"return saveme();\">Username: <input type=text name=username><br>
Password: <input type=password name=password><br>
Remember me?<br />
<input type=\"radio\" value=\"ON\" name=\"save\">Yes <input type=\"radio\" name=\"save\" value=\"OFF\" checked>No
<input type=submit value=Submit></form></fieldset></td></tr></table><br>
<h3><a href='register.php'>REGISTER NOW!</a></h3><br />

 

Can someone please guide or help me please to make the changes to the new template so i can get the login to work correctly please.

Thank You

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...