@extends('socialite::layouts.admin') @section('content')

{{ trans('socialite::common.manage_events') }}

{{ Form::label('sort by', 'Sort by:') }} {!! Form::select('manage_users', array('name_asc' => trans('socialite::admin.name_asc'), 'name_desc' => trans('socialite::admin.name_desc'), 'private' => trans('socialite::common.private'), 'public' => trans('socialite::common.public')), Request::get('sort'), ['class' => 'form-control eventsort']) !!}
@include('flash::message') @if(count($ongoning_events) > 0) @foreach($ongoning_events as $ongoning) @endforeach @else
{{ trans('socialite::messages.no_events') }}
@endif
  {{ trans('socialite::admin.id') }} {{ trans('socialite::auth.name') }} {{ trans('socialite::common.type') }} {{ trans('socialite::common.guests') }} {{ trans('socialite::admin.options') }}  
  {{ $ongoning->event->id }} {{ $ongoning->event->timeline->name }} {{ $ongoning->event->timeline->name }} {{$ongoning->event->type}} {{ $ongoning->event->users->count() }}
 
{{ $ongoning_events->render() }}
@if(count($upcoming_events) > 0) @foreach($upcoming_events as $upcoming) @endforeach @else
{{ trans('socialite::messages.no_events') }}
@endif
  {{ trans('socialite::admin.id') }} {{ trans('socialite::auth.name') }} {{ trans('socialite::common.type') }} {{ trans('socialite::common.guests') }} {{ trans('socialite::admin.options') }}  
  {{ $upcoming->event->id }} {{ $upcoming->event->timeline->name }} {{ $upcoming->event->timeline->name }} {{$upcoming->event->type}} {{ $upcoming->event->users->count() }}
 
{{ $upcoming_events->render() }}
@if(count($expired_events) > 0) @foreach($expired_events as $expired) @endforeach @else
{{ trans('socialite::messages.no_events') }}
@endif
  {{ trans('socialite::admin.id') }} {{ trans('socialite::auth.name') }} {{ trans('socialite::common.type') }} {{ trans('socialite::common.guests') }} {{ trans('socialite::admin.options') }}  
  {{ $expired->event->id }} {{ $expired->event->timeline->name }} {{ $expired->event->timeline->name }} {{$expired->event->type}} {{ $expired->event->users->count() }}
 
{{ $expired_events->render() }}
@endsection