SELECT
    core_formulario.id as Id,
    core_formulario.titulo as "{$MULTILANG_Titulo}",
    core_formulario.tabla_datos as "{$MULTILANG_TablaDatos}",
    ##(SELECT count(*) FROM core_formulario_objeto WHERE formulario=core_formulario.id) as "{$MULTILANG_FrmTipoTit3}",
    (SELECT nombre FROM core_modulos_app WHERE core_formulario.modulo=core_modulos_app.id) as Modulo
FROM
    core_formulario
WHERE
    core_formulario.id >= {$ModoDesarrolladorPractico}
    AND 
    (
        "{$PCOSESS_LoginUsuario}" IN (SELECT desarrolladores FROM core_modulos_app WHERE core_formulario.modulo=core_modulos_app.id) 
        OR
        core_formulario.modulo=0
        OR
        "{$PCOSESS_LoginUsuario}" = "admin"
    )