between the Byzantines and their Hamdanid allies against the forces of the Fatimid vizier of Damascus