Public landing page done
This commit is contained in:
25
application/controllers/Umkm.php
Normal file
25
application/controllers/Umkm.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Umkm extends CI_Controller {
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->model("UserModel");
|
||||
$this->load->model("ProdukModel");
|
||||
$this->load->model("UmkmModel");
|
||||
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$data['listumkm'] = $this->UmkmModel->getUmkm();
|
||||
$data['user_logged'] = $this->session->userdata('user_logged');
|
||||
$this->load->view('umkm',$data);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user