


<?php include "header.php";?>


<div class="container">
  <div class="page-inner">
    <div class="d-flex align-items-left align-items-md-center flex-column flex-md-row pt-2 pb-4"  >
      <div>
        <h3 class="fw-bold mb-3">User Management</h3>
      </div>
    </div>


    <div class="row">
      <div class="col-md-6 col-sm-12">
        <div class="card">
          <div class="card-header">
            <div class="card-title">Add User</div>
          </div>
          <div class="card-body">
              <form role = "form" id="user_add"  name="user_add"  action="" method="post" >
            <div class="row">

                <div class="form-group">
                  <label>Username</label>
                  <input type="text" class="form-control" id="user_name"  pattern="[a-zA-Z\s ]+" oninput="validateName()"  minlength="4" maxlength="15" size="15" onKeyPress="if(this.value.length==15) return false;" placeholder="Enter Username" required>
                </div>

                <div class="form-group">
                  <label>Email Address</label>
                <input type="email" class="form-control" id="user_email" placeholder="Enter email address" required>
                </div>

                <div class="form-group">
                  <label>Mobile Number</label>
                <input type="number" class="form-control" id="user_mob" placeholder="Enter contact number"  pattern="[6789][0-9]{9}"  minlength="10" maxlength="10"   size="10"  onKeyPress="if(this.value.length==10) return false;"  required>

                </div>
            <div class="form-group">
              <button type="submit" class="btn btn-success">Submit</button>
              </div>
            </div>
          </form>
          </div>
        </div>
      </div>
    </div>





  </div>
</div>


<?php include "footer.php";?>
