<?php 
session_start();
include('constant/connect.php');
?>

<?php include('./constant/layout/head.php');?>
<?php include('./constant/layout/header.php');?>
<?php include('./constant/layout/sidebar.php');?>  

<div class="page-wrapper">

<div class="row page-titles">
    <div class="col-md-5">
        <h3 class="text-primary">Add Doctor</h3>
    </div>
</div>

<div class="container-fluid">

<div class="row">
<div class="col-lg-8" style="margin-left:10%;">
<div class="card">
<div class="card-body">

<form action="save_doctor.php" method="POST" enctype="multipart/form-data">

<div class="form-group">
<label>Doctor Name</label>
<input type="text" name="name" class="form-control" required>
</div>

<div class="form-group">
<label>Department</label>
<textarea name="department" class="form-control" required></textarea>
</div>

<div class="form-group">
<label>Image</label>
<input type="file" name="image" class="form-control" required>
</div>

<button type="submit" class="btn btn-success mt-3">
Add Doctor
</button>

</form>

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

</div>
</div>

<?php include('./constant/layout/footer.php');?>