uri->segment(1) == '' or $this->uri->segment(2) == 'login') { ?>
{{ template:body }}
session->userdata('user_id') == '') { redirect('dashboard'); } ?> {{ theme:partial name="header" }}