예제 #1
0
 function __construct()
 {
     parent::__construct();
     $this->Lang_model->loadLang('admin');
     $this->load->helper('array');
     $this->load->model('Purview_model');
     $this->Data_model->setTable($this->tablefunc);
     $this->editlang = $this->Lang_model->getEditLang();
     $this->modelarr = mult_to_single($this->Data_model->getData(array('status' => 1, 'isrecommend' => 1), 'listorder', 0, 0, 'model'), 'varname');
 }
예제 #2
0
파일: slide.php 프로젝트: pondyond/x6cms
 function __construct()
 {
     parent::__construct();
     $this->Lang_model->loadLang('admin');
     $this->load->helper('array');
     $this->load->model('Purview_model');
     $this->Data_model->setTable($this->tablefunc);
     $this->editlang = $this->Lang_model->getEditLang();
     $this->typearr = mult_to_single($this->Data_model->getData(array('status' => 1, 'lang' => $this->editlang, 'class' => $this->tablefunc), 'listorder', 0, 0, 'type'));
 }
예제 #3
0
 function __construct()
 {
     parent::__construct();
     $this->Lang_model->loadLang('admin');
     $this->load->helper('array');
     $this->load->helper('date');
     $this->load->model('Purview_model');
     $this->load->model('Tags_model');
     $this->Data_model->setTable($this->tablefunc);
     $this->editlang = $this->Lang_model->getEditLang();
     $this->categoryarr = mult_to_single($this->Data_model->getData(array('isdisabled' => 0, 'lang' => $this->editlang, 'model' => $this->tablefunc), 'parent,listorder', 0, 0, 'category'));
     $this->recommendarr = $this->Data_model->getData(array('status' => 1, 'lang' => $this->editlang), 'listorder', 0, 0, 'recommend');
 }