<?php $__env->startSection('content'); ?>
	  <!-- =====================================
        ==== Start Home-content  -->

        <section class="users-list">
            <div class="container-fluid">

                <div class="row">
                    <div class="col-md-11">
                        <div class="wel-text">
                            <div class="path">
                                <a href="<?php echo e(url('admin/home')); ?>"><?php echo app('translator')->getFromJson('home.home'); ?></a><span>/</span><?php echo app('translator')->getFromJson('home.full_report'); ?> 
                            </div>
                        </div>
                    </div>
                    
                    <div class="col-md-1">
                        <div class="dropdown">
                          <button class="btn btn-defualt dropdown-toggle" type="button" data-toggle="dropdown"><?php echo app('translator')->getFromJson('home.links'); ?>
                              <span class="caret"></span></button>
                              <ul class="dropdown-menu" style="padding: 10px">
                                <li  style="padding: 10px"><a href="<?php echo e(URL::to('ar/admin/setting')); ?>"><i class="icon-gear"></i><?php echo app('translator')->getFromJson('home.general_settings'); ?></a></li>
                                <li  style="padding: 5px"><a href="<?php echo e(URL::to('ar/admin/reports_browsing')); ?>"><i class="icon-copy"></i> <?php echo app('translator')->getFromJson('home.full_report'); ?></a></li>
                            </ul>
                        </div>
                    </div>
                </div>

                <table class="block-table">
                    <tbody>
                        <tr>
                            <th><?php echo app('translator')->getFromJson('home.user'); ?></th>                                        
                            <th><?php echo app('translator')->getFromJson('home.action'); ?></th>
                            <th><?php echo app('translator')->getFromJson('home.since'); ?></th>
                            <th><?php echo app('translator')->getFromJson('home.ip'); ?></th>
                            <th><?php echo app('translator')->getFromJson('home.location'); ?></th>
                            <th><?php echo app('translator')->getFromJson('home.browser'); ?></th>
                            <th><?php echo app('translator')->getFromJson('home.user_full_reports'); ?></th>

                        </tr>
                        <?php $__currentLoopData = $reports; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>            
                        <tr>
                            <td>
                                <div class="img"><img src="<?php echo e(asset('/')); ?><?php echo e(@$user->image); ?>" alt=""></div> <span><?php echo e(@$user->fname.' '.$user->lname); ?></span>
                            </td>
                            <td><?php echo e(@$user->last_report()->text); ?></td>
                            <td><?php echo e(@Carbon\Carbon::parse($user->last_report()->created_at)->diffForHumans()); ?></td>
                            <td><?php echo e(@$user->last_report()->ip); ?></td>
                            <td><?php echo e(@$user->last_report()->location); ?></td>
                           <td><?php echo e(@$user->last_report()->browser); ?></td>
                            <td>
                                <a href="<?php echo e(URL::to('ar/admin/reports_browsing/').'/'.$user->id.'/u/'.@$user->fname); ?>" class="btn btn-primary"> <li class="icon ti-marker-alt"></li></a>
                            </td>   
                           
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>
                </table>
            </div>
        </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('panel.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\orgnize_it\resources\views/panel/reports/show.blade.php ENDPATH**/ ?>