You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
775 B

<?php
class welcome extends CI_Controller {
function __construct(){
parent::__construct();
//$this->check_isvalidated();
}
public function index()
{
if(! $this->session->userdata('validated')){
// Eerst de header laden.
$this->load->view('header_view');
// Menu laden.
$data['page'] = "home";
$this->load->view('menu_view', $data);
$this->load->view('welcome_view');
// Als laatste de footer laden.
$this->load->view('footer_view');
} else {
redirect('home');
}
}
}