Realization of a Multiqubit Conditional Phase Gate by Virtue of a Weak Coherent Light Field