Phenomenological model of the critical behavior of real systems