Mistři v programování na #hovnokod

PHP #202

Jak vypsat výrobce do 3 sloupců (ul) v šabloně?

$count = (int)(($this->db->manufactorer()->where("id_lang", $this->lang)->count("*"))/3)+1;
$this->template->manufactory1 = $this->db->manufactorer()->where("id_lang", $this->lang)->limit($count, 0);
$this->template->manufactory2 = $this->db->manufactorer()->where("id_lang", $this->lang)->limit($count, $count);
$this->template->manufactory3 = $this->db->manufactorer()->where("id_lang", $this->lang)->limit($count, $count*2);

Vít Ledvinka,