@extends('layout.mainlayout') @section('content') @php $locale = app('translator')->getLocale() ?? 'en'; $currency_code = 'SAR'; if (isset($global_symbol['from_website']) && $global_symbol['from_website']){ if ($locale == 'en'){ if(isset($global_symbol['is_html']) && $global_symbol['is_html']){ $currency_code = 'SAR'; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } }else{ if(isset($global_symbol['is_html_ar']) && $global_symbol['is_html_ar']){ $currency_code = 'SAR'; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } } } @endphp
@php $tags = explode(',', app('translator')->getLocale() == 'ar' ? $blog->TAGS_AR : $blog->TAGS_EN); @endphp
@foreach ($tags as $tag) {{ $tag }} @endforeach

@if(app('translator')->getLocale() == "ar"){{$blog->TITLE_AR}}@else{{$blog->TITLE_EN}}@endif

{{trans('web.by')}} {{ app('translator')->getLocale() == 'ar' ? $blog->AUTHOR_AR : $blog->AUTHOR_EN }} {{ $blog->CREATED_DATE }}
{!! app('translator')->getLocale() == 'ar' ? $blog->DESCRIPTION_AR : $blog->DESCRIPTION_EN !!}
@if(count($tests) > 0)
getLocale() == 'ar') style="direction: rtl" @endif>
{!! app('translator')->getLocale() == 'ar' ? $blog->HIGHLIGHT_TITLE_AR : $blog->HIGHLIGHT_TITLE_EN !!}
@include('partials.whatsapp-btn')
{!! app('translator')->getLocale() == 'ar' ? $blog->SUB_HIGHLIGHT_TITLE_AR : $blog->SUB_HIGHLIGHT_TITLE_EN !!}
@include('partials.tabby-tamara')
@endif
{!! app('translator')->getLocale() == 'ar' ? $blog->SECOND_DESCRIPTION_AR : $blog->SECOND_DESCRIPTION_EN !!}
@php $tags = explode(',', app('translator')->getLocale() == 'ar' ? $blog->TAGS_AR : $blog->TAGS_EN); @endphp
@foreach ($tags as $tag) @if(count($tags) == 1 && empty($tag)) @continue @endif {{ $tag }} @endforeach
@include('still-have-question') @endsection @if(count($tests) > 0) @section('frontend_scripts') @endsection @endif