- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
<?php
class Gcont extends Controller {
// ...
function gcont(){
$this->load->model('am_loader');
$title = $this->am_loader->gettitle();
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"';
echo '<html xmlns="http://www.w3.org/1999/xhtml">';
echo '<head><title>'.$title.'</title>';
// ...
$this->load->view('gcont');
}
}