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
* @see https://codeigniter.com/userguide3/general/urls.html
*/
public function index(){
$this->load->view('includes/header1');
$this->load->view('welcome');
$this->load->view('includes/footer1');
}
public function about(){
$this->load->view('includes/header1');
$this->load->view('about');
$this->load->view('includes/footer1');
}
public function services(){
$this->load->view('includes/header1');
$this->load->view('services');
$this->load->view('includes/footer1');
}
public function portfolio(){
$this->load->view('includes/header1');
$this->load->view('portfolio');
$this->load->view('includes/footer1');
}
public function contacts(){
$this->load->view('includes/header1');
$this->load->view('contacts');
$this->load->view('includes/footer1');
}
public function projectSingle(){
$this->load->view('includes/header1');
$this->load->view('projectSingle');
$this->load->view('includes/footer1');
}
public function sendMail() {
if($_POST){
$name=$this->security->xss_clean($this->input->post('name'));
$phone=$this->security->xss_clean($this->input->post('phone'));
$email=$this->security->xss_clean($this->input->post('email'));
$message=$this->security->xss_clean($this->input->post('message'));
$fullMessage = $message . '
'.$name.' - '.$phone.'';
//function to send email
$to = 'sales@whlogistics.co.tz';
$subject = "Service Request ";
// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
// More headers
$headers .= 'From:'.$email . "\r\n";
mail($to,$subject,$fullMessage,$headers);
//end of email verification
redirect($_SERVER['HTTP_REFERER'].'?sent');
}
}
}