@include('shared.favicon', ['faviconFallback' => theme_asset('assets/images/favicon.ico', 'fxzone')])
@include('themes.includes.runtime-customization')
@include('themes.fxzone.partials.site-header')
@php
$faqItems = collect($publicFaqs ?? [])->filter(function ($faq) {
return filled($faq->question ?? null) && filled($faq->answer ?? null);
})->values();
$faqTopicMap = [];
foreach ($faqItems as $faq) {
$topicName = trim((string) ($faq->faq_category ?? '')) ?: 'General';
$topicSlug = \Illuminate\Support\Str::slug((string) ($faq->category_slug ?? ''))
?: (\Illuminate\Support\Str::slug($topicName) ?: 'general');
if (! isset($faqTopicMap[$topicSlug])) {
$faqTopicMap[$topicSlug] = [
'slug' => $topicSlug,
'name' => $topicName,
'items' => collect(),
];
}
$faqTopicMap[$topicSlug]['items']->push($faq);
}
$faqTopics = collect($faqTopicMap)
->map(function ($topic) {
$topic['items'] = collect($topic['items'])->sortBy([
['sort_order', 'asc'],
['id', 'asc'],
])->values();
return $topic;
})
->sortBy(function ($topic) {
$prefix = ($topic['slug'] ?? '') === 'general' ? '0-' : '1-';
return $prefix.strtolower((string) ($topic['name'] ?? ''));
})
->values();
$faqTopicIcon = function (string $slug): string {
return match (true) {
str_contains($slug, 'account') => 'fa-user-circle',
str_contains($slug, 'platform'), str_contains($slug, 'mt4') => 'fa-desktop',
str_contains($slug, 'fund'), str_contains($slug, 'deposit'), str_contains($slug, 'withdraw'), str_contains($slug, 'payout') => 'fa-credit-card',
str_contains($slug, 'verif'), str_contains($slug, 'security'), str_contains($slug, 'kyc') => 'fa-shield',
str_contains($slug, 'trad') || str_contains($slug, 'market') => 'fa-line-chart',
str_contains($slug, 'support'), str_contains($slug, 'help') => 'fa-life-ring',
str_contains($slug, 'guid') || str_contains($slug, 'rule') => 'fa-book',
default => 'fa-question-circle',
};
};
@endphp
{{ site_brand_name() }} Help Centre
Frequently Asked Questions
Find clear answers about account access, MetaTrader 4, funding requests, verification and support.
@if($faqTopics->isNotEmpty())
@foreach($faqTopics as $topic)
@endforeach
@foreach($faqTopics as $topic)
Topic
{{ $topic['name'] }}
{{ $topic['items']->count() }} published {{ \Illuminate\Support\Str::plural('question', $topic['items']->count()) }}
@foreach($topic['items'] as $faq)
{!! nl2br(e((string) $faq->answer)) !!}
@endforeach
@endforeach
No matching question was found
Try a shorter search term or choose another topic.
@else
No FAQs are currently published.
Please contact the support team and we will help with your question directly.
@endif
@include('themes.includes.runtime-body-end')