@if($compact_view == 1)
@else
{{--Keywords Table--}}
@endif
@stop
@section('page_modals')
@include('keywordreporting.kw_modal_form')
@stop
@section('page_scripts')
@stop
@endif
{{--
@if($compact_view == 1)
Keywords Overall Performance By Category and Location
--}}
@include('keywordreporting.total_table')
@else
@endif
ID | --}}Keywords | Category | @foreach($locations as $location){{clean_location($location->label)}} | @endforeach|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
(G) Desktop | (G) Mobile | (G) Maps | (B) Desktop | (B) Mobile | @endforeach||||||||
{{-- #{{$keyword->id}}--}} {{$keyword->keyword}} | {{----}} | {{$categories_array[$keyword->kw_category_id]}} | @foreach($locations as $key => $location) {{--DESKTOP RANKING--}} @if(isset($current_data[$keyword->id][$location->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 | @else0N/A | @endif {{--MOBILE RANKING--}} @if(isset($current_data[$keyword->id][$location->id])){!! 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 | @else0N/A | @endif {{--THIRD PARTY--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif {{--LOCAL RANKING--}} @if(isset($current_data[$keyword->id][$location->id])){!! 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 | @else0N/A | @endif {{---BING--}} {{--DESKTOP RANKING--}} @if(isset($current_data[$keyword->id][$location->id])){!! 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 | @else0N/A | @endif {{--MOBILE RANKING--}} @if(isset($current_data[$keyword->id][$location->id])){!! 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 | @else0N/A | @endif {{--THIRD PARTY--}} @if(isset($current_data[$keyword->id][$location->id])) @else @endif @endforeach