@extends("quran_project_files.quran_welcome_page") @section("content") @php use Illuminate\Support\Facades\DB; $ids_array = explode("," , $result[0]->surahs); $surah_ids = []; foreach($ids_array as $key => $value){ array_push($surah_ids , DB::select('select surah_id , surah_arabic_name from quran_surah where surah_id = ?', [$value])); } $new_qeraa_arabic_name = str_replace("_" , " " , $result[0]->qeraa_arabic_name); $new_tartel_arabic_name = str_replace("_" , " " , $result[0]->tartel_arabic_name); @endphp
اسم الترتيل
{{$new_tartel_arabic_name}}
اسم القراءة
{{$new_qeraa_arabic_name}}
@if($result[0]->surah_count == 114)
المصحف كامل
@endif @if($result[0]->surah_count < 114)

عدد المواد

{{$result[0]->surah_count}}
@endif
@foreach ($surah_ids as $item) @foreach ($item as $items) @endforeach @endforeach

@stop