Liquid theory for band structure in a liquid. II : p orbitals and phonons