You don't use echo in a template. The correct code for the notifications dropdown is in the header template. Copy it from there. You may also have to copy the css for it, if you are wanting a drop down like that.
I've always just included the header template on my external pages, so I'm not really sure how to just grab part of the template for use.