We dont have much room here to work with the code you supplied.
Do you want a html/css solution ? or hardcoded php solution ?
hardcoded php solution (not recommended) would be something like this:
function Page_number($page, $max_pages)
{
for ($i = 1, $i < ($max_pages + 1), $i++)
{
echo "<a href=\"whateverfile.html\">" . ($page == $i) ? "[boldtag]" . $i . "[/boldtag]" : $i . "</a> ";
}
}
but then again, im not exactly sure what you exactly want/need.
[boldtag] = < b > for some reason in the code window this is being stripped.
But best tip i can give you is, to rewrite the entire code