Waving photos of their leader and dancing with flags, tens of thousands of Syrians pledged renewed allegiance to President Bashar al-Assad as they voted across government-controlled parts of the country in a presidential election decried by the opposition as a charade.