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