Example #1
0
 function index()
 {
     $this->_NoTemplate();
     $lib = new Category();
     $lib->index();
     $content = $lib->GetContent();
     $title = Kohana::config("core.title_page") . $lib->GetTitle();
     //  egg
     $widget = $this->GetWidgets();
     $html = View::Factory('intro')->set("widget", $widget)->set("title", $title)->set("content", $content);
     echo $html;
 }