[eluser]whygod[/eluser]
Okay problem solved.
I just forgot to declare the $data.
<code>
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Admin extends MX_Controller
{
public $data;
function __construct ()
{
parent::__construct();
$this->data['message'] = '';
$this->data['title'] = 'AdminS9 Control Panel';
$this->load->model('users_model');
}
function index(){
$this->data['password_header'] = $this->load->view('password_header', $this->data, TRUE);
$this->load->view('password', $this->data);
}
</code>