That code looks correct. But when I go to the site I see this:
<li class="dropdown""<?php echo($addClass); ?>"
Which is what is wrong. Let's get the code on the site updated and I can look and see where you are at.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.