header(); if(!empty($admin) && $admin) { if(!Auth::hasPermission('*')) { ?> footer(); exit(); } } else if(empty($admin)) { ?> footer(); ?>