X-Ray Spectra of Disordered Alloys (I)