Beispiel #1
0
 public function upcoming()
 {
     $upcoming = new Upcoming($this->db);
     $this->f3->set('decks', $upcoming->all());
     $this->f3->set('content', 'app/themes/' . $this->f3->get('theme') . '/views/cards-upcoming.htm');
     echo Template::instance()->render('app/themes/' . $this->f3->get('theme') . '/templates/default.htm');
 }
Beispiel #2
0
 public function index()
 {
     $members = new Members($this->db);
     $upcoming = new Upcoming($this->db);
     $this->f3->set('pendingMembers', $members->getByStatus('pending'));
     $this->f3->set('upcomingDecks', $upcoming->all());
     $this->f3->set('content', 'app/themes/' . $this->f3->get('admintheme') . '/views/mytcg/index.htm');
     echo Template::instance()->render('app/themes/' . $this->f3->get('admintheme') . '/templates/admin.htm');
 }