Get the Current Page Number
In a situation where one has 20 posts per page. I would like to get the current page number in order to make some nice page links at the bottom. How do you get the current page. I tried this
<?php echo '(Page '.$page.' of '.$numpages.')'; ?>
and it just says page 1 of 1 on every page.