Copy this code and paste it in your HTML
function __autoload($class)
{
if (strpos($class, 'CI_') !== 0) {
if (is_file($location = APPPATH
.'libraries/'.$class.EXT
)) {
include_once $location;
}
else if (is_file($location = APPPATH
.'core/'.$class.EXT
)) {
include_once $location;
}
}
}