Disclosed are compounds of Formula (I) and Formula (II) or their pharmaceutical acceptable salts. The pharmaceutical compositions comprising an effective amount of compounds of Formula (I) or Formula (II) may be formulated for oral, buccal, rectal, topical, transdermal, transmucosal, intravenous, parenteral administration, syrup, or injection. Such compositions may be used for treatment of gastrointestinal diseases and inflammation such as inflammatory bowel disease, ulcerative colitis, mild-to-moderate Crohn’s disease, rheumatoid arthritis, inflammatory arthritis, psoriatic arthritis, liver cirrhosis and idiopathic urticaria.