<?php
    $this->load->view("templates/layout/head");
	$this->load->view("templates/layout/header");
    $this->load->view("templates/layout/nav");
    $this->load->view("templates/layout/messages");
    $this->load->view($content);
        if (isset($pagination)){
        	$this->load->view($pagination);
        }
        if (isset($modalDelete)){
        	$this->load->view("templates/layout/modalConfirmDelete");
        }
        if (isset($scriptjs)){
		    			$this->load->view("templates/layout/footer",$scriptjs);
						}
				else{
		        	$this->load->view("templates/layout/footer");
				}

?>
