mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Removed Records per page as a setting and added it as session variable define at 10 by default when logged in DB Structure Updated
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
//Paging
|
||||
if(isset($_GET['p'])){
|
||||
$p = intval($_GET['p']);
|
||||
$record_from = (($p)-1)*$config_records_per_page;
|
||||
$record_to = $config_records_per_page;
|
||||
$record_from = (($p)-1)*$_SESSION['records_per_page'];
|
||||
$record_to = $_SESSION['records_per_page'];
|
||||
}else{
|
||||
$record_from = 0;
|
||||
$record_to = $config_records_per_page;
|
||||
$record_to = $_SESSION['records_per_page'];
|
||||
$p = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user