@if (Auth::user()) @php $condition = Auth::user()->id === 333; $endpoint = route('appUi.index'); if ($condition) $endpoint = route('front.lotteryResult'); @endphp
หน้าแรก
{{--
ถ่ายทอดสด
--}} {{-- --}} @if ($condition)
@else
@endif {{--
ประกาศ
--}} {{-- --}}
{{-- --}} ตั้งค่า
@else @if (Request::filled('ref'))
สมัครสมาชิก
@else
โปรโมชั่น / ข่าวสาร
@endif
เข้่าสู่ระบบ
@endif