@extends('layouts.appUi') @section('customStyle') @endsection @section('header') @endsection @section('content')
@if (validateDownlineSession()) {{-- logo --}}

LT-99.COM

@else logo @endif
{{-- --}} @if (Request::filled('ref')) @endif
@if (Request::filled('ref')) @endif
{{--

อัตราจ่าย

@if ($lotteryRounds->count())
@foreach ($lotteryRounds as $lotteryRoundKey => $lotteryRound)

งวดวันที่ {{ THdatetime($lotteryRound->display_date, 'date') }}

@php $currentLotteryResultFormats = $lotteryResultFormats->where('lottery_id', $lotteryRound->lottery_id) @endphp @if ($currentLotteryResultFormats->filter(function($item){ return $item->row; })->count())
@php $lotteryResult = \App\LotteryResult::whereLotteryRoundId($lotteryRound->id)->first() @endphp @if ($lotteryResult->result_image) @endif @php $row = 0; $col = 0; @endphp @foreach ($currentLotteryResultFormats as $lotteryResultFormatKey => $lotteryResultFormat) @php $currentLotteryResultDetails = $lotteryRound->lotteryResultDetail->where('lottery_result_type', $lotteryResultFormat->result_type) @endphp @foreach ($currentLotteryResultDetails as $lotteryResultDetailKey => $lotteryResultDetail) @if ($row < $lotteryResultFormat->row) @if ($row > 0) @endif @php $row++; $col = 0; @endphp @endif @if ($col < $lotteryResultFormat->col) @if ($col > 0) @endif @php $col++ @endphp @endif @if ( $currentLotteryResultFormats->keys()->last() === $lotteryResultFormatKey && $currentLotteryResultDetails->keys()->last() === $lotteryResultDetailKey ) @endif @endforeach @endforeach

{{ $lotteryResultDetail->lottery_result_type }}

@endif
letter_spacing) style="letter-spacing: {{ $lotteryResultFormat->letter_spacing }}pt;" @endif >{{ $lotteryResultDetail->value }}
@if ($currentLotteryResultDetails->keys()->last() === $lotteryResultDetailKey)
@else
@foreach ($lotteryRound->lotteryResultDetail as $lotteryResultDetailKey => $lotteryResultDetail)
img
{{ $lotteryResultDetail->lottery_result_type }}

{{ $lotteryRound->lottery_name }}

{{ $lotteryResultDetail->value }}
@endforeach
@endif
@endforeach @else

ไม่มีข้อมูลการออกผลรางวัล

@endif
--}} {{--

อัตราจ่าย

@if (!$imagePayment->count())

ไม่มีข้อมูลอัตราจ่าย

@endif

บทความ

@if (!$adminArticle->count())

ไม่มีบทความ

@endif

ข่าวสาร

@if (!$articles->count())

ไม่มีข่าวสาร

@endif
--}}
@endsection @section('modal') @if (!is_null($promotion) && !$allowCloseSystemModal) {{-- --}} @endif @if ($allowCloseSystemModal) @endif @endsection @section('footer')
@endsection {{-- ิ@if (Request::filled('ref')) --}} @section('bottomNav')
@endsection {{-- @endif --}} @section('script') @endsection