@extends('dashboard.layouts.master') @section('title', Helper::GeneralSiteSettings("site_title_".@Helper::currentLanguage()->code)) @push("after-styles") @endpush @section('content')
{{ __('backend.hi') }} {{ Auth::user()->name }}, {{ __('backend.welcomeBack') }}
@if(@Auth::user()->permissionsGroup->home_status) @if(strip_tags(@Auth::user()->permissionsGroup->{'home_details_'. @Helper::currentLanguage()->code}) !="")
{!! @Auth::user()->permissionsGroup->{'home_details_'. @Helper::currentLanguage()->code} !!}
@endif @if(@Auth::user()->permissionsGroup->home_links !="") permissionsGroup->home_links); } catch (\Exception $e) { $home_links = []; } ?>
@if(count($home_links) >0) @foreach($home_links as $key=>$home_link) @endforeach @endif
@endif @else
permissionsGroup->data_sections); $clr_ary = array("info", "danger", "success", "accent",); $ik = 0; $mnu_title_var = "title_" . @Helper::currentLanguage()->code; $mnu_title_var2 = "title_" . env('DEFAULT_LANGUAGE'); ?> @foreach($GeneralWebmasterSections as $headerWebmasterSection) @if(in_array($headerWebmasterSection->id,$data_sections_arr)) @if($ik<4) $mnu_title_var != "") { $GeneralWebmasterSectionTitle = $headerWebmasterSection->$mnu_title_var; } else { $GeneralWebmasterSectionTitle = $headerWebmasterSection->$mnu_title_var2; } $LiIcon = ""; if ($headerWebmasterSection->type == 3) { $LiIcon = ""; } if ($headerWebmasterSection->type == 2) { $LiIcon = ""; } if ($headerWebmasterSection->type == 1) { $LiIcon = ""; } if ($headerWebmasterSection->type == 0) { $LiIcon = ""; } if ($headerWebmasterSection->id == 1) { $LiIcon = ""; } if ($headerWebmasterSection->id == 7) { $LiIcon = ""; } if ($headerWebmasterSection->id == 2) { $LiIcon = ""; } if ($headerWebmasterSection->id == 3) { $LiIcon = ""; } if ($headerWebmasterSection->id == 8) { $LiIcon = ""; } ?> @endif @endif @endforeach
{{ __('backend.visitors') }}

{{$TodayVisitors}}

{{ __('backend.pageViews') }}

{{$TodayPages}}

{{ __('backend.visitorsRate') }}

{{ __('backend.visitorsRateToday')." [ ".Helper::formatDate(date('Y-m-d'))." ]" }}

{{ __('backend.browsers') }}

{{ __('backend.browsersCalculated') }}
@if($TodayByBrowser1_val >0)
{{$TodayByBrowser1}} {{$TodayByBrowser1_val}} {{ __('backend.more') }}
{{$TodayByBrowser2}} {{$TodayByBrowser2_val}} {{ __('backend.more') }}
@endif

{{ __('backend.todayByCountry') }}

@if(count($TodayByCountry) == 0)

{{ __('backend.noData') }}
@else
    @foreach($TodayByCountry as $id) @if($ii<=4)
  • @foreach($id as $key => $val) @if($i2 == 0) @endif @if($i2 == 1) @endif @if($i2 == 2) @endif @if($i2 == 3) @endif @endforeach
"; } ?> {{$v1}}
{!! $flag !!} {{$v0}}
{{ __('backend.visitors') }} : {{ $v2 }}, {{ __('backend.pageViews') }} : {{ $v3 }}
@endif @endforeach @endif
permissionsGroup->inbox_status) { $col_count++; } } if (Helper::GeneralWebmasterSettings("calendar_status")) { if (Auth::user()->permissionsGroup->calendar_status) { $col_count++; } } if (Helper::GeneralWebmasterSettings("newsletter_status")) { if (Auth::user()->permissionsGroup->newsletter_status) { $col_count++; } } $col_width = 12; if ($col_count > 0) { $col_width = 12 / $col_count; } ?> @if(Helper::GeneralWebmasterSettings("inbox_status")) @if(@Auth::user()->permissionsGroup->inbox_status)

{{ __('backend.latestMessages') }}

@if(count($Webmails) == 0)

{{ __('backend.noData') }}
@else
    @foreach($Webmails as $Webmail) date)); if ($day_mm == $s4ds_current_date) { $dtformated = date('h:i A', strtotime($Webmail->date)); } else { $dtformated = Helper::formatDate($Webmail->date); } try { $groupColor = $Webmail->webmailsGroup->color; $groupName = $Webmail->webmailsGroup->name; } catch (Exception $e) { $groupColor = ""; $groupName = ""; } $fontStyle = ""; $unreadIcon = ""; $unreadbg = ""; $unreadText = ""; if ($Webmail->status == 0) { $fontStyle = "_700"; $unreadIcon = ""; $unreadbg = "style=\"background: $groupColor \""; $unreadText = "style=\"color: $groupColor \""; } ?>
  • {{ $dtformated }}
    $Webmail->id]) }}" class="pull-left w-40 m-r"> {!! $unreadIcon !!}
  • @endforeach
@endif
@endif @endif @if(Helper::GeneralWebmasterSettings("calendar_status")) @if(@Auth::user()->permissionsGroup->calendar_status)

{{ __('backend.notesEvents') }}

@if(count($Events) == 0)

{{ __('backend.noData') }}
@else
@foreach($Events as $Event) type == 3) { $cls = "info"; } elseif ($Event->type == 2) { $cls = "danger"; } elseif ($Event->type == 1) { $cls = "success"; } else { $cls = "black"; } ?>
@if($Event->type ==1 || $Event->type ==2) {{ Helper::formatDate($Event->start_date)." ".date("h:i A", strtotime($Event->start_date)) }} @else {{ Helper::formatDate($Event->start_date) }} @endif
@endforeach
@endif
@endif @endif @if(Helper::GeneralWebmasterSettings("newsletter_status")) @if(@Auth::user()->permissionsGroup->newsletter_status)

{{ __('backend.latestContacts') }}

@if(count($Contacts) == 0)

{{ __('backend.noData') }}
@else @endif
@endif @endif
@endif @endsection