Fatal error: Class ‘CI_Controller’ not found in /home/uka/public_html/ucuzmetyan/application/controllers/main.php on line 2
main.php
<?php
class Main extends CI_Controller{
function index()
{
$this->load->view('header');
$this->load->library('curl');
$xmldata='<?xml version="1.0" encoding="utf-8"?>
<APIRequest>
<params>
<cmd>goldOyunListesi</cmd>
<username>lost@hotmail.com</username>
<password>123456</password>
</params>
</APIRequest>';
echo $this->curl->_simple_call('post','http://www.turk.com/api.php', array('cmd'=>'goldOyunListesi','username'=>'lost@hotmail.com','password'=>'123456'));
$data['solmoduller']=array('oyunlar');
$data['sagmoduller']=array('login','odeme','baslik');
$this->load->view('main',$data);
$this->load->view('footer');
}
function kayit(){
$this->load->view('header');
$data['solmoduller']=array('oyunlar');
$data['sagmoduller']=array('login','odeme','baslik');
$this->load->view('kayit/kayit',$data);
$this->load->view('footer');
}
}
?>
help please
version v2.1.3
why this error ?
