header(); if(!Auth::hasPermission('*')) { ?> footer(); exit(); } $template->footer(); ?>