AuthUser(); if($Usr['type'] != 'admin' && $Usr['type'] != 'direccion' && $Usr['type'] != 'almacen' && $Usr['type'] != 'centralizador'){ header('Location: '.WEB_ROOT); exit; } $metodoPago->SetPage($_GET["p"]); $metodosPago = $metodoPago->Enumerate(); $smarty->assign('metodosPago', $metodosPago); ?>