Ferromagnetic, A-type, and charge-ordered CE-type states in doped manganites using jahn-teller phonons