@extends('layouts.master') @section('title', 'CrossFire Pharaoh | My Account') @section('background-image', asset("assets/images/image-1.jpg")) @section('content')

{{ __("account.MyAccount") }}

@forelse ($bills as $bill) @empty @endforelse
{{ __("account.Order") }} {{ __("account.AccountAmount") }} {{ __("account.AccountDonateValue") }} {{ __("account.AccountDonateMethod") }} {{ __("account.AccountDonateStatus") }} {{ __("account.AccountDonateRequest") }} {{ __("account.AccountDonateLastDate") }}
{{ $bill->TID }} {{ number_format($bill->AMMOUNT) }} ZP R${{ number_format($bill->PRICE, 2) }} {{ $bill->PAY_METHOD }} @if ($bill->DELIVERED_YN == "Y") {{ __("account.AccountDonateDelivered") }} @else @switch($bill->DELIVERED_N_REASON) @case('Canceled') @case('Failed') @case('Denied') {{ $bill->DELIVERED_N_REASON }} @break @default {{ $bill->DELIVERED_N_REASON }} @break @endswitch @endif {{ \Helper::date_stringFormat($bill->REG_DATE) }} {{ \Helper::date_stringFormat($bill->LAST_RESPONSE_DATE) }} {{ __("account.AccountDonateDetails") }}<
{{ __("account.AccountDonateNone") }}
{{ $bills->onEachSide(5)->links("pagination.cf-pagination", ["paginator" => $bills]) }}
@if (Session::has('success'))
{!! Session::get('success') !!}
@endif @if (Session::has('error'))
{{ Session::get('error') }}
@endif
@csrf @method('put')
{{ substr($user->E_MAIL, 0, 1).'****'.substr($user->E_MAIL, strpos($user->E_MAIL, "@")) }} @if ($user->EMAIL_VERIFY_YN == 'Y') @else @endif
@include('components.form-group', [ "label" => "E-Mail", "name" => "email", "placeholder" => "E-Mail", "value" => old('email') ]) @include('components.form-group', [ "control" => "text", "name" => "", "label" => "Secret Question", "value" => $question ?? "Secret Question", "text_style" => "warning" ]) @include('components.form-group', [ "label" => "Secret Answer", "name" => "sec_ans", "placeholder" => "Secret Answer ...", "value" => old('sec_ans') ]) @include('components.form-group', [ "control" => "button", "value" => "Change E-Mail" ])
{{ __("account.AccountSymbols") }} [].!~#?& {{ __("account.AccountSymbols2") }}
@csrf @method('put') @include('components.form-group', [ "label" => "New Nick", "type" => "text", "name" => "nick", "placeholder" => "New Nick ...", "value" => old('nick'), "min" => "3", "max" => "12", ]) @include('components.form-group', [ "control" => "buttom", "value" => "New Nick (20,000 ZP)" ])
@csrf @method('put') @include('components.form-group', [ "label" => "Current Web Password", "type" => "password", "name" => "password", "placeholder" => "Current Web Password", "value" => old('password') ])
@include('components.form-group', [ "label" => "New Game Password", "type" => "password", "name" => "npassword", "placeholder" => "New Game Password", "value" => old('npassword') ])
@include('components.form-group', [ "label" => "Repeat New Game Password", "type" => "password", "name" => "renpassword", "placeholder" => "Repeat New Game Password", "value" => old('renpassword') ])
@include('components.form-group', [ "control" => "buttom", "value" => "Change Game Password" ])
@csrf @method('put') @include('components.form-group', [ "label" => "Current Web Password", "type" => "password", "name" => "password", "placeholder" => __("account.ChangePassword"), "value" => old('password') ])
@include('components.form-group', [ "label" => "New Web Password", "type" => "password", "name" => "npassword", "placeholder" => "New Web Password", "value" => old('npassword') ])
@include('components.form-group', [ "label" => "Repeat New Web Password", "type" => "password", "name" => "renpassword", "placeholder" => "Repeat New Web Password", "value" => old('renpassword') ])
@include('components.form-group', [ "control" => "buttom", "value" => "Change Web Password" ])
@include('components.alert', [ "msg" => "Please wait 5 Seconds before trying again" ]) @if (Session::has('success'))
{!! Session::get('success') !!}
@endif @if (Session::has('error'))
{{ Session::get('error') }}
@endif @if (Session::has('fatal'))
{{ Session::get('fatal') }}
@endif
@csrf @include('components.form-group', [ "label" => "Code", "name" => "code", "placeholder" => "Insert Redeem Code", "min" => 1, "max" => 32, "value" => old('code') ]) @include('components.form-group', [ "control" => "button", "value" => "Regiser Code" ])

{{ __("account.RedeemHistory") }}

@forelse ($redeem as $item) @empty @endforelse
{{ __("account.Code") }} {{ __("account.RedeemItem") }} {{ __("account.CodeRegister") }}
{{ $item->CODE }} @if (strpos($item->DELIVERED_ITEM, " ") !== false && strcmp(explode(" ", $item->DELIVERED_ITEM)[1], "ZP") == 0) {{ number_format(explode(" ", $item->DELIVERED_ITEM)[0]) }} ZP @else {{ $item->DELIVERED_ITEM }} @endif {{ \Helper::date_stringFormat($item->DELIVERED_DATE) }}
{{ __("account.NoCode") }}
{{ $redeem->onEachSide(5)->links("pagination.cf-pagination", ["paginator" => $redeem]) }}
@endsection