@extends('admin.layouts.app') @section('header-script') @include('admin.layouts.datatable-header') @endsection @section('content')
@if(count($users) > 0) @foreach($users as $user) @endforeach @else @endif
ক্রমিক অংশগ্রহনকারীর নাম শ্রেণি রোল ছবি Published বাছাই এক দুই তিন চার পাঁচ ফাইনাল সম্পাদনা ডিলিট
{{$i}} {{$user->name}} {{$user->class}} {{$user->roll}} @if($user->permission == 1) {!! Form::open(['action' => ['AdminController@permission', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('permission', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@permission', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('permission', 1)!!} {!! Form::hidden('user_id', $user->id)!!} {!! Form::hidden('round_id', 0)!!} {!! Form::hidden('status', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @if($user->permission == 1) @if($user->selection == 1) {!! Form::open(['action' => ['AdminController@selection', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('selection', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@selection', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('selection', 1)!!} {!! Form::hidden('user_id', $user->id)!!} {!! Form::hidden('round_id', 1)!!} {!! Form::hidden('status', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
@if($user->selection == 1) @if($user->round_1 == 1) {!! Form::open(['action' => ['AdminController@roundone', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_1', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@roundone', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_1', 1)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
@if($user->round_1 == 1) @if($user->round_2 == 1) {!! Form::open(['action' => ['AdminController@roundtwo', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_2', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@roundtwo', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_2', 1)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
@if($user->round_2 == 1) @if($user->round_3 == 1) {!! Form::open(['action' => ['AdminController@roundthree', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_3', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@roundthree', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_3', 1)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
@if($user->round_3 == 1) @if($user->round_4 == 1) {!! Form::open(['action' => ['AdminController@roundfour', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_4', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@roundfour', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_4', 1)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
@if($user->round_4 == 1) @if($user->round_5 == 1) {!! Form::open(['action' => ['AdminController@roundfive', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_5', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@roundfive', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_5', 1)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
@if($user->round_5 == 1) @if($user->round_6 == 1) {!! Form::open(['action' => ['AdminController@roundsix', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_6', 0)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @else {!! Form::open(['action' => ['AdminController@roundsix', $user->id], 'method'=> 'POST']) !!} {!! Form::hidden('round_6', 1)!!} {!! Form::hidden('_method', 'POST') !!} {!! Form::close() !!} @endif @else
Disable
@endif
{{ csrf_field() }}
No Data Found
{{$users->links()}}
@endsection @section('footer-script') @include('admin.layouts.datatable-footer-script') @endsection