15 lines
437 B
PHP
15 lines
437 B
PHP
|
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||
|
|
||
|
class Evenement_info extends CI_Controller{
|
||
|
|
||
|
public function view($id){
|
||
|
$this->load->model('Model_site');
|
||
|
$event=$this->Model_site->get_evenement($id);
|
||
|
$com=$this->Model_site->get_commentaire($id);
|
||
|
$data=array('event' => $event, 'com' => $com);
|
||
|
$this->load->view('header');
|
||
|
$this->load->view('evenement_info',$data);
|
||
|
$this->load->view('footer');
|
||
|
}
|
||
|
|
||
|
}
|