db->query("select * from menu where type = 1 and level = 1"); $menu_left_level_1 = $sql->result_array(); $app = $this->db->query("select * from company_profile")->row(); ?>