2
if( $pm )
{
echo "<a href="/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)</a>n";
}
else
{
echo "No new Private Messagesn";
}
...is where you need to focus on!
The first part (after if until else), is what gets displayed (printed on screen == echo), when messages are available, the other bit if not. In englisch the code says: "if there is a private message, do this, if not, do this".
So you just need to add the HTML for inserting an image somewhere inbetween this
"<a href="/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)</a>n"
...though note, that
/n
...stands for new line....
HTH