@php use App\Models\LoginBanner;use App\Models\Setting; @endphp @extends('auth.layouts.master') @section('content') @php $codeLen = Setting::getValue('verify_code_length'); $loginBanner = LoginBanner::where('date', verta()->format('m/d'))->first(); if(!$loginBanner){ $loginBanner = LoginBanner::whereNull('date')->inRandomOrder()->first(); } $phone = session()->get('phone'); $user = \App\Models\User::wherePhone($phone)->first(); $rem = $user->verify_expires_at->diffInSeconds(now()->format('Y-m-d H:i:s')); @endphp
Day Insurance Logo

تأیید شماره موبایل

رمز {{ $codeLen }} رقمی ارسال شده به شماره را وارد کنید

@csrf
@php $delay = 0.40; @endphp @for($i = 0; $i < $codeLen; $i++) @endfor
@session('error') {{ session('error') }} @endsession
0:00
زمان باقی‌مانده
@if($rem < 0) @endif {{--
--}} {{-- --}} {{--
--}}
@if(!empty($loginBanner->link)) @endif

{{ $loginBanner->name }}

{!! $loginBanner->desc !!} @if(!empty($loginBanner->link)) @endif

@endsection @section('scripts') @endsection