Your replace code ruins appearance.
Please, replace with this one:
PHP Code:
<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td><a href="private.php?do=newpm"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="$vbphrase[send_new_message]" border="0" /></a></td>
<if condition="$pagenav">
<td align="$stylevar[right]">$pagenav</td>
</if>