Files
marco 38295e7e88 feat(cms): implement complete SysSiteCMS content management system
Initial implementation of the HomeSysPanel CMS built with Laravel 13.0.
Includes complete admin panel, content management, user authentication,
modular architecture for products/services/chatbot, and marketing tools.

Key features:
- User authentication with email verification and password reset
- Role-based access control (Admin/User with granular permissions)
- Content management (pages, news, FAQ, downloads, galleries, banners)
- Contact management system with subjects and responses
- Marketing tools (email campaigns, visitor analytics, social sharing)
- Modular architecture (Products, Services, Chatbot modules)
- AI Chatbot integration with OpenRouter.ai and LlamaCpp support
- Visitor tracking with geolocation
- SEO optimization with meta tags and Open Graph
- Responsive design with Bootstrap 5
- Dark mode support
- Maintenance mode
- Feature request system
2026-09-07 19:06:53 -03:00

22 lines
1.0 KiB
PHP
Executable File

<!-- Math-based Captcha -->
<div class="col-12 mb-4">
<div class="p-3 bg-light rounded-3 border">
<label class="form-label fw-bold mb-2">Verificação de Segurança</label>
<div class="d-flex align-items-center gap-3">
@php
$n1 = rand(1, 9);
$n2 = rand(1, 9);
session(['captcha_result' => $n1 + $n2]);
@endphp
<div class="bg-white px-3 py-2 rounded border fw-bold fs-5 shadow-sm text-primary" style="letter-spacing: 2px;">
{{ $n1 }} + {{ $n2 }} = ?
</div>
<div class="flex-grow-1">
<input type="number" name="captcha" class="form-control form-control-lg @error('captcha') is-invalid @enderror" placeholder="Resultado" required>
@error('captcha') <div class="invalid-feedback">{{ $message }}</div> @enderror
</div>
</div>
<small class="text-muted mt-2 d-block">Por favor, resolva a conta acima para provar que você não é um robô.</small>
</div>
</div>