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



Thống kê truy cập



<?php $__env->stopSection(); ?>



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



<form name="formbk" method="post" action="">



<div class="">



  <div class="form-group">



    <?php if(Session::get('user')->user == 1): ?> <input class="btn btn-danger" type="submit" name="delall" value="Xóa"> <?php endif; ?>



  </div>



  <div class="clearfix"></div>



  <div class="row">



    <div class="col-md-12 col-sm-12 col-xs-12">



    <?php echo $__env->make('errors.note', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>



      <div class="x_panel">



        <div class="x_title">



          <h2>Thống kê truy cập ngày <strong><?php echo e(json_decode($get_date->date)->day); ?>-<?php echo e(json_decode($get_date->date)->month); ?>-<?php echo e(json_decode($get_date->date)->year); ?></strong></small></h2>



          <ul class="nav navbar-right panel_toolbox">



            <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a> </li>



            <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>



              <ul class="dropdown-menu" role="menu">



                <li><a href="#">Settings 1</a> </li>



                <li><a href="#">Settings 2</a> </li>



              </ul>



            </li>



            <li><a class="close-link"><i class="fa fa-close"></i></a> </li>



          </ul>



          <div class="clearfix"></div>



        </div>



        <div class="x_content">



            <table id="datatable-btn" class="table table-striped jambo_table bulk_action">



              <thead>



                <tr>



                  <th><input type="checkbox" name="checkAll" class="flat" id="check-all"></th>



                  <th style="width:3%">Stt</th>



                  <th>Địa chỉ IP</th>



                  <th>Nguồn truy cập</th>



                  <th>Thời gian</th>



                  <th>URL</th>



                  <th>Trình duyệt</th>



                </tr>



              </thead>



              <tbody>



              <?php foreach($list_statistic as $items): ?>



                <tr>



                  <th><input type="checkbox" class="check_del flat" name="check_del[]" value="<?php echo e($items->id); ?>"></th>



                  <td><?php echo e($items->id); ?></td>



                  <td><?php echo e($items->ip); ?></td>



                  <td><?php echo e($items->referer); ?></td>



                  <td><?php echo e(date('H:i:s',$items->time)); ?></td>



                  <td><a href="<?php echo e(url($items->url)); ?>"><?php echo e(url($items->url)); ?></a></td>



                  <td><?php echo e($items->browser); ?></td>



                </tr>



              <?php endforeach; ?>



              </tbody>



            </table>



            <div class="text-center"><?php echo str_replace('/?','?',$list_statistic->render()); ?></div>



            <script type="text/javascript">



              function DoCheck(status,FormName,from_)



              {



                  var alen=eval('document.'+FormName+'.elements.length');



                  alen=(alen>1)?eval('document.'+FormName+'.checkone.length'):0;



                  if (alen>0)



                  {



                      for(var i=0;i<alen;i++)



                          eval('document.'+FormName+'.checkone[i].checked=status');



                  }



                  else



                  {



                      eval('document.'+FormName+'.checkone.checked=status');



                  }



                  if(from_>0)



                      eval('document.'+FormName+'.checkall.checked=status');



              }



            </script>



        </div>



      </div>



    </div>



  </div>



</div>



<?php echo e(csrf_field()); ?>







</form>



<?php $__env->stopSection(); ?>



<?php echo $__env->make('admin.layout.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>