Added faillogin file
Showing
1 changed file
with
31 additions
and
0 deletions
| 1 | <!-- <?php | ||
| 2 | $data=DB::table("users") | ||
| 3 | ->select("fullname","meta") | ||
| 4 | ->paginate(15); | ||
| 5 | ?> | ||
| 6 | <div class="container"> | ||
| 7 | <h2>Fail Login Reports</h2> | ||
| 8 | <table class="table table-bordered"> | ||
| 9 | <thead> | ||
| 10 | <tr> | ||
| 11 | <th>Firstname</th> | ||
| 12 | <th>Invalid Password Attempt</th> | ||
| 13 | </tr> | ||
| 14 | </thead> | ||
| 15 | <tbody> | ||
| 16 | @foreach($data as $data_key => $data_value) | ||
| 17 | <tr> | ||
| 18 | <td><?php print_r($data_value->fullname) ?></td> | ||
| 19 | <td><?php | ||
| 20 | $invalid_count=json_decode($data_value->meta,true); | ||
| 21 | if (!empty($invalid_count["ncnt"])) { | ||
| 22 | print_r($invalid_count["ncnt"]); | ||
| 23 | } | ||
| 24 | ?></td> | ||
| 25 | </tr> | ||
| 26 | @endforeach | ||
| 27 | </tbody> | ||
| 28 | </table> | ||
| 29 | {{ $data->links() }} | ||
| 30 | |||
| 31 | </div> --> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment