[eluser]noslen1[/eluser]
You should have a main router view named /views/index.php with a body like this :
Code:
<body>
<header>
<?php $this->view('include/header')?>
</header>
<aside>
<?php $this->view('include/menu')?>
</aside>
<div id="main">
<?php $this->view($content); ?>
</div>
<footer>
<?php $this->view('include/footer')?>
</footer>
</body>
that you call in all of your controllers functions, and you dynamically pass your content template to load into the view :
Code:
$data->content = 'page/content';
$this->load->view('index', $data);