<html lang="tr" <?php if($user['admin_theme'] == 2){ echo 'class="dark"'; } ?> >
    <!-- BEGIN: Head -->
    <head>
  <style>
    img.rounded-full.shadow-md {
    max-width: 50px;
}
.manager-active {
    padding: 8px;
    background: #21b9bd;
    border-radius: 10px;
    color: white!important;
    margin: 0px 10px;
}
  </style>
    <body class="app">
      
      <nav class="navbar navbar-expand-lg navbar-light bg-light shadow mb-5">
  <div class="container-fluid">
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
      <ul class="navbar-nav mx-auto">        
        <li class="nav-item border-end">
          <a class="nav-link <?php if(!route(2)){ $landing = true;} if( route(2) == 'update' || $landing): echo 'manager-active'; endif; ?>" href="/admin/manager">Updates</a>
        </li>
        <li class="nav-item border-end">
          <a class="nav-link <?php if( route(2) == 'guard' ): echo 'manager-active'; endif; ?>" href="/admin/manager/guard">Protection Settings</a>
        </li>
        <li class="nav-item border-end">
          <a class="nav-link <?php if( route(2) == 'details' ): echo 'manager-active'; endif; ?>" href="/admin/manager/details">Detail</a>
        </li>
        <li class="nav-item">
          <a class="nav-link <?php if( route(2) == 'info' ): echo 'manager-active'; endif; ?>" href="/admin/manager/info">About the Panel</a>
        </li>
      </ul>
    </div>
  </div>
</nav>
      
  
        <div class="side-menu hidden md:block top-0 left-0 fixed w-16 h-screen">
            <div class="side-menu__content -intro-x border-r w-full h-full pt-16 flex flex-col justify-center overflow-hidden">
                <a class="-intro-x side-menu__content__link relative tooltip py-5 <?php if(!route(2)){ $landing = true;} if( route(2) == 'update' || $landing): echo 'side-menu__content__link--active'; endif; ?>" href="/admin/manager/update" data-side="right" title="Güncellemeler" data-content="chats"> <i data-feather="download-cloud" class="w-5 h-5 mx-auto"></i> </a>
                <a class="-intro-x side-menu__content__link relative tooltip py-5  <?php if( route(2) == 'guard' ): echo 'side-menu__content__link--active'; endif; ?>" href="/admin/manager/guard" data-side="right" title="Koruma Ayarları"> <i data-feather="shield" class="w-5 h-5 mx-auto"></i> </a>          
                <a class="-intro-x side-menu__content__link relative tooltip py-5 <?php if( route(2) == 'details' ): echo 'side-menu__content__link--active'; endif; ?>" href="/admin/manager/details" data-side="right" title="Detaylar"> <i data-feather="bar-chart" class="w-5 h-5 mx-auto"></i> </a>
                <a class="-intro-x side-menu__content__link relative tooltip py-5 <?php if( route(2) == 'info' ): echo 'side-menu__content__link--active'; endif; ?>" href="/admin/manager/info" data-side="right" title="Panel Hakkında"> <i data-feather="info" class="w-5 h-5 mx-auto"></i> </a>
            </div>
        </div>
        -->