echo '<div class="account"><a href="forums/ucp.php?i=pm&folder=inbox">Messages ('.$user->data["user_new_privmsg"].')</a></div>';
I think that should do the trick.
My tip: be consistent, choose what you want to use: double quote for attributes? Okay, then stick with that, don't go switching that over mid-code.