tag. if (!defined('ADMIN_SHELL_OPENED')) define('ADMIN_SHELL_OPENED', true); $page_title = $page_title ?? 'Painel'; $user = $user ?? current_user() ?? ['name' => 'Visitante', 'role' => 'client']; $app_name = defined('APP_NAME') ? APP_NAME : 'FitMe 3070'; ?> <?= htmlspecialchars($page_title) ?> — <?= htmlspecialchars($app_name) ?>
'Equipa','url'=>base_url('views/admin/team/index.php')], ['label'=>'Editar']] // (last item has no 'url' — it's the current page) for a full trail; with // nothing set, this falls back to Painel > $page_title, which is right for // every top-level listing page and wrong for nothing. $breadcrumbs = $breadcrumbs ?? ( $page_title !== 'Painel' ? [['label' => 'Painel', 'url' => base_url('views/admin/dashboard.php')], ['label' => $page_title]] : [] ); if ($breadcrumbs): ?>
getFlashdata('success'); if ($flash): ?> getFlashdata('error'); if ($flash): ?> getFlashdata('warning'); if ($flash): ?>