Manage Contest Imports

{{ Form::open(['role' => 'form','id'=>'challengeAddForm','route'=>['Challenges.create_challenge'],'files' => true,'class'=>'form-inline','method' => 'get']) }} @php $matches=""; $getmatchid=""; @endphp @if(isset($_GET['matchid'])) @php $getmatchid = $_GET['matchid']; @endphp @endif
{{ Form::close() }}
@if(isset($allchallenges) && count($allchallenges)>0)
@php $matchkey = ""; $borderClasses = ['primary', 'success', 'danger']; @endphp @if(!empty($allchallenges)) @foreach($allchallenges as $index => $challenge) @php $matchkey = $challenge->matchkey; $borderClass = $borderClasses[$index % count($borderClasses)]; @endphp
{{$challenge->category_name}}

Win Amount:

{{$challenge->win_amount}}

League Size:

@if($challenge->challenge_type =='money') {{$challenge->maximum_user}} @else {{$challenge->winning_percentage.' % (of Total Users)'}} @endif

Entry Fee:

{{$challenge->entryfee}}

Confirmed League:

@if($challenge->confirmed_challenge==1) {{'Yes'}} @else {{'No'}} @endif

Multi Entry:

@if($challenge->multi_entry==1) {{'Yes' }} @else {{'No'}} @endif

Multi Joined:

@if(isset($challenge->is_multi_joined) && $challenge->is_multi_joined==1) {{'Yes' }} @else {{'No'}} @endif

Auto Repeat:

@if($challenge->is_running==1) {{'Yes'}} @else {{'No'}} @endif

@if($challenge->challenge_type =='money')

Price Card:

Add/Edit

@else

Price Card:

@endif @php $findjoinedleauges = DB::table('joinedleauges')->where('challengeid', $challenge->id)->get(); @endphp

{{ Form::open(['role' => 'form','id'=>'challengeAddForm','files' => true,'class'=>'form-inline','method' => 'get']) }} {{-- --}} {{ Form::close() }}

@if(empty($findjoinedleauges[0])) @if($specificMatch->status == "started")

Match Started:

@else
@endif @else @if($challenge->status=='canceled') @else @endif @endif
@endforeach @endif