load->view('defaults/header'); $seg3 = $this->uri->segment(3); if($seg3 != 'diff'){ $page_url = $url; }else{ $page_url = $url . '/diff'; } if(isset($insert)){ echo $insert; }?>