Info(); if( $Usr['type'] == 'gerente' || $Usr['type'] == 'facturacion' || $Usr['type'] == 'vendedor' || $Usr['type'] == 'cajero' ){ $sucursal->setSucursalId($_SESSION['idSuc']); $Usr['sucursal'] = utf8_decode(urldecode($sucursal->GetNameById())); } }//else $smarty->assign('Usr', $Usr); ?>