FIELD: medicine, pharmaceutics.SUBSTANCE: invention refers to compounds of formula (I), formula (XI), formula (CI) and formula (Ml). The values R1,R2,R3, X, L, A, M, Q, n, i, p, w are presented in the patent claims 1,4,10,16; the invention also refers to method for preparing such compounds and using them in treating inflammatory diseases.EFFECT: preparing new compounds for treating inflammatory diseases.22 cl, 1 tbl, 45 exИзобретение относится к соединениям формулы (I), формулы (XI), формулы (CI) и формулы (MI):значения R1, R2, R3, Х, L, А, М, Q, n, i, р, w представлены в пп.1, 4, 10, 16 формулы, а также к способам получения таких соединений и к их применению при лечении воспалительных заболеваний. 8 н. и 14 з.п. ф-лы, 1 табл., 45 пр.