<?php require 'lock.php' ?>
<!DOCTYPE html>
<html lang="en">
<?php require 'head.php'; ?>
<body>
    <!-- Loader starts-->
    <div class="loader-wrapper">
      <div class="theme-loader">    
        <div class="loader-p"></div>
      </div>
    </div>
    <!-- Loader ends-->
    <!-- page-wrapper Start-->
    <div class="page-wrapper" id="pageWrapper">
      <?php include 'top.php'; ?>
      <!-- Page Header Ends                              -->
      <!-- Page Body Start-->
      <div class="page-body-wrapper horizontal-menu">
        <?php include 'header.php'; ?>
        <!-- Page Sidebar Ends-->
        <div class="page-body">
          <div class="container-fluid">
            <div class="page-header">
              <div class="row">
                <div class="col-sm-6">
                  <h3>User Add</h3>
                  <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="index">Home</a></li>
                    <li class="breadcrumb-item active">User Add</li>
                  </ol>
                </div>
                <div class="col-sm-6">
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid starts-->
           <div class="container-fluid">
            <div class="edit-profile">
              <div class="row">
			  
			   <div class="col-md-12 project-list">
                <div class="card">
                  <div class="row">
                    <div class="col-md-8 p-0">
                    </div>
                    <div class="col-md-4 p-0">                    
                      <div class="form-group mb-0 me-0"></div>
					  <a class="btn btn-primary" href="user-list"> <i data-feather="plus-square"> </i> User List </a>
                    </div>
                  </div>
                </div>
              </div>
                
                <div class="col-xl-12">
                  <form class="card" action="user-db.php" method="post" enctype="multipart/form-data">
                  <input type="hidden" class="form-control" name="usergetid" value="0"/>
                    <div class="card-body">
                      <div class="row">
      
                        <div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">Name <sup class="text-danger">*</sup></label>
                            <input class="form-control" type="text" placeholder="Full Name" name="user_name" required >
                          </div>
                        </div>
                        <div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">Email address <sup class="text-danger">*</sup></label>
                            <input class="form-control" type="email" placeholder="Email" name="user_email" required>
                          </div>
                        </div>
                        <div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">Phone No (WhatsApp No) <sup class="text-danger">*</sup></label>
                            <input class="form-control" type="text" placeholder="Mobile No" name="user_mobile" required>
                          </div>
                        </div>
						<div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">Password <sup class="text-danger">*</sup></label>
                            <input class="form-control" type="password" placeholder="******" name="user_password" required>
                          </div>
                        </div>
                        <div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">Department <sup class="text-danger">*</sup></label>
                            <select class="form-control btn-square" name="user_department" required>
                              <option value="0">--Select--</option>
                              <option value="HR">HR</option>
                              <option value="Accounts">Accounts</option>
                              <option value="Sales">Sales</option>
                              <option value="Marketing">Marketing</option>
                              <option value="IT">IT</option>
                              <option value="Support">Support</option>
                              <option value="Admin">Admin</option>
                              <option value="Production">Production</option>
                              <option value="Logistics">Logistics</option>
                            </select>
                          </div>
                        </div>
						
						<div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">User Type <sup class="text-danger">*</sup></label>
                            <select class="form-control btn-square" name="user_type" required>
                              <option value="0">--Select--</option>
                              <option value="Manager">Manager</option>
                              <option value="Depertment Head">Depertment Head</option>
                              <option value="User">User</option>
                            </select>
                          </div>
                        </div>
						
						<div class="col-sm-6 col-md-6">
                          <div class="mb-3">
                            <label class="form-label">User Photo <sup class="text-danger"></sup></label>
                            <input type="file" name="user_photo" class="form-control">
                          </div>
                        </div>
						
                      </div>
                    </div>
                    <div class="card-footer text-end">
                      <button class="btn btn-primary" name="usergetadd" type="submit"> Submit </button>
                    </div>
                  </form>
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid Ends-->
        </div>
        
		<?php include 'footer.php'; ?>
  </body>
</html>