@extends('template.master') @section('page_styles') {{--CUSTOM STYLES HERE--}} {{--CUSTOM STYLES HERE--}} @stop @section('content')
@include('keywordreporting.header_view') @if($keywords->count() == 0) @include('no_data', [ 'nd_title' => 'Keyword Reporting is Under Review', 'nd_subtitle' => 'The system and our team is processing the best keywords to use for your website.' ]) @else

PRIORITIES

CATEGORIES: @if(!empty($categories_with_prio)) @foreach($categories_with_prio as $_index => $cwp) #{{$_index}} {{$cwp->label}} @if (!$loop->last)    //    @endif @endforeach @else NO PRIORITIES FOR CATEGORIES ARE SET @endif
LOCATIONS: @if(!empty($locations_with_prio)) @foreach($locations_with_prio as $_index => $cwp) #{{$_index}} {{$cwp->label}} @if (!$loop->last)    //    @endif @endforeach @else NO PRIORITIES FOR LOCATIONS ARE SET @endif
@if($compact_view == 1)
@else
@endif {{--

Keywords Overall Performance By Category and Location

--}}
@include('keywordreporting.total_table')
@if($compact_view == 1)
@else
@endif
{{-- --}} @foreach($locations as $location) @endforeach @php $loc_color = ['blue', 'red', 'green', 'orange']; @endphp @foreach($locations as $key => $location) @endforeach @foreach($keywords as $keyword) {{-- @foreach($locations as $key => $location) {{--DESKTOP RANKING--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{--MOBILE RANKING--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{--THIRD PARTY--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{--LOCAL RANKING--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{---BING--}} {{--DESKTOP RANKING--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{--MOBILE RANKING--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{--THIRD PARTY--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif @endforeach @endforeach
IDKeywords Category {{clean_location($location->label)}}
(G) Desktop (G) Mobile (G) Maps (B) Desktop (B) Mobile
{{-- #{{$keyword->id}}--}} {{$keyword->keyword}} --}} {{$categories_array[$keyword->kw_category_id]}} {!! kw_rank_getvalue($kw_data) !!} @if(isset($previous_data[$keyword->id][$location->id]) && !is_null(kw_rank_getvalue($current_data[$keyword->id][$location->id])) && kw_rank_getvalue($current_data[$keyword->id][$location->id]) != 0) {!! kw_rank_compare($current_data[$keyword->id][$location->id], $previous_data[$keyword->id][$location->id], '', $show_down) !!} @endif 0N/A {!! kw_mobile_rank_getvalue($kw_data) !!} @if(isset($previous_data[$keyword->id][$location->id]) && !is_null(kw_mobile_rank_getvalue($current_data[$keyword->id][$location->id])) && kw_mobile_rank_getvalue($current_data[$keyword->id][$location->id]) != 0) {!! kw_rank_compare($current_data[$keyword->id][$location->id], $previous_data[$keyword->id][$location->id], '', $show_down) !!} @endif 0N/A {!! kw_local_getvalue($kw_data) !!} @if(isset($previous_data[$keyword->id][$location->id]) && !is_null(kw_local_getvalue($current_data[$keyword->id][$location->id])) && kw_local_getvalue($current_data[$keyword->id][$location->id]) != 0) {!! kw_rank_compare($current_data[$keyword->id][$location->id], $previous_data[$keyword->id][$location->id], 'local_rank', $show_down) !!} @endif 0N/A {!! kw_rank_getvalue($kw_data, 'bing') !!} @if(isset($previous_data[$keyword->id][$location->id]) && !is_null(kw_rank_getvalue($current_data[$keyword->id][$location->id], 'bing')) && kw_rank_getvalue($current_data[$keyword->id][$location->id], 'bing') != 0) {!! kw_rank_compare($current_data[$keyword->id][$location->id], $previous_data[$keyword->id][$location->id], 'bing', $show_down) !!} @endif 0N/A {!! kw_rank_getvalue($kw_data, 'bing_mobile') !!} @if(isset($previous_data[$keyword->id][$location->id]) && !is_null(kw_rank_getvalue($current_data[$keyword->id][$location->id], 'bing_mobile')) && kw_rank_getvalue($current_data[$keyword->id][$location->id], 'bing_mobile') != 0) {!! kw_rank_compare($current_data[$keyword->id][$location->id], $previous_data[$keyword->id][$location->id], 'bing_mobile', $show_down) !!} @endif 0N/A

{{--Keywords Table--}} @endif
@stop @section('page_modals') @include('keywordreporting.kw_modal_form') @stop @section('page_scripts') @stop