if($mybb->user['pms_unread'] == 0)
{
$privatemessage_img = "<a href=\"private.php\"><img src=\"images/bild_00.gif\" alt=\"\" /></a>";
}
elseif($mybb->user['pms_unread'] == 1)
{
$privatemessage_text = $lang->sprintf($lang->newpm_notice_one, get_profile_link($pm['fromuid']), htmlspecialchars_uni($pm['fromusername']), $pm['pmid'], htmlspecialchars_uni($pm['subject']));
$privatemessage_img = "<div align=\"center\"><a href=\"private.php\"><img src=\"images/bild_01.gif\" alt=\"\" /></a></div>";
}
elseif($mybb->user['pms_unread'] == 2)
{
$privatemessage_text = $lang->sprintf($lang->newpm_notice_multiple, $mybb->user['pms_unread'], get_profile_link($pm['fromuid']), htmlspecialchars_uni($pm['fromusername']), $pm['pmid'], htmlspecialchars_uni($pm['subject']));
$privatemessage_img = "<div align=\"center\"><a href=\"private.php\"><img src=\"images/bild_02.gif\" alt=\"\" /></a></div>";
}
else
{
$privatemessage_text = $lang->sprintf($lang->newpm_notice_multiple, $mybb->user['pms_unread'], get_profile_link($pm['fromuid']), htmlspecialchars_uni($pm['fromusername']), $pm['pmid'], htmlspecialchars_uni($pm['subject']));
$privatemessage_img = "<div align=\"center\"><a href=\"private.php\"><img src=\"images/bild_03.gif\" alt=\"\" /></a></div>";
}