<!DOCTYPE html>
<!DOCTYPE html>
<html lang="tr">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <base href="/admin/">
  <title><?php echo $__env->yieldContent('title','Yönetici Paneli'); ?> - TransferPro</title>


  <!-- Favicons -->
  <link href="/assets/img/favicon.png" rel="icon">
  <link href="/assets/img/apple-touch-icon.png" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.gstatic.com" rel="preconnect">
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">

  <!-- Vendor CSS Files -->
  <link href="/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="/assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
  <link href="/assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="/assets/vendor/quill/quill.snow.css" rel="stylesheet">
  <link href="/assets/vendor/quill/quill.bubble.css" rel="stylesheet">
  <link href="/assets/vendor/remixicon/remixicon.css" rel="stylesheet">
  <link href="/assets/vendor/simple-datatables/style.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="/assets/css/style.css" rel="stylesheet">
</head>

<body>

  <!-- ======= Header ======= -->
  <header id="header" class="header fixed-top d-flex align-items-center">

    <div class="d-flex align-items-center justify-content-between">
      <a href="/admin" class="logo d-flex align-items-center">
        <img src="/assets/img/logo.png" class="sademobildegoster">
          <span class="sadedesktoptagoster  d-none d-lg-block"><img src="/images/logo.png" style="height: 40px!important; max-height: 40px!important;" alt=""></span>
      </a>
      <i class="bi bi-list toggle-sidebar-btn"></i>
    </div><!-- End Logo -->

    <nav class="header-nav ms-auto">
      <ul class="d-flex align-items-center">


        <li class="nav-item dropdown pe-3">

          <a class="nav-link nav-profile d-flex align-items-center pe-0" href="#" data-bs-toggle="dropdown">
              <i class="bi bi-person"></i> <span class="d-none d-md-block dropdown-toggle ps-2"><?php echo e(ucwords(auth()->user()->name)); ?></span>
          </a><!-- End Profile Iamge Icon -->

          <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow profile">


            <li>
              <a class="dropdown-item d-flex align-items-center" href="/panel/profil">
                <i class="bi bi-person"></i>
                <span>Profilim</span>
              </a>
            </li>
            <li>
              <hr class="dropdown-divider">
            </li>








            <li>
              <hr class="dropdown-divider">
            </li>

            <li>
              <a class="dropdown-item d-flex align-items-center" href="/logout">
                <i class="bi bi-box-arrow-right"></i>
                <span>Güvenli Çıkış</span>
              </a>
            </li>

          </ul><!-- End Profile Dropdown Items -->
        </li><!-- End Profile Nav -->

      </ul>
    </nav><!-- End Icons Navigation -->

  </header><!-- End Header -->

  <!-- ======= Sidebar ======= -->
  <aside id="sidebar" class="sidebar">

    <ul class="sidebar-nav" id="sidebar-nav">

      <li class="nav-item">
        <a class="nav-link collapsed" href="/" target="_blank">
          <i class="bi bi-menu-app"></i>
          <span>Siteye Bağlan</span>
        </a>
      </li><!-- End Dashboard Nav -->

        <li class="nav-item">
        <a class="nav-link collapsed " href="/admin/" >
          <i class="bi bi-badge-3d"></i>
          <span>Admin Ana Sayfa</span>
        </a>
      </li><!-- End Dashboard Nav -->

      <li class="nav-item">
        <a class="nav-link collapsed" data-bs-target="#components-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-person"></i><span>Müşteri İşlemleri</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="components-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="musteriler">
              <i class="bi bi-circle"></i><span>Müşteriler</span>
            </a>
          </li>
          <li>
            <a href="transfer-talepleri">
              <i class="bi bi-circle"></i><span>Transfer Talepleri</span>
            </a>
          </li>
          <li>
            <a href="kiralama-talepleri">
              <i class="bi bi-circle"></i><span>Kiralama Talepleri</span>
            </a>
          </li>

















        </ul>
      </li><!-- End Components Nav -->

      <li class="nav-item">
        <a class="nav-link collapsed" data-bs-target="#forms-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-car-front"></i><span>Araçlar</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="forms-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="transfer-araclari">
              <i class="bi bi-circle"></i><span>Transfer Araçları</span>
            </a>
          </li>
          <li>
            <a href="kiralik-araclar">
              <i class="bi bi-circle"></i><span>Kiralık Araçlar</span>
            </a>
          </li>

        </ul>
      </li><!-- End Forms Nav -->

      <li class="nav-item">
        <a class="nav-link collapsed" data-bs-target="#tables-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-gear"></i><span>Ayarlar</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="tables-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="ayarlar">
              <i class="bi bi-circle"></i><span>Tüm Ayarlar</span>
            </a>
          </li><li>
            <a href="ayarlar?tip=1">
              <i class="bi bi-circle"></i><span>Temel Ayarlar</span>
            </a>
          </li>
          <li>
            <a href="ayarlar?tip=2">
              <i class="bi bi-circle"></i><span>Sosyal Medya Linkleri</span>
            </a>
          </li><li>
            <a href="ayarlar?tip=3">
              <i class="bi bi-circle"></i><span>Ana Slider Ayarları</span>
            </a>
          </li>
            <li>
            <a href="ayarlar?tip=4">
              <i class="bi bi-circle"></i><span>Ana Arama Formu Ayarları</span>
            </a>
          </li><li>
            <a href="ayarlar?tip=5">
              <i class="bi bi-circle"></i><span>Ana Sayfa Ek Alanlar Ayarları</span>
            </a>
          </li>
            <li>
            <a href="hesap-numaralari">
              <i class="bi bi-circle"></i><span>Hesap Numaraları</span>
            </a>
          </li>
            <li>
            <a href="blog">
              <i class="bi bi-circle"></i><span>Blog Yönetimi</span>
            </a>
          </li> <li>
            <a href="admins">
              <i class="bi bi-circle"></i><span>Sistem Yöneticileri</span>
            </a>
          </li>

        </ul>
      </li><!-- End Tables Nav -->
























      <li class="nav-item">
        <a class="nav-link collapsed" data-bs-target="#icons-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-gem"></i><span>Entegrasyonlar</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="icons-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="ayarlar?tip=6">
              <i class="bi bi-circle"></i><span>Google Map API</span>
            </a>
          </li>
          <li>
            <a href="ayarlar?tip=7">
              <i class="bi bi-circle"></i><span>Paytr API</span>
            </a>
          </li>





        </ul>

      </li><!-- End Icons Nav -->
        <li class="nav-item">
            <a class="nav-link collapsed"  href="/logout">
                <i class="bi bi-sign-stop"></i><span>Çıkış Yap</span><i class="bi bi-chevron-down ms-auto"></i>
            </a>
        </li>




    </ul>

  </aside><!-- End Sidebar-->

  <main class="main" id="main"><?php echo $__env->yieldContent('icerik'); ?></main>

  <!-- ======= Footer ======= -->
  <footer id="footer" class="footer">
    <div class="copyright">
      &copy; Copyright <?php echo e(date('Y')); ?> <strong><span>TransferPro</span></strong>. All Rights Reserved
    </div>

  </footer><!-- End Footer -->

  <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>

  <!-- Vendor JS Files -->
  <script src="/assets/vendor/apexcharts/apexcharts.min.js"></script>
  <script src="/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="/assets/vendor/chart.js/chart.umd.js"></script>
  <script src="/assets/vendor/echarts/echarts.min.js"></script>
  <script src="/assets/vendor/quill/quill.min.js"></script>
  <script src="/assets/vendor/simple-datatables/simple-datatables.js"></script>
  <script src="/assets/vendor/tinymce/tinymce.min.js"></script>
  <script src="/assets/vendor/php-email-form/validate.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>


  <!-- Template Main JS File -->
  <script src="/assets/js/main.js"></script>


  <?php if(session()->has('success')): ?>

      <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
      <script>
          Swal.fire({
              icon: 'success',
              title: 'İşlem Başarılı',
              text: '<?php echo e(session()->get('success')); ?>',
              timer: '2000'

          })
      </script>
  <?php endif; ?>

  <?php if(session()->has('errors')): ?>

      <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
      <script>
          Swal.fire({
              icon: 'error',
              title: 'Hata',
              text: '<?php echo e(session()->get('errors')); ?>'

          })
      </script>
  <?php endif; ?>
  <!--error handling-->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js" integrity="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <script>
      function modal(route) {
          // Modalı aç
          $('#myModal').modal('show');

          // Ajax isteği göndererek route'u yükle
          $.ajax({
              url: route,
              type: 'GET',
              success: function(response) {
                  // Ajax isteği başarılı olduğunda, yanıtı modalın HTML kısmına yükle
                  $('#myModal').find('.modal-content').html(response);
              },
              error: function(xhr, status, error) {
                  // Hata durumunda uygun işlemleri yapabilirsiniz
                  console.error('AJAX Hatası:', status, error);
              }
          });
      }


      function silmi(link) {


          Swal.fire({
              title: 'Silme Onayı',
              text: "Bu kaydı silmek istiyor musunuz?",
              icon: 'warning',
              showCancelButton: true,
              confirmButtonText: 'Evet, sil!',
              cancelButtonText: 'Hayır'
          }).then((result) => {
              if (result.value) {

                  window.location.href = link;
              }
          })

      }

  </script>

  <!-- Modal -->
  <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="myModal" aria-hidden="true">
      <div class="modal-dialog  modal-dialog-scrollable">
          <div class="modal-content" style="overflow-y: scroll!important;">
              <button type="button"
                      style="position: absolute; right: 3px; top: 3px;z-index: 999; background-color: white; padding: 10px;"
                      class="btn-close" title="Kapat" data-bs-dismiss="modal" aria-label="Kapat"></button>




              <div class="modal-body" id="micerik">
                  ...
              </div>

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

  <style>
      .card-body { padding-top: 20px;}
      /* sademobildegoster */
      @media (max-width: 767px) {
          .sademobildegoster {
              display: block !important;
          }

          .sadedesktoptagoster {
              display: none!important;
          }
      }

      /* sadedesktoptagoster */
      @media (min-width: 768px) {
          .sadedesktoptagoster {
              display: block !important;
          }
          .sademobildegoster {
           display: none!important;
          }
      }

  </style>

</body>

</html>
<?php /**PATH /home/ucretsizscript/transferpro.ucretsizscript.net/resources/views/panel/index.blade.php ENDPATH**/ ?>