AuthUser(); if(!$usuario->AllowPage($page, $_SESSION['loginKey'])){ header('Location: '.WEB_ROOT); exit; } $smarty->assign('msg', $msg); $smarty->assign('devoluciones', $devoluciones); ?>