Пример #1
0
 public function gethead()
 {
     $result = parent::gethead();
     if ($this->showposts) {
         $items = $this->getidposts();
         $result .= tposts::i()->getanhead($items);
     }
     return ttheme::i()->parse($result);
 }
Пример #2
0
 protected function create()
 {
     parent::create();
     $this->cache = false;
     $this->data['extra'] = array();
     $this->data['subject'] = '';
     $this->data['errmesg'] = '';
     $this->data['success'] = '';
 }