mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Number of Records per page is now configurable
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
//Paging
|
||||
if(isset($_GET['p'])){
|
||||
$p = intval($_GET['p']);
|
||||
$record_from = (($p)-1)*10;
|
||||
$record_to = 10;
|
||||
$record_from = (($p)-1)*$config_records_per_page;
|
||||
$record_to = $config_records_per_page;
|
||||
}else{
|
||||
$record_from = 0;
|
||||
$record_to = 10;
|
||||
$record_to = $config_records_per_page;
|
||||
$p = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user