Egypt 's upper house of parliament Sunday approved a decree from President Hosni Mubarak for a two-year extension to the term of local councils , most of which are dominated by members of the ruling National Democratic Party .