/** * Writes the html for the pages counter, eg, Results 1-10 of x * * @deprecated 2.0 use cbPageNav * * @param int $limitstart The record number to start dislpaying from * @param int $limit Number of rows to display per page * @param int $total Total number of rows */ function writePagesCounter($limitstart, $limit, $total) { cbimport('cb.pagination'); $pageNav = new cbPageNav($total, $limitstart, $limit); echo $pageNav->getPagesCounter(); }