@extends('layouts.user_type.auth') @if ($art->function == 'qrcodetwo' || $art->function == 'qrcodetwobf') @endif @section('content')
{{ $art->title }}

{{ $art->summary }}

{!! $art->description !!}

@csrf @if ($art->fields != '')
@php $fieldsSelect = explode('|', $art->fields); @endphp
@endif
@foreach ($art->allfields as $artField) @if ($artField->order == 1)
@endif @switch($artField->type) @case('text') other !!} {{ $artField->function }} type="{{ $artField->type }}"> @break @case('date') other !!} {{ $artField->function }} type="text" onfocus="focused(this)" onfocusout="defocused(this)"> @break @case('select') @break @case('textarea') @break @endswitch @if ($artField->order == 7)
@endif @if ($artField->order == 16)
@endif @endforeach

Acessos: {{ count($art->read) }}

Downloads: {{ count($art->download) }}

Criado em: {{ \Carbon\Carbon::parse($art->created_at)->format('d/m/Y') }}

Outras Artes
@foreach ($othersArts as $otherArt)
{{ $otherArt->title }}

{{ $otherArt->summary }}

Acessar

Leituras: {{ count($otherArt->download) }}

Criado em: {{ \Carbon\Carbon::parse($otherArt->created_at)->format('d/m/Y') }}

@endforeach
@endsection @push('dashboard') @endpush @if ($art->function == 'qrcodetwo' || $art->function == 'qrcodetwobf') @endif