Ok, about line 747 you will see where it currently says this:
list($Checkuser,$posts,$laston...
You will want to change the $posts to $totalposts.
And then about line 1336 you will see the reference to:
$posts $lang[VIEW_POSTS]
You will want to change $posts to $totalposts there as well.