@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')

{{ __lang('active-student-def') }}

@php foreach($paginator as $row): @endphp @php endforeach; @endphp
{{ __lang('id') }} {{ __lang('first-name') }} {{ __lang('last-name') }} {{ __lang('enrolled-courses') }} {{ __lang('last-seen') }} {{__lang('actions')}}
{{ $row->student_id }} {{ htmlentities($row->name) }} {{ htmlentities($row->last_name) }} {{ $studentSessionTable->getTotalForStudent($row->student_id) }} {{showDate('d/M/Y',$row->last_seen)}}
@php // add at the end of the file after the table echo paginationControl( // the paginator object $paginator, // the scrolling style 'sliding', // the partial to use to render the control null, // the route to link to when a user clicks a control link array( 'route' => 'admin/default', 'controller'=>'student', 'action'=>'active' ) ); @endphp
@endsection @section('footer') @endsection