[eluser]stalwart[/eluser]
[quote author="xwero" date="1210104469"]How would it be more complicated?[/quote]
I am using maintemplate so i have to make 2 main templates and in every output
if($this->session->userdata('username')){$maintemplate='logged';}
else {$maintemplate='notlogged';}
$this->template->load($maintemplate, 'view_file', $data);