public function renderDefault() {
$this->template->aktuality = $this->context->createAktuality()->limit(10)->order('id DESC');
$this->template->seznamAkci = $this->context->createAkce()->where(array("cas > ?" => new \Datetime()))->limit(3)->order('cas');
$this->template->specialniAkce = $this->context->createSpecialniAkce()->where("id","1");
$this->template->posledniFotoreport = $this->context->createGalerieSeznam()->order("id DESC")->limit(1);
}
Add a code snippet to your website: www.paste.org