Esempio n. 1
0
 public function view()
 {
     $CRs = new CR($this->db);
     $this->f3->set('cr', $myCR = $CRs->byId($this->f3->get('PARAMS.id'))[0]);
     $Game = new Game($this->db);
     $this->f3->set('games', $Game->byCR($myCR['id']));
     //print_r($myCR);
     $this->f3->set('site_title', 'CR de ' . $myCR['games'] . ' par ' . $myCR['username'] . ' | CROTYpedia');
     $this->f3->set('view', 'cr/view.htm');
 }