<?php

class morganmillexecutivecourse extends CI_Controller {

public function index(){
		$this->load->helper('html');	
		$this->load->model('articlebody'); 
		
		$getfield = $this->articlebody->articlecontents();	
		$data['getfield'] = $getfield;			

		$obj=new articlebody();
		
		$listMenu = $obj->display_content();

		if(isset($_REQUEST['page_slug']) && $_REQUEST['page_slug'] !='' ){
			$content = $obj->display_content($_REQUEST['page_slug']);		

		} else {
			$content = $obj->display_content($page_slug='morganmillexecutivecourse');	
		}

		$data['getfield1'] = $content;	

		$this->load->view('public/morganmillexecutivecourse', $data);

}

}
?>