function pagestring($count, $pagesize, $wap = false) { if (isset($_GET['page']) && intval($_GET['page']) == 0) { $pagesize = $count; } $p = new Pager($count, $pagesize, 'page'); return array($pagesize, $p->pageNo, $p->genBasic()); }
function pagestring($count, $pagesize, $wap = false) { $p = new Pager($count, $pagesize, 'page'); if ($wap) { return array($pagesize, $p->offset, $p->genWap()); } return array($pagesize, $p->offset, $p->genBasic()); }
function pagestring($count, $pagesize, $script_url = null, $idientify = 'page', $param = true) { $p = new Pager($count, $pagesize, $idientify, $script_url, $param); return array($pagesize, $p->pageNo, $p->genBasic()); }
function pagestring($count, $pagesize) { $p = new Pager($count, $pagesize, 'page'); return array($pagesize, $p->offset, $p->genBasic()); }
function pagestring($count, $pagesize, $wap = false) { $p = new Pager($count, $pagesize, 'page'); return array($pagesize, $p->pageNo, $p->genBasic()); }