Exemplo n.º 1
0
 function __construct()
 {
     parent::My_Controller();
     $this->load->model('contents_model');
     $this->load->model('services_model');
     $this->assets->add_css('view_services');
     $this->assets->add_js_group(array('plugins_carousel'));
     $this->assets->add_js(array('plugins/jquery.cycle.all.min', 'plugins/formatnumber/formatnumber.min', 'class/services_front'));
     $params = $this->_get_params($this->uri->segment(1, 'index'));
     $this->_data = array('tlp_title' => $params['title'], 'tlp_title_section' => $params['title_section'], 'tlp_meta_description' => $params['meta_description'], 'tlp_meta_keywords' => $params['meta_keywords'], 'reference' => $params['reference'], 'content_footer' => array('sitios-recomendados' => $this->contents_model->get_content('sitios-recomendados'), 'web-amigas' => $this->contents_model->get_content('web-amigas')));
 }