faillogin.blade.php 715 Bytes
<!-- <?php
$data=DB::table("users")
->select("fullname","meta")
->paginate(15);
?>
<div class="container">
  <h2>Fail Login Reports</h2>
  <table class="table table-bordered">
    <thead>
      <tr>
        <th>Firstname</th>
        <th>Invalid Password Attempt</th>
      </tr>
    </thead>
    <tbody>
      @foreach($data as $data_key => $data_value)
      <tr>
        <td><?php print_r($data_value->fullname) ?></td>
        <td><?php
          $invalid_count=json_decode($data_value->meta,true);
          if (!empty($invalid_count["ncnt"])) {
          print_r($invalid_count["ncnt"]);
        } 
        ?></td>
      </tr>
      @endforeach
    </tbody>
  </table>
        {{ $data->links() }}

</div> -->