paginatioon fix

This commit is contained in:
CHIEFSOFT\ameye
2024-07-28 13:18:15 -04:00
parent 78cf19c56e
commit 0c918e0d0b
+3 -1
View File
@@ -192,12 +192,14 @@ if (coupon_id > 0 ){
public function escrows(){
// $this->load->view('bko/view_bko_header', $data);
// $actual_link = 'http://'.$_SERVER['HTTP_HOST'].'/bkosmember/escrows';
$actual_link = '/bkosmember/escrows';
$actual_link = 'bkosmember/escrows';
// $actual_link = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . "://$_SERVER[REQUEST_URI]";
$config = $this->PrepPagination(20, 3,$actual_link );
$actual_link = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . "://$_SERVER[REQUEST_URI]";
$mysql0 = "SELECT id FROM members_payments WHERE code ='OFDPS' AND confirmation IS NOT NULL AND flags = 4";
$q = $this->db->query($mysql0);
$config["total_rows"] = $q->num_rows();