Esempio n. 1
0
 public function action_interesting()
 {
     $article = new Model_Article();
     $text = $article->get_text('interesting');
     $text = $text[0]['text'];
     $content = View::factory('/pages/interesting');
     $content->text = $text;
     $this->template->content = $content;
 }
Esempio n. 2
0
 public function action_about()
 {
     $article = new Model_Article();
     $text = $article->get_text('about');
     $text = $text[0]['text'];
     $content = View::factory('/pages/about');
     $content->text = $text;
     //      $this->template->text = $text;
     $this->template->content = $content;
 }