<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> 
<title><?php echo (isset($page_title) ? ucwords($page_title) : ""); ?>  </title>
<meta property="og:url" content="https://synergyhospital.co.in" />
<meta property="og:type" content="website" />
<meta content='Synergy Superspeciality Hospital, Rajkot' property='og:title'/>
<meta content='Synergy Superspeciality Hospital, Rajkot' property='og:description'/>
<meta property="og:image" content="https://synergyhospital.co.in/assets/images/synergy-logo-2.jpg" />
<link rel="shortcut icon" href="<?php echo $favicon = $this->config->item('front_url') . "assets/images/favicon.png"; ?>" type="image/x-icon">
<link rel="icon" href="<?php echo $favicon = $this->config->item('front_url') . "assets/images/favicon.png"; ?>" type="image/x-icon">      
<link href="<?php echo base_url(); ?>assets/libs/datatables.net-bs5/css/dataTables.bootstrap5.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo base_url(); ?>assets/libs/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo base_url(); ?>assets/libs/datatables.net-fixedheader-bs5/css/fixedHeader.bootstrap5.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/libs/sweetalert2/sweetalert2.min.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/libs/simplebar/simplebar.min.css">
<link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" id="bootstrap-style" rel="stylesheet" type="text/css">
<link href="<?php echo base_url(); ?>assets/css/icons.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo base_url(); ?>assets/css/dropzone.css" rel="stylesheet" type="text/css">
<link href="<?php echo base_url(); ?>assets/css/app.min.css" id="app-style" rel="stylesheet" type="text/css">
<script type="text/javascript">
    var BASEURL = "<?php echo base_url(); ?>";
    var CONTROLLER = "<?php echo (isset($controller) ? ucwords($controller) : ""); ?>";
</script>
</head>
<body>
<div id="layout-wrapper">
    <header id="page-topbar">
        <div class="navbar-header">
            <div class="navbar-logo-box">
                <a href="index.html" class="logo logo-dark">
                    <span class="logo-sm">
                        <img src="<?php echo $this->config->item('front_url'); ?>assets/images/synergy-logo-2.jpg" height="22">
                    </span>
                    <span class="logo-lg">
                        <img src="<?php echo $this->config->item('front_url'); ?>assets/images/admin-logo.jpg" height="40">
                    </span>
                </a>
                <a href="index.html" class="logo logo-light">
                    <span class="logo-sm">
                        <img src="<?php echo $this->config->item('front_url'); ?>assets/images/synergy-logo-2.jpg" alt="logo-sm-light" height="22">
                    </span>
                    <span class="logo-lg">
                        <img src="<?php echo $this->config->item('front_url'); ?>assets/images/admin-logo.jpg" alt="logo-light" height="20">
                    </span>
                </a>
                <button type="button" class="btn btn-icon top-icon sidebar-btn" id="sidebar-btn" aria-label="Toggle navigation"><i class="mdi mdi-menu-open align-middle fs-17"></i></button>
                <button type="button" class="btn btn-icon top-icon sidebar-horizontal-btn d-none" aria-label="Toggle navigation"><i class="mdi mdi-menu align-middle fs-17"></i></button>
            </div>
            <div class="d-flex justify-content-between menu-sm px-4 ms-auto">
                <div class="d-flex align-items-center gap-2"> 
                </div>
                <div class="d-flex align-items-center gap-3">
                    <div class="mt-2 pt-1">  
                        <div class="alert alert-success alert-dismissible">
                            <div class="alert-icon"><i class="mdi mdi-check-all mr-2"></i></div>
                            <div class="alert-content">
                                <span class="alert-success-msg"></span>
                            </div>
                            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                        </div> 
                        <div class="alert alert-danger alert-dismissible">
                            <div class="alert-icon"><i class="mdi mdi-block-helper mr-2"></i></div>
                            <div class="alert-content">
                                <span class="alert-danger-msg"></span>
                            </div>
                            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                        </div> 
                    </div>
                    <div class="dropdown d-inline-block ps-3 ms-2 border-start admin-user-info">
                        <button type="button" aria-label="profile" class="btn btn-sm p-0" id="page-header-user-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <span class="avatar avatar-xs p-1 d-inline-block">
                                <img src="<?php echo base_url(); ?>assets/images/synergy-logo-2.jpg" class="img-fluid">
                            </span>
                            <span class="d-none d-xl-inline-block ms-1 fw-semibold fs-14 admin-name"> Synergy Superspeciality Hospital</span>
                            <i class="mdi mdi-chevron-down align-middle fs-16 d-none d-xl-inline-block"></i>
                        </button>
                        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end dropdown-menu-animated overflow-hidden py-0">
                            <div class="card mb-0">
                                <div class="card-header">
                                    <div class="rich-list-item w-100 p-0">
                                        <div class="rich-list-prepend">
                                            <span class="rounded avatar-sm p-1 bg-body d-flex">
                                                <img src="<?php echo base_url(); ?>assets/images/synergy-logo-2.jpg" class="img-fluid">
                                            </span>
                                        </div>
                                        <div class="rich-list-content">
                                            <h3 class="rich-list-title fs-13 mb-1">Synergy Superspeciality Hospital</h3>
                                            <span class="rich-list-subtitle"><?php echo $this->session->userdata('username'); ?></span>
                                        </div>
                                    </div>
                                </div> 
                                <div class="card-footer card-footer-bordered rounded-0 border-top text-end"><a href="<?php echo base_url('logout'); ?>" class="btn btn-label-danger">Sign Out</a></div> 
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header> 
    <div class="sidebar-backdrop" id="sidebar-backdrop"></div>
    <div class="sidebar-left vertical-sidebar">
    
        <div class="sidebar-slide h-100">
      <div id="sidebar-menu">
    <ul class="left-menu list-unstyled" id="side-menu"> 
        <!-- <li>
            <a href="<?php echo base_url('dashboard'); ?>">
                <i class="mdi mdi-compass-outline"></i>
                <span>Dashboard</span>
            </a>
        </li>    -->
        
        <?php $get_id =  $this->session->userdata('user_id');
            if($get_id == "3")
            {
        ?>
            <li>
              <a href="<?php echo base_url('career'); ?>">
                <i class="mdi mdi-briefcase-outline"></i>
                <span>Career</span>
              </a>
            </li>
            
             <li>
              <a href="<?php echo base_url('apply-job'); ?>">
                <i class="mdi mdi-file-account-outline"></i>
                <span>Apply for Job</span>
              </a>
            </li>
        <?php
            } else {
        ?>
          <li>
            <a href="<?php echo base_url('slider'); ?>">
                <i class="mdi mdi-image-multiple-outline"></i>
                <span>Slider </span>
            </a>
        </li>      
        <li>
            <a href="javascript:void(0);" class="has-arrow">
                <i class="mdi mdi-information-outline"></i>
                <span>About Us</span>
            </a>
            <ul class="sub-menu">
                <li><a href="<?php echo base_url('management'); ?>">Management</a></li>
                <li><a href="<?php echo base_url('facilities'); ?>">Facility</a></li>
                 
            </ul>
        </li>      
        <li>
            <a href="<?php echo base_url('specialities'); ?>">
                <i class="mdi mdi-star-outline"></i>
                <span>Specialities</span>
            </a>
        </li>      
        <li>
            <a href="<?php echo base_url('doctors'); ?>">
                <i class="mdi mdi-doctor"></i>
                <span>Doctors</span>
            </a>
        </li>       
        <li>
            <a href="javascript:void(0);" class="has-arrow">
                <i class="mdi mdi-image-multiple"></i>
                <span>Gallery</span>
            </a>
            <ul class="sub-menu">
                <li><a href="<?php echo base_url('image-category'); ?>">Image Category</a></li>
                <li><a href="<?php echo base_url('image-gallery'); ?>">Image Gallery</a></li>
                <li><a href="<?php echo base_url('event-category'); ?>">Event Category</a></li>
                <li><a href="<?php echo base_url('event-gallery'); ?>">Event Gallery</a></li>
                <li><a href="<?php echo base_url('video-category'); ?>">Video Category</a></li>
                <li><a href="<?php echo base_url('videogallery'); ?>">Video Gallery</a></li>
            </ul>
        </li>    
        <li>
            <a href="javascript:void(0);" class="has-arrow">
                <i class="mdi mdi-medical-bag"></i>
                <span>Services</span>
            </a>
            <ul class="sub-menu">
                <li><a href="<?php echo base_url('helth-package'); ?>">Health Package</a></li>
                <li><a href="<?php echo base_url('equipment'); ?>">Services</a></li>
                <li><a href="<?php echo base_url('equipment_image'); ?>">Service's Images</a></li>
            </ul>
        </li>       
        <li>
            <a href="javascript:void(0);" class="has-arrow">
                <i class="mdi mdi-newspaper"></i>
                <span>News & Events</span>
            </a>
            <ul class="sub-menu">
                <li><a href="<?php echo base_url('news-events'); ?>">News & Events</a></li>
                <li><a href="<?php echo base_url('certificates'); ?>">Certificates</a></li>
                <li><a href="<?php echo base_url('awards'); ?>">Awards & Achievements</a></li>
                <li><a href="<?php echo base_url('press-release'); ?>">Press Release</a></li>
                <li><a href="<?php echo base_url('text-testimonials'); ?>">Text Testimonial</a></li>
                <li><a href="<?php echo base_url('video-testimonials'); ?>">Video Testimonial</a></li>
                <li><a href="<?php echo base_url('bmw-reports'); ?>">BMW Report</a></li>
            </ul>
        </li>      
        <li>
            <a href="<?php echo base_url('blogs'); ?>">
                <i class="mdi mdi-post-outline"></i>
                <span>Blog</span>
            </a>
        </li> 
         <li>
  <a href="<?php echo base_url('peripheral-opds'); ?>">
    <i class="mdi mdi-hospital-building"></i>
    <span>Peripheral OPDs</span>
  </a>
</li>
<li>
  <a href="<?php echo base_url('career'); ?>">
    <i class="mdi mdi-briefcase-outline"></i>
    <span>Career</span>
  </a>
</li>

 <li>
  <a href="<?php echo base_url('apply-job'); ?>">
    <i class="mdi mdi-file-account-outline"></i>
    <span>Apply for Job</span>
  </a>
</li>


        <li>
            <a href="javascript:void(0);" class="has-arrow">
                <i class="mdi mdi-cog-outline"></i>
                <span>Extra</span>
            </a>
            <ul class="sub-menu">
                <li><a href="<?php echo base_url('tpa-insurance'); ?>">TPAs / Insurance</a></li>
                <li><a href="<?php echo base_url('admin_email_format'); ?>">Admin Email Format</a></li>
                <li><a href="<?php echo base_url('email_format'); ?>">Email Format</a></li>
            </ul>
        </li>
        <li>
            <a href="javascript:void(0);" class="has-arrow">
                <i class="mdi mdi-email-outline"></i>
                <span>Email</span>
            </a>
            <ul class="sub-menu">
                <li><a href="<?php echo base_url('book_an_appointment'); ?>">Book Appointments</a></li>
                <li><a href="<?php echo base_url('book_a_health_checkup'); ?>">Book Health Checkups</a></li>
                <li><a href="<?php echo base_url('get_an_estimate'); ?>">Get An Estimate</a></li>
            </ul>
        </li>
        <li>
          <a href="<?php echo base_url('star-synergy-specialities'); ?>">
            <i class="mdi mdi-star-outline"></i>
            <span>Star Synergy Special</span>
          </a>
        </li>
        <?php
            }  
        ?>
    </ul>
</div>
<style>  

.vertical-sidebar {
    height: 100vh;
}
.sidebar-slide {
    height: 100%;
    overflow-y: auto;
}
.sidebar-slide::-webkit-scrollbar {
    width: 6px;
}
.sidebar-slide::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}
.sidebar-slide::-webkit-scrollbar-track {
    background: transparent;   
    
}
 
#side-menu > li.active > a,
#side-menu > li.mm-active > a {
    background-color: #0016A3 !important;
    color: #000 !important;
    font-weight: 600;
}

 
.vertical-sidebar .sub-menu li.active > a,
.vertical-sidebar .sub-menu li.mm-active > a {
    background-color: #0016A3 !important;  
    color: #000000 !important;           
    font-weight: 600;
    border-left: 4px solid #0016A3 ; 
             
}
.vertical-sidebar .sub-menu li a:hover {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

.vertical-sidebar .sub-menu li a {
    
    color: #000000ff !important;
    font-size: 14px;
    padding-left: 45px;
}
.vertical-sidebar .sub-menu li a:hover {
    
    color: #000000ff !important;
    background: rgba(255, 255, 255, 0.08);
}
.vertical-sidebar .sub-menu li.active > a {
    color: #000000ff !important;
    font-weight: 600;
}


    </style>
    <script>
document.querySelectorAll('#side-menu .has-arrow').forEach(function(menu){
    menu.addEventListener('click', function(){
        setTimeout(() => {
            menu.scrollIntoView({
                behavior: 'smooth',
                block: 'nearest'
            });
        }, 250);
    });
});
</script>

        </div>
    </div>
    <div class="sidebar-backdrop" id="sidebar-backdrop"></div>
    <div class="main-content">
        <div class="page-content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-12">
                        <div class="page-title-box d-flex align-items-center justify-content-between">
                            <h3 class="mb-sm-0 h-title-1"><?php echo $page_heading; ?></h3>
                            <nav aria-label="breadcrumb" class="page-title-right">
                                <ol class="breadcrumb border-0">
                                    <li class="breadcrumb-item"><a href="<?php echo base_url("#"); ?>">Dashboard</a></li>
                                    <li class="breadcrumb-item active" aria-current="page"><?php echo $page_heading; ?></li>
                                </ol>
                            </nav>
                        </div>
                    </div>
                </div>