{{-- * @description Char-Bazaar - Venda de personagens * @author Rickson Kauê * @date Data de criação 05/12/2023 * @version 1.0 * @copyright (c) Ravenor * @email ricksonkaue04@gmail.com --}} @extends('template.layout') @section('title', 'Current Auctions') @section('submenuItem', 'currentAuctions') @section('content') @if($charactersData->count() === 0) {!! $formaters->small_box('There are no characters for sale yet.') !!} @else
Direct Sale
Direct Sale Code:
@csrf

Current Auctions
@php $cont = 0; @endphp @foreach( $charactersData as $character) @if ($character->status == 4) @php continue; @endphp @endif @endforeach
@if($character->account_old == $accountId) Your character | @endif Level: {{ $character->level }} | Vocation: {{ $vocations[$character->vocation] }} | Sex: {{ $character->sex == 0 ? "Female" : "Male" }}
@if (!empty($outifitsData[$character->player_id])) @foreach ($outifitsData[$character->player_id] as $outfit)
Character Outfit
@endforeach @else
Character Outfit
@endif
 no_necklace
 no_helmet
 no_backpack
 no_handright
 no_armor
 no_handleft
 no_ring
 no_legs
 no_ammo
Auction Start:

{{ date('M d Y, H:s:i', strtotime($character->date_start)) }}
Auction End:

@if (date('M d Y, H:i:s', strtotime($character->date_end)) !== 'Jan 01 1970, 01:00:00')
{{ date('M d Y, H:i:s', strtotime($character->date_end)) }}
@else
It still doesn't have time to expire.
@endif
Current Bid:

{{ $character->bid_price > 0 ? $character->bid_price : $character->price }} Ravenor Coins
My Bid Limit
@csrf @if($character->bid_price > 1) @else @endif
@csrf
@php $cont++; @endphp
@endif @endsection