num_rows
This commit is contained in:
@@ -471,6 +471,7 @@ class Bkotransaction extends Bko_Controller {
|
||||
$this->load->library('table');
|
||||
$this->table->set_template($this->template);
|
||||
$query = $this->db->query($mysql);
|
||||
$data["ttcount"] = $query->num_rows();
|
||||
$this->table->function = 'smart_htmlspecialchars';
|
||||
$data['expired_offer_table'] = $this->table->generate($query);
|
||||
$this->load->view('bko/view_bko_header', $data);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<!-- Traffic sources -->
|
||||
<div class="panel panel-flat">
|
||||
<div class="panel-heading">
|
||||
<h6 class="panel-title"><b><?php echo $page_title; ?></b></h6>
|
||||
<h6 class="panel-title"><b><?php echo $page_title; ?>(<?php echo $ttcount; ?>)</b></h6>
|
||||
<div class="heading-elements">
|
||||
<form class="heading-form" action="#">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user