forked from ghouar-t/SaeDEV2.2
15 lines
420 B
PHP
15 lines
420 B
PHP
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Fiche extends CI_Controller{
|
|
|
|
public function view($id = 3){
|
|
$this->load->model('Model_site');
|
|
$film=$this->Model_site->get_fiche($id);
|
|
$actors=$this->Model_site->get_actors($id);
|
|
$data=array('film' => $film, 'actors' => $actors);
|
|
$this->load->view('header');
|
|
$this->load->view('fiche',$data);
|
|
$this->load->view('footer');
|
|
}
|
|
|
|
} |