$my_tab = 'тут имя таблицы';
$total = mysql_result(mysql_query("select count(*) from $my_tab"), 0);
$res = mysql_query("select * from $my_tab limit $start, 10");
// 10 на страницу
echo '<pre>';
while($row = mysql_fetch_assoc($res)) {
print_r($row);
// тут свой вывод
}
echo '<div class="topmenu">' . functions::display_pagination('?', $start, $total, 10) . '</div>';