MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/inventory/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/inventory/emp_add.php
<?php
session_start();
$se = $_SESSION["id"];
if (!isset($_SESSION['id'])) {
  header("Location: login.php");
}
include("include/db.php");;

?>
<!doctype html>
<html lang="en">


<!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:02 GMT -->
<head>


  <?php include 'include/head.php'; ?>
  <!-- twitter-bootstrap-wizard css -->
  <link rel="stylesheet" href="assets/libs/twitter-bootstrap-wizard/prettify.css">

  <!-- select2 css -->
  <link href="assets/libs/select2/css/select2.min.css" rel="stylesheet" type="text/css" />

         <!--  <style type="text/css">
            .twitter-bs-wizard .twitter-bs-wizard-nav .step-number {
    
    width: 100px;
   
}
</style> -->
</head>


<body>

  <!-- Begin page -->
  <div id="layout-wrapper">

   <?php include 'include/header.php'; ?>

   <!-- ========== Left Sidebar Start ========== -->
   <div class="vertical-menu">
    <?php include 'include/sidebar.php'; ?>
  </div>
  <!-- Left Sidebar End -->

  <!-- ============================================================== -->
  <!-- Start right Content here -->
  <!-- ============================================================== -->
  <div class="main-content">

    <div class="page-content">

      <!-- start page title -->
      <div class="page-title-box">
        <div class="container-fluid">
         <div class="row align-items-center">
           <div class="col-sm-6">
             <div class="page-title">
               <h4>New Employee</h4>
                                         <!-- <ol class="breadcrumb m-0">
                                             <li class="breadcrumb-item"><a href="javascript: void(0);">Morvin</a></li>
                                             <li class="breadcrumb-item"><a href="javascript: void(0);">Tables</a></li>
                                             <li class="breadcrumb-item active">Data Tables</li>
                                           </ol> -->
                                         </div>
                                       </div>
                                       <div class="col-sm-6">

                                       </div>
                                     </div>
                                   </div>
                                 </div>
                                 <!-- end page title -->    


                                 <div class="container-fluid">

                                  <div class="page-content-wrapper">



                                   <div class="row">
                                    <div class="col-lg-12">
                                      <div class="card">
                                        <div class="card-body">

                                          


                                          <form method="POST" action="action/emp_add.php">
                                            <div class="row">

                                              <div class="row" style="margin-bottom: 25px;">

                                                <div class="col-md-8">

                                                <!--   <div class="row">

                                                    <div class="col-md-3">
                                                      <label class="form-check-label" for="formCheck1">
                                                        Customer 
                                                      </label>
                                                    </div>

                                                    <div class="col-md-4">
                                                     <input type="radio" id="html" name="fav_language" value="Business" checked="">
                                                     <label class="form-check-label" for="formCheck1">
                                                      Business
                                                    </label>
                                                  </div>

                                                  <div class="col-md-4">
                                                    <input type="radio" id="html" name="fav_language" value="Individual">
                                                    <label class="form-check-label" for="formCheck1">
                                                      Individual
                                                    </label>
                                                  </div>

                                                </div>

                                                <br> -->







                                   </div>

                                   <div class="col-md-4">


                                   </div>

                                 </div>

                                 <br><br>

                                 <div class="row">
                                  <div class="col-lg-12">
                                    <div class="card">
                                      <div class="card-body">

                                        <div id="addproduct-nav-pills-wizard" class="twitter-bs-wizard">
                                            <ul class="twitter-bs-wizard-nav">
                                            <li class="nav-item add-product-border">
                                              <a href="#other" class="nav-link" data-toggle="tab">
                                                <span class="step-number">Basic</span>
                                              </a>
                                            </li>
                                            <li class="nav-item add-product-border">
                                              <a href="#add" class="nav-link" data-toggle="tab">
                                                <span class="step-number">Salary Detail</span>
                                              </a>
                                            </li>

                                            <li class="nav-item">
                                              <a href="#contactperson" class="nav-link" data-toggle="tab">
                                                <span class="step-number">Personal Info</span>
                                              </a>
                                            </li>

                                           

                                            <li class="nav-item">
                                              <a href="#remark" class="nav-link" data-toggle="tab">
                                                <span class="step-number">Payment Info</span>
                                              </a>
                                            </li>


                                          </ul>
                                          <!-- ebd ul -->
                                                 <div class="tab-content twitter-bs-wizard-tab-content">

                                            <!-- end tabpane -->

                                            <div class="tab-pane" id="other">

                                              <div class="row" style="margin-bottom: 25px;">

                                                <div class="col-md-12">


                                                  <label class="form-check-label" for="formCheck1">
                                                    Other Details
                                                  </label>

                                                  <br>






                                                  <br>

                                                  <div class="row">

                                                   

                                                    <div class="col-md-4">
                                                     <label class="form-check-label" for="formCheck1">
                                                        Employee Name
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="efname" placeholder="Enter First Name">

                                                   </div>

                                                   <div class="col-md-4">
                                                    <label class="form-check-label" for="formCheck1">
                                                       
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="emidname" placeholder="Enter Middle Name">

                                                   </div>

                                                   <div class="col-md-4">
                                                     <label class="form-check-label" for="formCheck1">
                                                       
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="elname" placeholder="Enter last Name">

                                                   </div>



                                                 </div>

                                                 <br>

                                                

                                              <br>

                                              <div class="row">

                                                <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                        Employee ID
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="empid" >

                                                   </div>
                                               

                                               <div class="col-md-6">
                                                <label class="form-check-label" for="formCheck1">
                                                        Gender
                                                      </label>
                                                 <select class="form-select" id="gender" name="gender">

                                                  <option value="">Select</option>

                                                                <option value="Male">Male</option>
                                                                <option value="FeMale">FeMale</option>

                                                                <option value="others">others</option>
                                                               

                                                </select>

                                              </div>



                                              </div>

                                            <br>

                                            <div class="row">

                                                <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                        Date of Joining
                                                      </label>
                                                     <input class="form-control" type="date"  id="example-text-input" name="jdate" >

                                                   </div>
                                               

                                               <div class="col-md-6">
                                                <label class="form-check-label" for="formCheck1">
                                                        Designation
                                                      </label>
                                                 <select class="form-select" id="designation" name="designation">

                                                  <option value="">Select</option>

                                                  
                                                   <?php
                                                                  $sql = "select * from tbl_desig  ";
                                                                  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
                                                                  while ($marriage = mysqli_fetch_assoc($sql_res)){                                             
                                                                  ?>
                                                                    <option value="<?php echo $marriage['id'];?>"><?php echo $marriage['name'];?></option>
                                                                    
                                                                    <?php } ?>

                                                        
                                                               

                                                </select>

                                              </div>



                                              </div>

                                           
                                          <br>

                                          <div class="row">

                                                <div class="col-md-12">
                                                 <label class="form-check-label" for="formCheck1">
                                                      Work  Email 
                                                      </label>
                                                     <input class="form-control" type="email"  id="example-text-input" name="wemail" >

                                                   </div>

                                          </div>

                                       <br>

                                        <div class="row">

                                               
                                               

                                               <div class="col-md-6">
                                                <label class="form-check-label" for="formCheck1">
                                                        Department
                                                      </label>
                                                 <select class="form-select" id="depa" name="depa">

                                                  <option value="">Select</option>

                                                   <?php
                                                                  $sql = "select * from tbl_departmrnt  ";
                                                                  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
                                                                  while ($marriage = mysqli_fetch_assoc($sql_res)){                                             
                                                                  ?>
                                                                    <option value="<?php echo $marriage['id'];?>"><?php echo $marriage['name'];?></option>
                                                                    
                                                                    <?php } ?>
                                                        
                                                               

                                                </select>

                                              </div>

                                               <div class="col-md-6">
                                                <label class="form-check-label" for="formCheck1">
                                                       Work Location
                                                      </label>
                                                 <select class="form-select" id="wloc" name="wloc">

                                                   <option value="">Choose</option>
                                                                <?php
                                                                  $sql = "select * from tbl_work_loc  ";
                                                                  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
                                                                  while ($marriage = mysqli_fetch_assoc($sql_res)){                                             
                                                                  ?>
                                                                    <option value="<?php echo $marriage['id'];?>"><?php echo $marriage['name'];?></option>
                                                                    
                                                                    <?php } ?>

                                                        
                                                               

                                                </select>

                                              </div>



                                              </div>

                                           
                                          <br>


                                     </div>

                                   </div>



                                 </div>

                                 <!-- end tabpane -->

                                 <div class="tab-pane" id="add">

                                  

                                   <div class="row" style="margin-bottom: 25px;">

                                      <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Annual CTC
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="actc" >

                                                   </div>

                                                     <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       MONTHLY CTC
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="mctc" >

                                                   </div>
               
                                  </div>
                                </div>


                                <div class="tab-pane" id="contactperson">
                                     <div class="row">
                                        
                                        <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Personal Email Address
                                                      </label>
                                                     <input class="form-control" type="email"  id="example-text-input" name="pemail" >

                                                   </div>

                                                     <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Mobile Number
                                                      </label>
                                                     <input class="form-control" type="number"  id="example-text-input" name="mno" >

                                                   </div>

                                    </div>

                                     <div class="row">

                                                 <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Date of Birth
                                                      </label>
                                                     <input class="form-control" type="date"  id="example-text-input" name="dob" >

                                                   </div>

                                                     <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Age
                                                      </label>
                                                     <input class="form-control" type="number"  id="example-text-input" name="age" >

                                                   </div>

                                    </div>

                                    <div class="row">

                                                 <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Father Name
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="fathername" >

                                                   </div>

                                                     <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       PAN
                                                      </label>
                                                     <input class="form-control" type="number"  id="example-text-input" name="pan" >

                                                   </div>

                                    </div>
                                      <div class="row">

                                         <div class="col-md-12">
                                                 <label class="form-check-label" for="formCheck1">
                                                      Residential Address
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="addo" placeholder="Address Line 1">

                                                   </div>
                                                   <br><br>
                                                   <div class="col-md-12">
                                                 
                                                     <input class="form-control" type="text"  id="example-text-input" name="addt" placeholder="Address Line 2">

                                                   </div>

                                                   

                                                   <div class="col-md-4">
                                                 <label class="form-check-label" for="formCheck1">
                                                       State
                                                      </label>
                                                        <select class="form-select" id="state" name="state">
                                                    <option value="">Choose</option>
                                                                <?php
                                                                  $sql = "select * from states where country_id='101'  ";
                                                                  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
                                                                  while ($marriage = mysqli_fetch_assoc($sql_res)){                                             
                                                                  ?>
                                                                    <option value="<?php echo $marriage['id'];?>"><?php echo $marriage['name'];?></option>
                                                                    
                                                                    <?php } ?>

                                                                    </select>

                                                   </div>

                                                    <div class="col-md-4">
                                                 <label class="form-check-label" for="formCheck1">
                                                       City
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="city" >

                                                   </div>

                                                    <div class="col-md-4">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Pincode
                                                      </label>
                                                     <input class="form-control" type="number"  id="example-text-input" name="pincode" >

                                                   </div>

                                      </div>
                                </div><!-- end col -->
<!-- end col -->

<!-- end row -->

<!-- end form -->

<!-- end ul -->


<!-- <div class="tab-pane" id="customfield">

 <h4 class="header-title">Custom Fields</h4>


</div> -->

<!-- <div class="tab-pane" id="reportiong">

 <h4 class="header-title">Reporting Tags</h4>


</div> -->

<div class="tab-pane" id="remark">



    <div class="row">
        <div class="row">

                                                 <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                      Account Holder Name
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="accname" >

                                                   </div>

                                                     <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Bank Name
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="bname" >

                                                   </div>

                                    </div>
      <!-- end col -->
      <!-- end col -->
    </div>

     <div class="row">
        <div class="row">

                                                 <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                      Account Number
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="accno" >

                                                   </div>

                                                     <div class="col-md-6">
                                                 <label class="form-check-label" for="formCheck1">
                                                       Ifsc Code
                                                      </label>
                                                     <input class="form-control" type="text"  id="example-text-input" name="icode" >

                                                   </div>

                                    </div>
      <!-- end col -->
      <!-- end col -->
    </div>

  <!-- end form -->

  <!-- end ul -->
</div>
</div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                        </div>

                                      </div>
                                    </div>
                                  </div>
                                </div>

                       






</div>
<div>
  <button class="btn btn-primary" type="submit">Save</button>
  <button class="btn btn-info" type="submit">cancel</button>
</div>
</form>

</div>
</div>
<!-- end col -->
</div>
<!-- end row -->



</div>


</div> <!-- container-fluid -->
</div>
<!-- End Page-content -->



<footer class="footer">
 <?php include 'include/footer.php'; ?>
</footer>
</div>
<!-- end main content-->

</div>
<!-- END layout-wrapper -->

<!-- Right Sidebar -->

<!-- /Right-bar -->

<!-- Right bar overlay-->
<div class="rightbar-overlay"></div>

<!-- JAVASCRIPT -->
<?php include 'include/bscript.php'; ?>

<!-- twitter-bootstrap-wizard js -->
<script src="assets/libs/twitter-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>

<script src="assets/libs/twitter-bootstrap-wizard/prettify.js"></script>

<!-- select 2 plugin -->
<script src="assets/libs/select2/js/select2.min.js"></script>

<!-- dropzone plugin -->
<script src="assets/libs/dropzone/min/dropzone.min.js"></script>

<!-- init js -->
<script src="assets/js/pages/ecommerce-add-product.init.js"></script>

 <script type="text/javascript">
     $(document).ready(function() {
            $('#country').on('change', function() {
                var conID = $(this).val();
                // alert(conID);
                $.ajax({  
                    type: 'POST',  
                    url: 'Ajax/get_state.php', 
                    data: {state: conID },
                    success: function(response) {
                        // alert(response);
                         $('#State').html(response);
        // content.html(response);
    }
});
            });
        });
</script>

<script type="text/javascript">
     $(document).ready(function() {
            $('#State').on('change', function() {
                var stateID = $(this).val();
                // alert(conID);
                $.ajax({  
                    type: 'POST',  
                    url: 'Ajax/get_state.php', 
                    data: {city: stateID },
                    success: function(response) {
                        // alert(response);
                         $('#city').html(response);
        // content.html(response);
    }
});
            });
        });
</script>

<script type="text/javascript">
     $(document).ready(function() {
            $('#countrys').on('change', function() {
                var conID = $(this).val();
                // alert(conID);
                $.ajax({  
                    type: 'POST',  
                    url: 'Ajax/get_state.php', 
                    data: {state: conID },
                    success: function(response) {
                        // alert(response);
                         $('#States').html(response);
        // content.html(response);
    }
});
            });
        });
</script>

<script type="text/javascript">
     $(document).ready(function() {
            $('#States').on('change', function() {
                var stateID = $(this).val();
                // alert(conID);
                $.ajax({  
                    type: 'POST',  
                    url: 'Ajax/get_state.php', 
                    data: {city: stateID },
                    success: function(response) {
                        // alert(response);
                         $('#citys').html(response);
        // content.html(response);
    }
});
            });
        });
</script>

<script>
$(document).ready(function(){
    $("#clname").on("change", function(){
      var lname = $(this).val();
        // Print entered value in a div box
       var sal = $('#salutation').val();
       var cfname = $('#cfname').val();

       

        var mixed = (sal + ' ' + cfname+ ' ' + lname);

       $('#c_name_dis').val(mixed);

        // $("#result").text($(this).val());

       //  alert(sal);
       // alert(cfname);
       // alert(lname)
    });
});
</script>

</body>


<!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:42 GMT -->
</html>

MMCT - 2023