<?php
$org_id = !empty($_GET['org_id']) ? $_GET['org_id'] : '';
$subinventory_id = !empty($_GET['subinventory_id']) ? $_GET['subinventory_id'] : '';
$mm_details = fp_minmax_board_v::find_by_orgId_subInventoryId($org_id, $subinventory_id);


$total_count = count($mm_details);
$pageno = !empty($_GET['pageno']) ? $_GET['pageno'] : 1;
$per_page = !empty($_GET['per_page']) ? $_GET['per_page'] : 12;
$pagination = new pagination($pageno, $per_page, $total_count);
$pagination->setProperty('_path', 'form.php?');
$position = ($pageno - 1) * $per_page;

?>