Have not easy way to do it.
You must write the code by yourself.
There have a function maybe help you.
function search_footer($url, $offset, $num_rows, $keyword, $extra="") {
global $sess;
$footer = "<table width=300 align=center border=0 cellspacing=1 cellpadding=1>";
$footer .= "<tr><td width=100 nowrap align=right>";
// Check to see if we need to have previous button
if ($offset >= SEARCH_ROWS) {
$prevoffset = $offset-SEARCH_ROWS;
$footer .= "<a href=";
$footer .= "$url?keyword=$keyword&offset=$prevoffset$extra";
$footer .= "><img src=file_image/prev.gif border=0 alt=PREV</a> ";
} else $footer .= " ";
$footer .= "</td><td width=100 align=center>";
// Get total pages
$num_pages = intval($num_rows / SEARCH_ROWS);
if ($num_rows % SEARCH_ROWS) {
$num_pages++;
}
if ($num_pages > 1) {
$page_number = intval($offset / SEARCH_ROWS) + 1;
$footer .= "<font size=2>" . $page_number . "/" . $num_pages . "</font>";
}
$footer .= "</td><td align=left>";
if (($offset+SEARCH_ROWS < $num_rows) && $num_pages != 1) {
$newoffset = $offset + SEARCH_ROWS;
$footer .= "<a href=";
$footer .= "$url?offset=$newoffset&keyword=$keyword$extra";
$footer .= "><img src=file_image/next.gif border=0 alt=NEXT></a>";
} else $footer .= " ";
$footer .= "</td></tr></table>";
echo $footer;
}
Good lucky