('sondage_resulats_'.$val['id'],$affichage,$this->ci->config->item('cache_time')); } $this->ci->template->assign('retour_vote',$retour_vote); $this->ci->template->assign('affichage',$affichage); $this->ci->template->assign('total',$nb); return $this->ci->template->appel('widget/sondages_resultats'); } function focus($home = FALSE){ if(!$val = $this->ci->caching->get('focus')){ $val = $this->ci->wi->get_focus(); $this->ci->caching->save('focus',$val,$this->ci->config->item('cache_time')); } if(!$val){ $this->ci->template->assign('focus',FALSE); return FALSE; } $val['texte'] = truncate($val['texte'],400); $this->ci->template->assign('v',$val); $this->ci->template->assign('homepage',$home); $this->ci->template->assign('focus',$this->ci->template->appel('widget/focus')); } function focus_categorie(){ if(!$val = $this->ci->caching->get('focus_categorie_'.$this->focus_id)){ $val = $this->ci->wi->get_focus_categorie($this->focus_id); $this->ci->caching->save('focus_categorie_'.$this->focus_id,$val,$this->ci->config->item('cache_time')); } if(!$val){ return FALSE; } $val['texte'] = truncate($val['texte'],400); $this->ci->template->assign('v',$val); $this->ci->template->assign('focus',$this->ci->template->appel('widget/focus')); } function parser_citation($article){ for($i = 1 ; $i <4 ; $i++){ $this->ci->template->assign('texte',$article['citation'.$i.'_texte']); $this->ci->template->assign('source',$article['citation'.$i.'_nom']); $article['texte'] = str_replace('#citation'.$i.'#',$this->ci->template->appel('commun/citation'),$article['texte']); } return $article; } function _pagination_recherche($table,$uri,$total,$segment){ $this->load->library('pagination'); $config['base_url'] = $uri; $config['total_rows'] = $total; $config['per_page'] = $this->total_par_page ; $config['num_links'] = 5; $config["uri_segment"] = 3; $config['query_string_segment'] = 'p'; $config['page_query_string'] = true; $this->pagination->initialize($config); $this->template->assign('pagination',$this->pagination->create_links()); } function carousel($article,$id){ if(!$val = $this->ci->caching->get('carousel_'.$id)){ $val = $this->ci->wi->get_carousel($id); $this->ci->caching->save('carousel_'.$id,$val,$this->ci->config->item('cache_time')); } if(!$val){ return $article; } $this->ci->template->assign('carousel',$val); return str_replace('#carousel#',$this->ci->template->appel('commun/carousel'),$article); } } Error

An Error Was Encountered

Non-existent class: Widget