Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
load->view('welcome_message');
}
public function index()
{
$this->load->view('includes/header');
$this->load->view('pages/index');
$this->load->view('includes/footer');
}
public function necta()
{
$this->load->view('includes/header');
$this->load->view('pages/necta');
$this->load->view('includes/footer');
}
public function post_necta(){
if($_POST){
$data = array(
'url'=>$this->input->post('url'),
'title'=>$this->input->post('title'),
'school'=>$this->input->post('school'),
);
$this->db->insert('necta',$data);
redirect('admin/necta?ok');
}else{
redirect($_SERVER['HTTP_REFERER']);
}
}
public function delete_necta(){
$id = $_REQUEST['id'];
$this->db->where('id',$id)->delete('necta');
redirect('admin/necta?deleted');
}
public function project()
{
$this->load->view('includes/header');
$this->load->view('pages/project');
$this->load->view('includes/footer');
}
public function editProject()
{
$this->load->view('includes/header');
$this->load->view('pages/editProject');
$this->load->view('includes/footer');
}
public function viewProject()
{
$this->load->view('includes/header');
$this->load->view('pages/viewProject');
$this->load->view('includes/footer');
}
public function view_news()
{
$this->load->view('includes/header');
$this->load->view('pages/view_news');
$this->load->view('includes/footer');
}
public function edit_news()
{
$this->load->view('includes/header');
$this->load->view('pages/edit_news');
$this->load->view('includes/footer');
}
public function add_photo()
{
$this->load->view('includes/header');
$this->load->view('pages/add_photo');
$this->load->view('includes/footer');
}
public function view_photo()
{
$this->load->view('includes/header');
$this->load->view('pages/view_photo');
$this->load->view('includes/footer');
}
public function add_doc()
{
$this->load->view('includes/header');
$this->load->view('pages/add_doc');
$this->load->view('includes/footer');
}
public function view_doc()
{
$this->load->view('includes/header');
$this->load->view('pages/view_doc');
$this->load->view('includes/footer');
}
public function view_staffs()
{
$this->load->view('includes/header');
$this->load->view('pages/view_staffs');
$this->load->view('includes/footer');
}
public function view_single()
{
$this->load->view('includes/header');
$this->load->view('pages/view_single');
$this->load->view('includes/footer');
}
public function portfolio()
{
$this->load->view('includes/header');
$this->load->view('pages/portfolio');
$this->load->view('includes/footer');
}
public function news()
{
$this->load->view('includes/header');
$this->load->view('pages/news');
$this->load->view('includes/footer');
}
public function broker()
{
$this->load->view('includes/header');
$this->load->view('pages/broker');
$this->load->view('includes/footer');
}
public function register()
{
$this->load->view('includes/header');
$this->load->view('pages/register');
$this->load->view('includes/footer');
}
public function login()
{
$this->load->view('includes/header');
$this->load->view('pages/login');
$this->load->view('includes/footer');
}
public function blog()
{
$this->load->view('includes/header');
$this->load->view('pages/blog');
$this->load->view('includes/footer');
}public function post_news()
{
$this->load->view('includes/header');
$this->load->view('pages/post_news');
$this->load->view('includes/footer');
}
public function contact()
{
$this->load->view('includes/header');
$this->load->view('pages/contact');
$this->load->view('includes/footer');
}
public function insert_register() {
$data_ary = array(
'name' => $this->input->post('name'),
'company_name' => $this->input->post('company_name'),
'email' => $this->input->post('email'),
'phone' => $this->input->post('phone'),
'location' => $this->input->post('location'),
'street' => $this->input->post('street'),
'website' => $this->input->post('website')
);
//clean posted data
$data_ary = $this->security->xss_clean($data_ary);
$this->db->insert('register', $data_ary);
redirect('welcome/register?yes');
}
public function logout() {
$this->session->sess_destroy();
redirect('login');
}
public function upload() {
if (file_exists("../images/test/" . $_FILES["upload"]["name"]))
{
echo $_FILES["upload"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["upload"]["tmp_name"],
"../images/test/" . $_FILES["upload"]["name"]);
echo "Stored in: " . "../images/test/" . $_FILES["upload"]["name"];
}
}
public function data()
{
/*$d=$this->db->get('data');
foreach($d->result() as $row){
//echo $row->data.'
- ';
$string=$row->data;
$s=str_replace("?","-",$string);
$data_ary = array(
'name' => $s,
'id' => $row->id,
);
//clean posted data
$data_ary = $this->security->xss_clean($data_ary);
$r=$this->db->insert('levels', $data_ary);
echo $row->id.' '.$s.'
';
}
*/
}
}