Blog items
This commit is contained in:
@@ -7,6 +7,12 @@ class Blog extends Bko_Controller {
|
||||
public function index() {
|
||||
$data = array();
|
||||
$data = $this->bkoDashData();
|
||||
|
||||
$mysql = "SELECT * FROM blog_selections";
|
||||
$this->table->set_template($this->template);
|
||||
$query = $this->db->query($mysql);
|
||||
$data['blog_table'] = $this->table->generate($query);
|
||||
|
||||
$this->load->view('bko/view_bko_header', $data);
|
||||
$this->load->view('bko_pages/blog_items', $data);
|
||||
$this->load->view('bko/view_bko_footer', $data);
|
||||
|
||||
Reference in New Issue
Block a user