Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted by carpi ( 12 years ago )
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);
  }

 

Revise this Paste

Parent: 49641
Children: 49643
Your Name: Code Language: