/** * 首页加载资源 * * @author freephp */ public function index() { $data = array(); $data['adlist'] = $this->_getAds(); $data['intro'] = getIntro(); $data['productPics'] = $this->_getProductPics(); $data['partner'] = getPartner(); $data['news'] = $this->_getIndexNews(); $data['jobs'] = $this->_getIndexJobs(); $this->template->cpView('index', $data); }
/** * 公司简介 * * @author freephp */ public function index() { $this->data['intro'] = getIntro(); $this->template->cpView('intro', $this->data); }