SaeDEV2.2/CI3/application/controllers/Evenement_info.php
2024-06-16 02:03:06 +02:00

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');
}
}