<!-- Header -->

<div class="header">

			

            <!-- Logo -->

            <div class="header-left">

                <a href="#" class="logo">

                    <img src="assets/images/logo1.png" alt="Logo" >

                </a>

                <a href="#" class="logo logo-small">

                    <img src="assets/images/logo1.png" alt="Logo" height="20" style=" margin-left: -4px; height: 58px;  width: 37px;">

                </a>

            </div>

            <!-- /Logo -->

            

            <a href="javascript:void(0);" id="toggle_btn">

                <i class="fe fe-text-align-left"></i>

            </a>

            

            <!-- <div class="top-nav-search">

                <form>

                    <input type="text" class="form-control" placeholder="Search here">

                    <button class="btn" type="submit"><i class="fa fa-search"></i></button>

                </form>

            </div> -->

            

            <!-- Mobile Menu Toggle -->

            <a class="mobile_btn" id="mobile_btn">

                <i class="fa fa-bars"></i>

            </a>

            <!-- /Mobile Menu Toggle -->

            

            <!-- Header Right Menu -->

            <ul class="nav user-menu">



                <!-- Notifications -->

                <!-- <li class="nav-item dropdown noti-dropdown">

                    <a href="#" class="dropdown-toggle nav-link" data-bs-toggle="dropdown">

                        <i class="fe fe-bell"></i> <span class="badge rounded-pill">3</span>

                    </a>

                    <div class="dropdown-menu notifications">

                        <div class="topnav-dropdown-header">

                            <span class="notification-title">Notifications</span>

                            <a href="javascript:void(0)" class="clear-noti"> Clear All </a>

                        </div>

                        <div class="noti-content">

                            <ul class="notification-list">

                                <li class="notification-message">

                                    <a href="#">

                                        <div class="media d-flex">

                                            <span class="avatar avatar-sm flex-shrink-0">

                                                <img class="avatar-img rounded-circle" alt="User Image" src="assets/img/doctors/doctor-thumb-01.jpg">

                                            </span>

                                            <div class="media-body flex-grow-1">

                                                <p class="noti-details"><span class="noti-title">Dr. Ruby Perrin</span> Schedule <span class="noti-title">her appointment</span></p>

                                                <p class="noti-time"><span class="notification-time">4 mins ago</span></p>

                                            </div>

                                        </div>

                                    </a>

                                </li>

                                <li class="notification-message">

                                    <a href="#">

                                        <div class="media d-flex">

                                            <span class="avatar avatar-sm flex-shrink-0">

                                                <img class="avatar-img rounded-circle" alt="User Image" src="assets/img/patients/patient1.jpg">

                                            </span>

                                            <div class="media-body flex-grow-1">

                                                <p class="noti-details"><span class="noti-title">Charlene Reed</span> has booked her appointment to <span class="noti-title">Dr. Ruby Perrin</span></p>

                                                <p class="noti-time"><span class="notification-time">6 mins ago</span></p>

                                            </div>

                                        </div>

                                    </a>

                                </li>

                                <li class="notification-message">

                                    <a href="#">

                                        <div class="media d-flex">

                                            <span class="avatar avatar-sm flex-shrink-0">

                                                <img class="avatar-img rounded-circle" alt="User Image" src="assets/img/patients/patient2.jpg">

                                            </span>

                                            <div class="media-body flex-grow-1">

                                            <p class="noti-details"><span class="noti-title">Travis Trimble</span> sent a amount of $210 for his <span class="noti-title">appointment</span></p>

                                            <p class="noti-time"><span class="notification-time">8 mins ago</span></p>

                                            </div>

                                        </div>

                                    </a>

                                </li>

                                <li class="notification-message">

                                    <a href="#">

                                        <div class="media d-flex">

                                            <span class="avatar avatar-sm flex-shrink-0">

                                                <img class="avatar-img rounded-circle" alt="User Image" src="assets/img/patients/patient3.jpg">

                                            </span>

                                            <div class="media-body flex-grow-1">

                                                <p class="noti-details"><span class="noti-title">Carl Kelly</span> send a message <span class="noti-title"> to his doctor</span></p>

                                                <p class="noti-time"><span class="notification-time">12 mins ago</span></p>

                                            </div>

                                        </div>

                                    </a>

                                </li>

                            </ul>

                        </div>

                        <div class="topnav-dropdown-footer">

                            <a href="#">View all Notifications</a>

                        </div>

                    </div>

                </li> -->

                <!-- /Notifications -->

                

                <!-- User Menu -->

                <li class="nav-item dropdown has-arrow">

                    <a href="#" class="dropdown-toggle nav-link" data-bs-toggle="dropdown">

                        <span class="">

                            <img class="rounded-circle" src="<?php echo $img_url_user_main.$getEditDataAdmin['image']; ?>" width="40px" alt="Ryan Taylor"  height="40px" onerror="this.src='assets/images/placeholder.png';"> 

                            <?php echo $getEditDataAdmin['name']; ?>

                            

                        </span>

                    </a>

                    <div class="dropdown-menu">

                        <div class="user-header">

                            <div class="avatar avatar-sm">

                                <img src="<?php echo $img_url_user_main.$getEditDataAdmin['image']; ?>"  alt="User Image"  onerror="this.src='assets/images/placeholder.png';" alt="User Image" class=" rounded-circle">

                            </div>

                            <div class="user-text" style="margin-top: 10px;">

                                <h6><?php echo $getEditDataAdmin['name']; ?></h6>

                                <!-- <p class="text-muted mb-0">Administrator</p> -->

                            </div>

                        </div>

                        <a class="dropdown-item" href="profile.php">Profile</a>

                        <!-- <a class="dropdown-item" href="settings.html">Settings</a> -->

                        <a class="dropdown-item" href="#" id="logout_admin">Logout</a>

                    </div>

                </li>

                <!-- /User Menu -->

                

            </ul>

            <!-- /Header Right Menu -->

            

        </div>

        <!-- /Header -->
     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>



              <!-- SweetAlert2 -->



  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.26.9/sweetalert2.min.css">







  <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.26.9/sweetalert2.all.min.js"></script>











<script type="text/javascript">



 



    $("#logout_admin").click(function() {



        // alert();



        Swal({



            title: 'Are you sure you want to logout?',



            type: 'warning',



            showCancelButton: true,



            cancelButtonText: 'No',



            cancelButtonColor: '#EC1C25',
            // cancelButtonColor: '#d33',



            confirmButtonText: 'Yes',



            confirmButtonColor: '#215AB9',



            reverseButtons: true



        }).then((result) => {



        if (result.value) {



            window.location = "logout.php";



        }



        else{



            return false;



        }



        })



    });



</script>
