@extends('layouts.admin')

@section('title')
    Dashboard
@stop

@section('content')

    @if(false)
        @foreach($sections as $section)

            <div class="col-md-4">

                <div class="small-box bg-green">
                    <div class="inner">
                        <h3>{{$section->name}}</h3>
                        <p>{{$section->news_online('section')}} news online</p>
                        <p>{{$section->news('section')}} news inserite</p>
                    </div>

                </div>
                
            </div>
            
        @endforeach

        @foreach($regions as $region)

            <div class="col-md-4">

                <div class="small-box bg-orange">
                    <div class="inner">
                        <h3>{{$region->name}}</h3>
                        <p>{{$region->news_online('region')}} news online</p>
                        <p>{{$region->news('region')}} news inserite</p>
                    </div>

                </div>
                
            </div>
            
        @endforeach
    @endif   
@stop