@extends('layouts.app') @section('content')
Dashboard - Advertisements
@if (session('status')) @endif @if (session()->has('message'))
{!! session()->get('message') !!}
@endif

Add Article


{{--below is the check to see if records exist--}} @if($articles->count() > 0) {{--the table below will house all the current added projects and teh available action options--}}
@foreach($articles as $article) @endforeach
Title Category Photo Status Location Content Action
{{str_limit($article->article_title,30)}} {{$article->article_category}} @if($article->article_status == 1) Shown @else Hidden @endif {{$article->article_location}} {{str_limit($article->article_details,10)}}
{{csrf_field()}} {{method_field('DELETE')}}
{{-- {{$ads->links()}}--}}
@else

There are no existing ads in db

@endif
@endsection