Beispiel #1
0
 public function __construct()
 {
     parent::__construct();
     $cookie = new dynamic__cookie();
     $cookie->inner_set('visit.post', time(), false);
     $this->per_page = sets::pp('post');
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct();
     if (sets::user('rights')) {
         $this->side_modules['top'][] = 'add_bar';
     }
     $this->per_page = sets::pp('news');
 }
Beispiel #3
0
 protected function display_show($url)
 {
     parent::display_show($url);
     if ($url[3] == 'batch') {
         foreach ($this->data['items'] as $item) {
             $item->set_display_object('thumb');
         }
     }
 }