Ejemplo n.º 1
0
 function exe_more()
 {
     $executives = new Executive();
     lang_filter($executives->where("start_date <= date(sysdate()) and (end_date >= date(sysdate()) or end_date = date('0000-00-00')) and status = 'approve'"));
     $data['executives'] = $executives->order_by('id', 'desc')->get();
     $this->template->build('exe_more', $data);
 }