

<?php $__env->startSection('title', 'Login Logs'); ?>

<?php $__env->startSection('content'); ?>

<div class="card">
    <h3>Login Logs</h3>

    <table>
        <tr>
            <th>User</th>
            <th>Time</th>
            <th>Device</th>
            <th>IP</th>
            <th>Location</th>
        </tr>

        <?php $__currentLoopData = $logs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $l): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($l->user_id); ?></td>
            <td><?php echo e($l->login_time); ?></td>
            <td><?php echo e($l->device_id); ?></td>
            <td><?php echo e($l->ip_address); ?></td>
            <td><?php echo e($l->latitude); ?>, <?php echo e($l->longitude); ?></td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </table>
</div>

<style>
.card {
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}
</style>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home2/jitrealx/public_html/hotelbooking/resources/views/admin/logs.blade.php ENDPATH**/ ?>