Esempio n. 1
0
 public function index()
 {
     $CRs = new CR($this->db);
     $this->f3->set('list', $CRs->all(30));
     $Game = new Game($this->db);
     $this->f3->set('games', $Game->all());
     $Game = new Game($this->db);
     $this->f3->set('gamesother', $Game->allOther());
     $this->f3->set('site_title', 'CR, Tests, Reviews 100% Tartuffe | CROTYpedia');
     $this->f3->set('view', 'cr/index.htm');
 }
Esempio n. 2
0
 public function index()
 {
     $CRs = new CR($this->db);
     $Actus = new Actu($this->db);
     $Streams = new Stream($this->db);
     $this->f3->set('actus', $Actus->all(10));
     $this->f3->set('streams', $Streams->find(NULL, array('order' => 'twitch_username ASC')));
     $this->f3->set('crs', $CRs->all(10));
     $this->f3->set('site_title', 'Un torrent d\'informations — thetartuffebay.org');
     $this->f3->set('page_head', 'Le premier site d\'information des tartuffes :o');
     $this->f3->set('view', 'home.htm');
 }