{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: //var/www/bfti-website/resources/views/frontend/index.blade.php
@extends('frontend.layouts.app') @section('title') {{ $pageTitle }} @endsection @section('seo-meta') <meta name="description" content="{{ substr(strip_tags($settings['meta_description']), 0, 200) }}"> <meta name="keywords" content="{{ $settings['keyword'] }}"> <meta property="og:url" content="{{ route('frontend.home') }}"> <meta property="og:description" content="{{ substr(strip_tags($settings['meta_description']), 0, 200) }}"> <meta property="og:title" content="{{ $pageTitle }} | {{ $settings['website_name'] }}"> <meta property="og:site_name" content="{{ $settings['website_name'] }}"> <meta property="og:type" content="website" /> <meta property="og:image" content="{{ $settings['logo']->getFirstMediaUrl('logo') }}"> <meta property="og:image:type" content="image/jpeg" /> <meta property="og:image:width" content="800" /> <meta property="og:image:height" content="450" /> <meta property="og:image:alt" content="{{ $pageTitle }} | {{ $settings['website_name'] }}" /> <!-- Twitter --> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="{{ route('frontend.home') }}"> <meta name="twitter:title" content="{{ $pageTitle }} | {{ $settings['website_name'] }}"> <meta name="twitter:description" content="{{ substr(strip_tags($settings['meta_description']), 0, 200) }}"> <meta name="twitter:image:src" content="{{ $settings['logo']->getFirstMediaUrl('logo') }}"> <meta name="twitter:url" content="{{ route('frontend.home') }}"> @endsection @section('content') <section id="home" class="flex-grow-1"> <div class="banner"> <div class="container"> <p class="scrolling-news d-flex mb-0 mb-lg-3"> {{-- <span class="text-nowrap me-2">News Scroll Here:</span> --}} <marquee class="text-black fw-semibold"> @if ($scrollNews) @foreach ($scrollNews as $scroll_news) <a target="_blank" href="{{ $scroll_news->url }}">{{ $scroll_news->title }}</a> @endforeach @endif </marquee> </p> <div class="row"> <div class="col-lg-3 order-lg-0 order-2"> <ul class="sidebar-shortcuts"> <li><a href="{{ route('frontend.WTO_reference_centre') }}">WTO Reference Centre </a></li> {{-- <li><a href="https://www.bangladeshtradeportal.gov.bd/">Trade Portal</a></li> --}} {{-- <li><a href="{{ route('frontend.tradeData') }}">Trade Data</a></li> --}} <li><a href="{{ route('frontend.training.category', 'upcoming_training') }}">Upcoming Training</a></li> <li><a href="{{ route('frontend.events') }}?category=upcoming_event">Upcoming Events</a></li> {{-- <li><a href="http://services.mincom.gov.bd/portal/services?service_category_id=11">Services</a></li> --}} <li><a href="{{ route('frontend.publication') }}">Publications</a></li> <li class="collapseGallery"> <a href="#" data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="false">Gallery</a> </li> <li class="collapse multi-collapse" id="multiCollapseExample1"> <a href="{{ route('frontend.imageGallery') }}"> → Image</a> </li> <li class="collapse multi-collapse" id="multiCollapseExample2"> <a href="{{ route('frontend.videoGallery') }}"> → Video</a> </li> <li><a href="{{ route('frontend.career') }}">Careers</a></li> <li><a href="{{ route('frontend.connectWithBfti') }}">Connect with BFTI</a></li> <li><a href="{{ $settings['web_mail'] }}">Webmail</a></li> <li><a href="{{ route('frontend.usefulLinks') }}">Useful Links</a></li> {{-- <li><a href="{{ route('frontend.academic') }}">Academic</a></li> --}} {{-- <li><a href="{{ route('frontend.partnership') }}">Partnerships</a></li> --}} </ul> </div> <div class="col-lg-6 py-3 py-lg-0 order-lg-1 order-0 position-relative"> <div class="slider-button-prv"> <a href="#" class="text-white fs-4 opacity-50 pt-1"> <img src="{{ asset('frontend') }}/assets/icons/left-arrow.png" width="14" height="14" alt="" /> </a> </div> <div class="banner-middle h-100 pt-3"> @foreach ($sliderNewses as $sliderNews) <div> <div class="banner-img-container"> <a class="p-0 m-0" href="{{ route('frontend.news.details', $sliderNews->id) }}"> <img src="{{ $sliderNews->getFirstMediaUrl('post', 'large') }}" class="w-100 px-3" alt="banner" /> </a> </div> <p> {{ $sliderNews->title_two }} </p> <div> <div class="d-flex banner-event-date"> <span class="rounded-1">{{ \Carbon\Carbon::parse($sliderNews->date)->isoFormat('D MMMM YYYY') }}</span> {{-- <span class="rounded-1">Event News</span> --}} </div> <a class="d-flex pb-3" href="{{ route('frontend.news.details', $sliderNews->id) }}"> <h4 class="text-white">{{ $sliderNews->title }} </h4> </a> </div> </div> @endforeach </div> <div class="slider-button"> <a href="#" class="text-white fs-4 opacity-50 pt-1"> <img src="{{ asset('frontend') }}/assets/icons/arrow-right-white.svg" width="14" height="14" alt="" /> </a> </div> </div> <div class="col-lg-3 order-lg-2 order-1"> <div class="bfti-updates"> <h4>Notice</h4> <div class="update-card-container"> @foreach ($updateNewses as $updateNews) <a class="update-card" target="_blank" href="{{ $updateNews->url }}">{{ $updateNews->title }} @if ($updateNews->is_new) <span class="badge bg-danger">New</span> @endif </a> @endforeach </div> </div> </div> </div> </div> </div> <div class="container"> <div class="row"> @if ($research) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.research') }}"> Research & Study </a> </h4> </div> <div class="row"> <div class="col-sm-6"> <div class="home-card"> <a href="{{ route('frontend.research.details', $research->id) }}" class="p-0 m-0"> <img src="{{ $research->getFirstMediaUrl('research', 'medium') }}" alt="{{ $research->title }}" width="100%" /> </a> <div class="d-flex py-3 flex-wrap"> <span class="my-1">{{ \Carbon\Carbon::parse($research->date)->isoFormat('D MMMM YYYY') }}</span> <span class="my-1">Research</span> </div> <h5> <a href="{{ route('frontend.research.details', $research->id) }}">{{ $research->title }}</a> </h5> <a href="{{ route('frontend.research.details', $research->id) }}" class="read-more">Read More</a> </div> </div> <div class="col-sm-6 d-flex flex-wrap"> @foreach ($researchRecords as $researchRecord) <div class="home-thumb"> <div class="row"> <div class="col-4"> <a href="{{ route('frontend.research.details', $researchRecord->id) }}" class="p-0 m-0"> <img src="{{ $researchRecord->getFirstMediaUrl('research', 'thumbnail') }}" alt="{{ $researchRecord->title }}" width="100%" /> </a> </div> <div class="col-8 d-flex flex-column"> <h6 class="fs-md"> <a href="{{ route('frontend.research.details', $researchRecord->id) }}">{{ $researchRecord->title }}</a> </h6> <span>{{ \Carbon\Carbon::parse($researchRecord->date)->isoFormat('D MMMM YYYY') }}</span> <div class="py-2"> <a href="{{ route('frontend.research.details', $researchRecord->id) }}" class="read-more">Read More</a> </div> </div> </div> </div> @endforeach </div> </div> </div> @endif @if ($training) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.training') }}"> Training </a> </h4> </div> <div class="row"> <div class="col-sm-6"> <div class="home-card"> <a href="{{ route('frontend.training.details', $training->id) }}"> <img src="{{ $training->getFirstMediaUrl('training', 'medium') }}" alt="{{ $training->title }}" width="100%" /> </a> <div class="d-flex py-3 flex-wrap"> <span class="my-1">{{ \Carbon\Carbon::parse($training->date)->isoFormat('D MMMM YYYY') }}</span> <span class="my-1">Training</span> </div> <h5> <a href="{{ route('frontend.training.details', $training->id) }}">{{ $training->title }}</a> </h5> <a href="{{ route('frontend.training.details', $training->id) }}" class="read-more">Read More</a> </div> </div> <div class="col-sm-6 d-flex flex-wrap"> @foreach ($trainingRecords as $trainingRecord) <div class="home-thumb"> <div class="row"> <div class="col-4"> <a href="{{ route('frontend.training.details', $trainingRecord->id) }}" class="p-0 m-0"> <img src="{{ $trainingRecord->getFirstMediaUrl('training', 'thumbnail') }}" alt="{{ $trainingRecord->title }}" width="100%" /> </a> </div> <div class="col-8 d-flex flex-column"> <h6 class="fs-md"> <a href="{{ route('frontend.training.details', $trainingRecord->id) }}">{{ $trainingRecord->title }}</a> </h6> <span>{{ \Carbon\Carbon::parse($trainingRecord->date)->isoFormat('D MMMM YYYY') }}</span> <div class="py-2"> <a href="{{ route('frontend.training.details', $trainingRecord->id) }}" class="read-more">Read More</a> </div> </div> </div> </div> @endforeach </div> </div> </div> @endif @if ($policyAdvocacy) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.policyAdvocacy') }}"> Policy Advocacy </a> </h4> </div> <div class="row"> <div class="col-sm-6"> <div class="home-card"> <a href="{{ route('frontend.policyAdvocacy.details', $policyAdvocacy->id) }}" class="p-0 m-0"> <img src="{{ $policyAdvocacy->getFirstMediaUrl('policyAdvocacy', 'medium') }}" alt="{{ $policyAdvocacy->title }}" width="100%" /> </a> <div class="d-flex py-3 flex-wrap"> <span class="my-1">{{ \Carbon\Carbon::parse($policyAdvocacy->date)->isoFormat('D MMMM YYYY') }}</span> <span class="my-1">Policy</span> </div> <h5> <a href="{{ route('frontend.policyAdvocacy.details', $policyAdvocacy->id) }}">{{ $policyAdvocacy->title }}</a> </h5> <a href="{{ route('frontend.policyAdvocacy.details', $policyAdvocacy->id) }}" class="read-more">Read More</a> </div> </div> <div class="col-sm-6 d-flex flex-wrap"> @foreach ($policyAdvocacyRecords as $policyAdvocacyRecord) <div class="home-thumb"> <div class="row"> <div class="col-4"> <a href="{{ route('frontend.policyAdvocacy.details', $policyAdvocacyRecord->id) }}" class="p-0 m-0"> <img src="{{ $policyAdvocacyRecord->getFirstMediaUrl('policyAdvocacy', 'thumbnail') }}" alt="{{ $policyAdvocacyRecord->title }}" width="100%" /> </a> </div> <div class="col-8 d-flex flex-column"> <h6 class="fs-md"> <a href="{{ route('frontend.policyAdvocacy.details', $policyAdvocacyRecord->id) }}">{{ $policyAdvocacyRecord->title }}</a> </h6> <span>{{ \Carbon\Carbon::parse($policyAdvocacyRecord->date)->isoFormat('D MMMM YYYY') }}</span> <div class="py-2"> <a href="{{ route('frontend.policyAdvocacy.details', $policyAdvocacyRecord->id) }}" class="read-more">Read More</a> </div> </div> </div> </div> @endforeach </div> </div> </div> @endif @if ($publication) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.publication') }}"> Publications </a> </h4> </div> <div class="row"> <div class="col-sm-6"> <div class="home-card"> <a href="{{ route('frontend.publication.details', $publication->id) }}" class="p-0 m-0"> <img src="{{ $publication->getFirstMediaUrl('publication', 'medium') }}" alt="{{ $publication->title }}" width="100%" /> </a> <div class="d-flex py-3 flex-wrap"> <span class="my-1">{{ \Carbon\Carbon::parse($publication->date)->isoFormat('D MMMM YYYY') }}</span> <span class="my-1">Publication</span> </div> <h5> <a href="{{ route('frontend.publication.details', $publication->id) }}">{{ $publication->title }}</a> </h5> <a href="{{ route('frontend.publication.details', $publication->id) }}" class="read-more">Read More</a> </div> </div> <div class="col-sm-6 d-flex flex-wrap"> @foreach ($publicationRecords as $publicationRecord) <div class="home-thumb"> <div class="row"> <div class="col-4"> <a href="{{ route('frontend.publication.details', $publicationRecord->id) }}" class="p-0 m-0"> <img src="{{ $publicationRecord->getFirstMediaUrl('publication', 'thumbnail') }}" alt="{{ $publicationRecord->title }}" width="100%" /> </a> </div> <div class="col-8 d-flex flex-column"> <h6 class="fs-md"> <a href="{{ route('frontend.publication.details', $publicationRecord->id) }}">{{ $publicationRecord->title }}</a> </h6> <span>{{ \Carbon\Carbon::parse($publicationRecord->date)->isoFormat('D MMMM YYYY') }}</span> <div class="py-2"> <a href="{{ route('frontend.publication.details', $publicationRecord->id) }}" class="read-more">Read More</a> </div> </div> </div> </div> @endforeach </div> </div> </div> @endif @if ($academics->count() > 0) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.academic') }}"> Academic </a> </h4> </div> <div class="home-card row"> <div class="col-lg-12 col-sm-6"> <a href="{{ route('frontend.academic.details', $academics[0]->id) }}" class="p-0 m-0"> <img src="{{ $academics[0]->getFirstMediaUrl('academic', 'large') }}" alt="{{ $academics[0]->title }}" width="100%" /> </a> </div> <div class="col-lg-12 col-sm-6"> <h5 class="mt-3 mt-sm-0 my-lg-4"><a href="{{ route('frontend.academic.details', $academics[0]->id) }}"> {{ $academics[0]->title }}</a></h5> @if ($academics->count() > 1) <h5 class="mb-2 pb-lg-2"><a href="{{ route('frontend.academic.details', $academics[1]->id) }}"> {{ $academics[1]->title }}</a></h5> <a href="{{ route('frontend.academic.details', $academics[1]->id) }}" class="read-more">Read More</a> @endif </div> </div> </div> @endif @if ($blogs->count() > 0) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.blog') }}"> Blog </a> </h4> </div> <div class="home-card row"> <div class="col-lg-12 col-sm-6"> <a href="{{ route('frontend.blog.details', $blogs[0]->id) }}" class="p-0 m-0"> <img src="{{ $blogs[0]->getFirstMediaUrl('blog', 'large') }}" alt="{{ $blogs[0]->title }}" width="100%" /> </a> </div> <div class="col-lg-12 col-sm-6"> <h5 class="mt-3 mt-sm-0 my-lg-4"><a href="{{ route('frontend.blog.details', $blogs[0]->id) }}">{{ $blogs[0]->title }}</a> </h5> @if ($blogs->count() > 1) <h5 class="mb-2 pb-lg-2"><a href="{{ route('frontend.blog.details', $blogs[1]->id) }}">{{ $blogs[1]->title }}</a> </h5> <a href="{{ route('frontend.blog.details', $blogs[1]->id) }}" class="read-more">Read More</a> @endif </div> </div> </div> @endif @if ($news) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.news') }}"> News </a> </h4> </div> <div class="row"> <div class="col-sm-6"> <div class="home-card"> <a href="{{ route('frontend.news.details', $news->id) }}" class="p-0 m-0"> <img src="{{ $news->getFirstMediaUrl('post', 'medium') }}" alt="{{ $news->title }}" width="100%" /> </a> <div class="d-flex py-3 flex-wrap"> <span class="my-1">{{ \Carbon\Carbon::parse($news->date)->isoFormat('D MMMM YYYY') }}</span> <span class="my-1">News</span> </div> <h5> <a href="{{ route('frontend.news.details', $news->id) }}">{{ $news->title }}</a> </h5> <a href="{{ route('frontend.news.details', $news->id) }}" class="read-more">Read More</a> </div> </div> <div class="col-sm-6 d-flex flex-wrap"> @foreach ($newsRecords as $newsRecord) <div class="home-thumb"> <div class="row"> <div class="col-4"> <a href="{{ route('frontend.news.details', $newsRecord->id) }}" class="p-0 m-0"> <img src="{{ $newsRecord->getFirstMediaUrl('post', 'thumbnail') }}" alt="{{ $newsRecord->title }}" width="100%" /> </a> </div> <div class="col-8 d-flex flex-column"> <h6 class="fs-md"> <a href="{{ route('frontend.news.details', $newsRecord->id) }}">{{ $newsRecord->title }}</a> </h6> <span>{{ \Carbon\Carbon::parse($newsRecord->date)->isoFormat('D MMMM YYYY') }}</span> <div class="py-2"> <a href="{{ route('frontend.news.details', $newsRecord->id) }}" class="read-more">Read More</a> </div> </div> </div> </div> @endforeach </div> </div> </div> @endif @if ($flagship_activity) <div class="col-lg-6"> <div class="common-title"> <h4> <a href="{{ route('frontend.flagship') }}"> BFTI Flagship Activities </a> </h4> </div> <div class="row"> <div class="col-sm-6"> <div class="home-card"> <a href="{{ route('frontend.news.details', $flagship_activity->id) }}" class="p-0 m-0"> <img src="{{ $flagship_activity->getFirstMediaUrl('post', 'medium') }}" {{ $flagship_activity->title }} width="100%" /> </a> <div class="d-flex py-3 flex-wrap"> <span class="my-1">{{ \Carbon\Carbon::parse($flagship_activity->date)->isoFormat('D MMMM YYYY') }}</span> <span class="my-1">Activities</span> </div> <h5> <a href="{{ route('frontend.news.details', $flagship_activity->id) }}">{{ $flagship_activity->title }}</a> </h5> <a href="{{ route('frontend.news.details', $flagship_activity->id) }}" class="read-more">Read More</a> </div> </div> <div class="col-sm-6 d-flex flex-wrap"> @foreach ($flagship_activityRecords as $flagship_activityRecord) <div class="home-thumb"> <div class="row"> <div class="col-4"> <a href="{{ route('frontend.news.details', $flagship_activityRecord->id) }}" class="p-0 m-0"> <img src="{{ $flagship_activityRecord->getFirstMediaUrl('post', 'thumbnail') }}" alt="{{ $flagship_activityRecord->title }}" width="100%" /> </a> </div> <div class="col-8 d-flex flex-column"> <h6 class="fs-md"> <a href="{{ route('frontend.news.details', $flagship_activityRecord->id) }}">{{ $flagship_activityRecord->title }}</a> </h6> <span>{{ \Carbon\Carbon::parse($flagship_activityRecord->date)->isoFormat('D MMMM YYYY') }}</span> <div class="py-2"> <a href="{{ route('frontend.news.details', $flagship_activityRecord->id) }}" class="read-more">Read More</a> </div> </div> </div> </div> @endforeach </div> </div> </div> @endif <div class="partners"> <h4>We also work with</h4> <div class="d-flex flex-wrap justify-content-center align-items-center"> @foreach ($partnerships as $partnership) <div class="py-3 px-2"> <img src="{{ $partnership->getFirstMediaUrl('partnerships') }}" alt="{{ $partnership->name }}" /> </div> @endforeach </div> </div> </div> </div> </section> @endsection
./Ninja\.