<div class="loginbox">
      <form name="mlmlogin" method="post" action="/login.php?section=login">
          <img src="/../images/avatar.jpg" alt="useravatar"class="user">  
          <h2>Login</h2>
          <p>Username</p>
          <input type="text" name="username" placeholder="Enter Username...">
          <p>Password</p> 
          <input type="password" name="password" placeholder="********">
          <input type="submit" name="submit" value="Login">

          <div><p style="color: red;text-align: center;"><?php echo $error;?></p></div>

          <a href="/login.php?section=reset">Forgot Password</a>
          <p style="font-weight: normal;margin-top: 24px;text-align: center;">Not yet a member? <a href="register/index.php">Register here</a></p>
      </form>
</div><!--loginbox-->  