Move hash unit to tools/class.hash.php. But nothing have to be change in your code.

Pager has been added for calc params for page switcher and LIMIT operator in sql.

Format param of page switcher in template compiler now support variable. use it like this:

{~ goods-page (pager) $GoodPages['Current'] $GoodPages['TotalPages'] $GoodPages['MaxItemDisplayed'] ({$RootURL}/goods.php?page=%PAGE%) ~}