<?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 Appointment</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_admin_appointment.php" method="POST">

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

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

<div class="form-group">
<label>Doctor</label>
<select name="doctor_id" class="form-control">
<option value="">Select Doctor</option>
<option value="ডা. রুহুল আমিন">ডা. রুহুল আমিন</option>
<option value="ডা. ফারজানা সুমি">ডা. ফারজানা সুমি</option>
<option value="ডা. সাজেদ">ডা. সাজেদ</option>
<option value="ডা. সোহেল">ডা. সোহেল</option>
<option value="ডা. নীলিমা">ডা. নীলিমা</option>
</select>
</div>

<div class="form-group">
<label>Date</label>
<input type="date" name="date" class="form-control" required>
</div>

<div class="form-group">
<label>Time</label>
<input type="time" name="time" class="form-control" required>
</div>

<button type="submit" class="btn btn-success mt-3">
Submit Appointment
</button>

</form>

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

</div>
</div>

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