- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
$this->db->from("admin_sidebar");
$this->db->where("folder", 1);
$this->db->order_by("sort", "asc");
$query = $this->db->get();
$data[0] = $query->result();
$this->db->from("admin_sidebar");
$this->db->where("folder", 2);
$this->db->order_by("sort", "asc");
$query = $this->db->get();
$data[1] = $query->result();
$this->db->from("admin_sidebar");
$this->db->where("folder", 3);
$this->db->order_by("sort", "asc");
$query = $this->db->get();
$data[2] = $query->result();
$this->db->from("admin_sidebar");
$this->db->where("folder", 4);
$this->db->order_by("sort", "asc");
$query = $this->db->get();
$data[3] = $query->result();
$this->db->from("admin_sidebar");
$this->db->where("folder", 5);
$this->db->order_by("sort", "asc");
$query = $this->db->get();
$data[4] = $query->result();
Lure Of Chaos 20.06.2014 14:30 # 0
guest 20.06.2014 20:12 # 0