@extends('layouts.master') @section('contain') {{-- style="box-shadow: 0px 0px 14px 3px #cfcfcf; background: linear-gradient(45deg, rgb(241, 234, 234), transparent);border: 1px solid #cdcdcd;" --}}
| Position | Title | Image | Prize | Start | End |
|---|---|---|---|---|---|
| Leader Board | Title | Prize | Image | Start | End |
| Competition | {{ $winner->leaderboard->title ?? '-' }} | $ {{ $winner->leaderboard->prize ?? '-' }} |
|
{{ $winner->leaderboard->start ? date('F d Y', strtotime($winner->leaderboard->start)) : '-' }} | {{ $winner->leaderboard->end ? date('F d Y', strtotime($winner->leaderboard->end)) : '-' }} |
| Winner Posts | User | Title | Media | Description | Stars |
| First | {{ $winner->firstpost->postedby->full_name }} | {{ $winner->firstpost->title ?? '-' }} |
{{-- @if ($winner->firstpost->media_type == 'image')
@else
@endif --}}
{{-- {{json_encode($winner->firstpost['multimedia'])}} --}}
|
{{ $winner->firstpost->description ?? '-' }} | {{ $winner->first_star ?? '-' }} |
| Second | {{ $winner->secondpost->postedby->full_name }} | {{ $winner->secondpost->title ?? '-' }} |
@if ($winner->secondpost->media_type == 'image')
@else
@endif
|
{{ $winner->secondpost->description ?? '-' }} | {{ $winner->second_star ?? '-' }} |
| Third | {{ $winner->thirdpost->postedby->full_name }} | {{ $winner->thirdpost->title ?? '-' }} |
@if ($winner->thirdpost->media_type == 'image')
@else
@endif
|
{{ $winner->thirdpost->description ?? '-' }} | {{ $winner->third_star ?? '-' }} |