@extends('backend.layouts.app') @section('title', 'Dashboard') @push('styles') @endpush @section('content')

DASHBOARD

home_work
TOTAL PROPERTY
post_add
TOTAL POST
comment
TOTAL COMMENT
people
TOTAL USER

RECENT PROPERTIES

@foreach($properties as $key => $property) @endforeach
Title Purpose Type Bed/Bath Floor (sqft) Price Address star Manager Time
{{ str_limit($property->title, 15) }} @if($property->purpose == 'rent') {{ $property->purpose }} @else {{ $property->purpose }} @endif {{ $property->type }} {{ $property->bedroom . "/" . $property->bathroom }} {{ $property->area }} ${{ number_format($property->price) }} {{ $property->address . ", " . $property->city }} @if($property->featured == 1) F @endif {{ $property->user->name }} {{ $property->created_at->diffForHumans() }} visibility

RECENT POSTS

@foreach($posts as $key => $post) @endforeach
Title Content Author pageview comment Time
{{ str_limit($post->title, 30) }} {{ str_limit($post->body, 60) }} {{ $post->user->name }} {{ $post->view_count }} {{ $post->comments_count }} {{ $post->created_at->diffForHumans() }} visibility

RECENT COMMENTS

@foreach($comments as $key => $comment) @endforeach
Comment On check Author Time
{{ str_limit($comment->body, 20) }} @if($comment->commentable_type == "App\Property") Property @else Post @endif @if($comment->approved == 1) Approved @else Pending @endif {{ strtok($comment->users->name, " ")}} {{ $comment->created_at->diffForHumans() }} @if($comment->commentable_type == "App\Property") visibility @else visibility @endif

ALL USERS

@foreach($users as $key => $user) @endforeach
Name Email Username Role Bio Created at
{{ $user->name }} {{ $user->email }} {{ $user->username }} {{ $user->role->name }} {{ $user->about }} {{ $user->created_at->diffForHumans() }}
@endsection @push('scripts') @endpush