A pharmaceutical composition comprising an effective amount of a compound of formulas (I-III) and a pharmaceutically acceptable carrier. Methods for treating a hepatitis virus in a patient comprising administering an effective amount of the compound of formulas (I-III) are also presented.