public function init() { parent::init(); //导航标示 $this->_menu_unique = 'goods'; //栏目 $this->_catalog = Catalog::model()->getCatalog($this->_type_ids['goods']); }
public function init() { parent::init(); //栏目 $this->_catalog = Catalog::model()->findAll('status=:status AND type = :type', array(':status' => 'Y', ':type' => $this->_type_ids['video'])); $this->_video_type = array('comedy' => '喜剧', 'active' => '动作', 'story' => '剧情', 'science' => '科幻', 'terrified' => '惊悚', 'war' => '战争', 'sexy' => '伦理'); //导航标示 $this->_menu_unique = 'video'; }
public function init() { parent::init(); //一级栏目 $this->_catalog = Catalog::getTopCatalog(true, $this->_type_ids['video']); $this->_video_type = array('comedy' => '喜剧', 'active' => '动作', 'story' => '剧情', 'science' => '科幻', 'terrified' => '惊悚', 'war' => '战争', 'sexy' => '伦理'); //导航标示 $this->_menu_unique = 'video'; }
public function init() { parent::init(); //导航标示 $this->_menu_unique = 'soft'; //一级栏目 $this->_catalog = Catalog::getTopCatalog(true, $this->_type_ids['soft']); //标签 $this->_tags = Tag::model()->findAll(array('order' => 'data_count DESC', 'limit' => 20)); }
public function init() { parent::init(); //栏目 $this->_catalog = Catalog::model()->getCatalog($this->_type_ids['image']); //导航标示 $this->_menu_unique = 'image'; //标签 $this->_tags = Tag::model()->findAll(array('order' => 'data_count DESC', 'limit' => 20)); }
public function init() { parent::init(); //邮箱激活设置 if ($this->_setting['email_active'] == 'open') { $this->_active_need = true; } else { $this->_active_need = false; } }
public function init() { parent::init(); }
public function init() { parent::init(); //标签 $this->_tags = Tag::model()->findAll(array('order' => 'data_count DESC', 'limit' => 20)); }
public function init() { parent::init(); //导航标示 $this->_menu_unique = 'question'; }