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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AdminPanel</title>
    <link rel="stylesheet" href="./resources/css/auth.css">
    <link rel="stylesheet" href="styleadmin.css">
    <link rel="stylesheet" href="js.js">
    <link rel="stylesheet" href="resources\css\styles.css">
    <link rel="stylesheet" href="resources\css\styleрrofile.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">

</head>

<body>
    <div class="container">

        <div class="accordion" id="accordionExample">
            <div class="accordion-item border-0 ">

                <div class="container">
                    <form action="<?php echo e(Route('out')); ?>" method="post" style="height :345px;">

                        <?php echo csrf_field(); ?>
                        <div class="sidebar rounded-start"
                            style="height:100%; display: flex; justify-content: center; flex-wrap: wrap; align-content: flex-start; flex-direction: column; align-items: center;">
                            <p>
                                <button class=" btn btn-outline-success border-0 rounded-pill" type="button"
                                    data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true"
                                    aria-controls="collapseOne">
                                    Все тикеты
                                </button>
                            </p>
                            <p>
                                <button class="btn btn-outline-success border-0 rounded-pill" type="button"
                                    data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="true"
                                    aria-controls="collapseTwo">
                                    Одобренные тикеты
                                </button>
                            </p>
                            <p>
                                <button class="btn btn-outline-success border-0 rounded-pill" type="button"
                                    data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="true"
                                    aria-controls="collapseThree">
                                    Отклоненные тикеты
                                </button>
                            </p>
                            <button class="btn btn-success border-0 rounded-pill" type="sumbit">Выход</button>
                        </div>
                    </form>




                    <div style="position:relative;">
                        <div class="wrapper" style="position: unset; transform: unset;">
                            <div class="left">
                                <img src="https://static.tildacdn.com/tild6230-3831-4433-a538-666561376432/free-icon-avatar-266.png"
                                    alt="user" width="100">
                                <h4>Привет, !</h4>
                                <p>
                                <h5></h5>
                                </p>
                            </div>
                            <div class="right">
                                <div class="info">
                                    <h3>Личный кабинет</h3>
                                    <div class="info_data">
                                        <div class="data">
                                            <h4>Email</h4>
                                            <p></p>
                                        </div>
                                        <div class="data">
                                            <h4>Phone</h4>
                                            <p></p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="content" style="width:1083px;">
                            <h1>Все тикеты</h1>
                            <table class="table">
                                <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th>Пользователь</th>
                                        <th>Тема</th>
                                        <th>Описание</th>
                                        <th>Статус</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <th scope="row">1</th>
                                        <td>Mark</td>
                                        <td>Otto</td>
                                        <td>@mdo</td>
                                        <td>
                                            <button>OK</button>
                                            <button>X</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th scope="row">2</th>
                                        <td>Jacob</td>
                                        <td>Thornton</td>
                                        <td>@fat</td>
                                        <td>
                                            <button>OK</button>
                                            <button>X</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th scope="row">3</th>
                                        <td colspan="2">Larry the Bird</td>
                                        <td>@twitter</td>
                                        <td>
                                            <button>OK</button>
                                            <button>X</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th scope="row">3</th>
                                        <td colspan="2">Larry the Bird</td>
                                        <td>@twitter</td>
                                        <td>
                                            <button>OK</button>
                                            <button>X</button>
                                        </td>
                                    </tr>
    

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

                </div>

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



    <tbody>
        <?php


// Получить все тикеты из базы данных
// $tickets = get_all_tickets();

// Вывести каждый тикет в таблицу
// foreach ($tickets as $ticket) {
//     echo "<tr>";
//     echo "<td>{$ticket['id']}</td>";
//     echo "<td>{$ticket['user_id']}</td>";
//     echo "<td>{$ticket['subject']}</td>";
//     echo "<td>{$ticket['description']}</td>";
//     echo "<td>{$ticket['status']}</td>";
//     echo "</tr>";
// }
                    ?>


        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
            integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
            crossorigin="anonymous"></script>


</body>

</html><?php /**PATH C:\xampp\htdocs\narushnet\resources\views/AdminHomepage.blade.php ENDPATH**/ ?>