| 1 |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); |
| 2 |
|
| 3 |
class Test_controller extends CI_controller |
| 4 |
{ |
| 5 |
function __construct() |
| 6 |
{ |
| 7 |
parent::__construct(); |
| 8 |
} |
| 9 |
|
| 10 |
function index() |
| 11 |
{ |
| 12 |
ci_redirect(''); |
| 13 |
return; |
| 14 |
|
| 15 |
$target1 = ci_site_url('load'); |
| 16 |
$html =<<<EOT |
| 17 |
<!DOCTYPE html> |
| 18 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 19 |
<head> |
| 20 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 21 |
<title></title> |
| 22 |
</head> |
| 23 |
<body> |
| 24 |
<script type="text/javascript" src="$target1"></script> |
| 25 |
</body> |
| 26 |
</html> |
| 27 |
|
| 28 |
EOT; |
| 29 |
echo $html; |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
/* End of file customers.php */ |
| 34 |
/* Location: ./application/controllers/admin/categories.php */ |