@extends('firm._layouts.master') @section('content')
{{ count($activities) }} results found.
{!! Form::open() !!} {!! Form::select('company', $companies, Input::get('company')) !!} {!! Form::select('user', $users, Input::get('user')) !!} {!! Form::select('take', ['all' => 'ALL', 10 => 10, 150 => 150, 200 => 200, 500 => 500, 1000 => 1000], Input::get('take', 150)) !!} {!! Form::select('timeRange', $timeRanges, Input::get('timeRange')) !!}
@foreach($events as $key => $event) @endforeach {!! Form::close() !!}
@foreach($activities as $activity)
{{ $activity->printTime() }} ({{ $activity->printTime('diff') }}) {{ $activity->user->fullname }}
{{ $activity->event }}
ip : {{ $activity->ip }}
@foreach($activity->data as $key => $value) @if($key == 'url') {{ $key }} : {{ $value }} @elseif(is_bool($value)) {{ $key }} : {{ $value ? 'TRUE' : 'FALSE' }} @else {{ $key }} : {{ $value }} @endif
@endforeach

@endforeach
@endsection @section('scripts') @endsection