<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>" dir="rtl">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <title><?php echo $__env->yieldContent('title'); ?></title>
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo e(asset('images/logo/favicon.svg')); ?>">
    <link rel="manifest" href="<?php echo e(asset('')); ?>js/manifest.json">
    <meta name="_token" content="<?php echo e(csrf_token()); ?>">
    <meta name="url" content="<?php echo e(asset('')); ?>">
    <meta name="firebase_token" content="<?php echo e(Auth::user()->firebase_token); ?>">
    <link href="https://fonts.googleapis.com/css?family=Muli:300,300i,400,400i,600,600i,700,700i%7CComfortaa:300,400,700"
          rel="stylesheet">

    <?php if(getSetting('admin_theme_color') == 'light'): ?>
        <link href="<?php echo e(asset('css/bootstrap-rtl.min.css')); ?>" id="bootstrap-style" rel="stylesheet" type="text/css" />
        <link href="<?php echo e(asset('css/app-rtl.min.css')); ?>" id="app-style" rel="stylesheet" type="text/css" />
    <?php elseif(getSetting('admin_theme_color') == 'dark'): ?>
        <link href="<?php echo e(asset('assets/css/bootstrap-dark-rtl.min.css')); ?>" id="bootstrap-style" rel="stylesheet" type="text/css" />
        <link href="<?php echo e(asset('assets/css/app-dark-rtl.min.css')); ?>" id="app-style" rel="stylesheet" type="text/css" />
    <?php endif; ?>

    <link href="<?php echo e(asset('/assets/libs/sweetalert2/sweetalert2.min.css')); ?>" id="bootstrap-style" rel="stylesheet" type="text/css" />
    <!-- Icons Css -->
    <link href="<?php echo e(asset('css/icons.min.css')); ?>" rel="stylesheet" type="text/css" />
    <!-- Fonts Css-->
    <link href="<?php echo e(asset('css/font_iransans.css')); ?>" id="app-style" rel="stylesheet" type="text/css" />

    <?php echo $__env->yieldContent('css'); ?>
</head>

<body data-topbar="dark" data-layout="horizontal" data-layout-size="boxed" style="font-family: IRANSans !important;">
    <div id="layout-wrapper" class="min-vh-100">
        <header id="page-topbar">
            <div class="navbar-header">
                <div class="d-flex">
                    <div class="navbar-brand-box">
                        <a href="<?php echo e(asset('').env('PanelPrefix')); ?>" class="logo logo-dark">
                            <span class="logo-sm">
                                <img src="<?php echo e(asset('images/logo/logo.svg')); ?>" alt="" height="22">
                            </span>
                            <span class="logo-lg">
                                <img src="<?php echo e(asset('images/logo/logo-dark.svg')); ?>" alt="" height="17">
                            </span>
                        </a>
                        <a href="<?php echo e(asset('').env('PanelPrefix')); ?>" class="logo logo-light">
                            <span class="logo-sm">
                                <img src="<?php echo e(asset('images/logo/logo.svg')); ?>" alt="" height="22">
                            </span>
                            <span class="logo-lg">
                                <img src="<?php echo e(asset('images/logo/logo-light.svg')); ?>" alt="" height="19">
                            </span>
                        </a>
                    </div>
                    <button type="button" class="btn btn-sm px-3 font-size-16 d-lg-none header-item waves-effect waves-light" data-bs-toggle="collapse" data-bs-target="#topnav-menu-content">
                        <i class="fa fa-fw fa-bars"></i>
                    </button>
                </div>
                <div class="d-flex">
                    <div class="dropdown d-none d-lg-inline-block ms-1">
                        <button type="button" class="btn header-item noti-icon waves-effect"
                                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="bx bx-customize"></i>
                        </button>
                        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
                            <div class="px-lg-2">
                                <div class="ps-3 pt-2">
                                    <h6 class="m-0"> دسترسی سریع </h6>
                                </div>
                                <div class="row g-0">
                                    <div class="col">
                                        <a class="dropdown-icon-item" href="https://coinmarketcap.com/" target="_blank">
                                            <img src="<?php echo e(asset('images/brands/coinmarketcap.png')); ?>" alt="Github">
                                            <span>کوین مارکت کپ</span>
                                        </a>
                                    </div>
                                    <div class="col">
                                        <a class="dropdown-icon-item" href="https://coinex.com" target="_blank">
                                            <img src="<?php echo e(asset('images/brands/coinex.svg')); ?>" alt="bitbucket">
                                            <span>کوینکس</span>
                                        </a>
                                    </div>
                                    <div class="col">
                                        <a class="dropdown-icon-item" href="https://binance.com" target="_blank">
                                            <img src="<?php echo e(asset('images/brands/binance.svg')); ?>" alt="dribbble">
                                            <span>بایننس</span>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="dropdown d-none d-lg-inline-block ms-1">
                        <button type="button" class="btn header-item noti-icon waves-effect" data-toggle="fullscreen">
                            <i class="bx bx-fullscreen"></i>
                        </button>
                    </div>
                    <div class="dropdown d-inline-block">
                        <button type="button" class="btn header-item noti-icon waves-effect" id="page-header-notifications-dropdown"
                                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="bx bx-bell bx-tada"></i>

                            <?php if(($SumNotification = config('notification.CountOrders') + config('notification.CountTicket') + config('notification.CountUserPending') + config('notification.CountFinances') + config('notification.CountCardBank')) > 0): ?>
                                <span class="badge bg-danger rounded-pill">
                                    <?php echo e($SumNotification); ?>

                                </span>
                            <?php endif; ?>
                        </button>
                        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0"
                             aria-labelledby="page-header-notifications-dropdown">
                            <div class="p-3">
                                <div class="row align-items-center">
                                    <div class="col">
                                        <h6 class="m-0"> اطلاعیه‌ها </h6>
                                    </div>
                                </div>
                            </div>
                            <ul class="py-0 list-unstyled" data-simplebar style="max-height: 230px;">
                                <li class="w-100">
                                    <?php if($SumNotification == 0): ?>
                                        <div class="media">
                                            <div class="media-body">
                                                <h6 class="media-heading text-center text-muted mb-0">
                                                    اطلاعیه ای موجود نیست!
                                                </h6>
                                            </div>
                                        </div>
                                    <?php else: ?>
                                        <?php if(config('notification.CountOrders')>0): ?>
                                            <a href="<?php echo e(asset('').env('PanelPrefix')); ?>/actions/orders" data-sort='<?php echo e(config('notification.SortOrder')); ?>' class="text-reset notification-item">
                                                <div class="d-flex">
                                                    <div class="avatar-xs me-3">
                                                        <span class="avatar-title bg-danger rounded-circle font-size-16">
                                                            <i class="bx bx-shopping-bag"></i>
                                                        </span>
                                                    </div>
                                                    <div class="flex-grow-1">
                                                        <h6 class="mb-1" key="t-your-order">
                                                        <span class="badge bg-info rounded-pill">
                                                            <?php echo e(config('notification.CountOrders')); ?>

                                                        </span>
                                                            سفارش در انتظار
                                                        </h6>
                                                        <div class="font-size-12 text-muted">
                                                            <p class="mb-1" key="t-grammer"><?php echo e(config('notification.SubjectOrder')); ?></p>
                                                            <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago"><?php echo e(config('notification.TimeOrder')); ?></span></p>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        <?php endif; ?>
                                        <?php if(config('notification.CountTicket')>0): ?>
                                            <a href="<?php echo e(asset('').env('PanelPrefix')); ?>/ticket" data-sort='<?php echo e(config('notification.SortTicket')); ?>' class="text-reset notification-item">
                                                <div class="d-flex">
                                                    <div class="avatar-xs me-3">
                                                        <span class="avatar-title bg-primary rounded-circle font-size-16">
                                                            <i class="bx bx-chat"></i>
                                                        </span>
                                                    </div>
                                                    <div class="flex-grow-1">
                                                        <h6 class="mb-1" key="t-your-order">
                                                            <span class="badge bg-info rounded-pill">
                                                                <?php echo e(config('notification.CountTicket')); ?>

                                                            </span>
                                                            تیکت خوانده نشده
                                                        </h6>
                                                        <div class="font-size-12 text-muted">
                                                            <p class="mb-1" key="t-grammer"><?php echo e(config('notification.SubjectTicket')); ?></p>
                                                            <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago"><?php echo e(config('notification.TimeTicket')); ?></span></p>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        <?php endif; ?>

                                        <?php if(config('notification.CountUserPending')>0): ?>
                                            <a href="<?php echo e(asset('').env('PanelPrefix')); ?>/actions" data-sort='<?php echo e(config('notification.SortUser')); ?>' class="text-reset notification-item">
                                                <div class="d-flex">
                                                    <div class="avatar-xs me-3">
                                                        <span class="avatar-title bg-warning rounded-circle font-size-16">
                                                            <i class="bx bx-user"></i>
                                                        </span>
                                                    </div>
                                                    <div class="flex-grow-1">
                                                        <h6 class="mb-1" key="t-your-order">
                                                            <span class="badge bg-info rounded-pill">
                                                                <?php echo e(config('notification.CountUserPending')); ?>

                                                            </span>
                                                            کاربر تایید نشده
                                                        </h6>
                                                        <div class="font-size-12 text-muted">
                                                            <p class="mb-1" key="t-grammer"><?php echo e(config('notification.NameUser')); ?></p>
                                                            <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago"><?php echo e(config('notification.TimeUser')); ?></span></p>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        <?php endif; ?>

                                        <?php if(config('notification.CountFinances')>0): ?>
                                            <a href="<?php echo e(asset('').env('PanelPrefix')); ?>/actions/finance" data-sort='<?php echo e(config('notification.SortFinance')); ?>' class="text-reset notification-item">
                                                <div class="d-flex">
                                                    <div class="avatar-xs me-3">
                                                        <span class="avatar-title bg-success rounded-circle font-size-16">
                                                            <i class="bx bx-wallet"></i>
                                                        </span>
                                                    </div>
                                                    <div class="flex-grow-1">
                                                        <h6 class="mb-1" key="t-your-order">
                                                            <span class="badge bg-info rounded-pill">
                                                                <?php echo e(config('notification.CountFinances')); ?>

                                                            </span>
                                                            درخواست برداشت از کیف پول
                                                        </h6>
                                                        <div class="font-size-12 text-muted">
                                                            <p class="mb-1" key="t-grammer"><?php echo e(config('notification.NameUser')); ?></p>
                                                            <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago"><?php echo e(config('notification.FinanceTime')); ?></span></p>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        <?php endif; ?>

                                        <?php if(config('notification.CountCardBank')>0): ?>
                                            <a href="<?php echo e(asset('').env('PanelPrefix')); ?>/actions/cardbank" data-sort='<?php echo e(config('notification.SortCard')); ?>' class="text-reset notification-item">
                                                <div class="d-flex">
                                                    <div class="avatar-xs me-3">
                                                        <span class="avatar-title bg-primary rounded-circle font-size-16">
                                                            <i class="bx bxs-bank"></i>
                                                        </span>
                                                    </div>
                                                    <div class="flex-grow-1">
                                                        <h6 class="mb-1" key="t-your-order">
                                                            <span class="badge bg-info rounded-pill">
                                                                <?php echo e(config('notification.CountCardBank')); ?>

                                                            </span>
                                                            کارت بانکی تایید نشده
                                                        </h6>
                                                        <div class="font-size-12 text-muted">
                                                            <p class="mb-1" key="t-grammer"><?php echo e(config('notification.SubjectCard')); ?></p>
                                                            <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago"><?php echo e(config('notification.TimeCardBank')); ?></span></p>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        <?php endif; ?>
                                    <?php endif; ?>
                                </li>
                            </ul>
                        </div>
                    </div>

                    <div class="dropdown d-inline-block">
                        <button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown"
                                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <img class="rounded-circle header-profile-user" src="<?php echo e(asset('images/users/user.png')); ?>"
                                 alt="Header Avatar">
                            <span class="d-none d-xl-inline-block ms-1" key="t-henry"><?php echo e(Auth::user()->name); ?></span>
                            <i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i>
                        </button>
                        <div class="dropdown-menu dropdown-menu-end">
                            <a class="dropdown-item" href="<?php echo e(asset('').env('PanelPrefix')); ?>/profile">
                                <i class="bx bx-user font-size-16 align-middle me-1"></i>
                                <span key="t-profile">پروفایل</span>
                            </a>
                            <a class="dropdown-item" href="<?php echo e(asset('').env('PanelPrefix')); ?>/profile/two-factor-authentication">
                                <i class="bx bx-lock-open font-size-16 align-middle me-1"></i>
                                <span key="t-lock-screen">ورود دو مرحله ای</span>
                            </a>
                            <div class="dropdown-divider"></div>
                            <a class="dropdown-item text-danger" href="#" onclick="event.preventDefault();document.getElementById('logout-form').submit();">
                                <i class="bx bx-power-off font-size-16 align-middle me-1 text-danger"></i>
                                <span key="t-logout">خروج</span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </header>

        <?php echo $__env->make('admin.layouts.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="main-content">
            <div class="page-content">
                <div class="container-fluid">
                    <?php echo $__env->yieldContent('content'); ?>
                </div>
            </div>
        </div>

        <?php echo $__env->make('admin.layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    </div>


    <form id="logout-form" action="<?php echo e(Route('A-logout')); ?>" method="POST" style="display: none;">
        <?php echo e(csrf_field()); ?>

    </form>

    <!-- JAVASCRIPT -->
    <script src="<?php echo e(asset('js/jquery.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('js/bootstrap.bundle.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('js/metisMenu.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('js/simplebar.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('js/waves.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('js/sweetalert2.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('js/jquery.form.min.js')); ?>" type="text/javascript"></script>

    <!-- App js -->
    <script src="<?php echo e(asset('js/app.js')); ?>"></script>
    <script src="<?php echo e(asset('js/arzland.js')); ?>"></script>
    <?php echo $__env->yieldContent('js'); ?>
    <?php echo $__env->yieldContent('script'); ?>

    <?php if(Session::has('Success')): ?>
        <script>
            toastr.success("<?php echo e(Session::get('Success')); ?>", "انجام شد!", {
                positionClass: "toast-bottom-center",
                progressBar: !0,
            })
        </script>
    <?php endif; ?>
    <?php if(Session::has('Error')): ?>
        <script>
            toastr.error("<?php echo e(Session::get('Error')); ?>", "خطا!", {
                positionClass: "toast-bottom-center",
                progressBar: !0,
            })
        </script>
    <?php endif; ?>
</body>
<?php /**PATH /Users/webcore-heydari/Downloads/platform/resources/views/admin/layouts/master.blade.php ENDPATH**/ ?>