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/user_guide/general/urls.html
*/
public function index()
{
//$this->load->view('includes/header');
$this->load->view('welcome_message');
// $this->load->view('includes/footer');
}
public function sliding_images()
{
//$this->load->view('includes/header');
$this->load->view('sliding_images');
// $this->load->view('includes/footer');
}
public function about()
{
$this->load->view('includes/header');
$this->load->view('about');
$this->load->view('includes/footer');
}
public function stgaspar()
{
$this->load->view('includes/header');
$this->load->view('stgaspar');
$this->load->view('includes/footer');
}
public function johnmerlini()
{
$this->load->view('includes/header');
$this->load->view('johnmerlini');
$this->load->view('includes/footer');
}
public function johnmerlini_students_life()
{
$this->load->view('includes/header');
$this->load->view('johnmerlini_students_life');
$this->load->view('includes/footer');
}
public function johnmerlini_departments()
{
$this->load->view('includes/header');
$this->load->view('johnmerlini_departments');
$this->load->view('includes/footer');
}
public function johnmerlini_view_departments()
{
$this->load->view('includes/header');
$this->load->view('johnmerlini_view_departments');
$this->load->view('includes/footer');
}
public function stgaspar_students_life()
{
$this->load->view('includes/header');
$this->load->view('stgaspar_students_life');
$this->load->view('includes/footer');
}
public function stgaspar_departments()
{
$this->load->view('includes/header');
$this->load->view('stgaspar_departments');
$this->load->view('includes/footer');
}
public function stgaspar_view_departments()
{
$this->load->view('includes/header');
$this->load->view('stgaspar_view_departments');
$this->load->view('includes/footer');
}
public function johnmerlini_labs()
{
$this->load->view('includes/header');
$this->load->view('johnmerlini_labs');
$this->load->view('includes/footer');
}
public function community()
{
$this->load->view('includes/header');
$this->load->view('community');
$this->load->view('includes/footer');
}
public function admission()
{
$this->load->view('includes/header');
$this->load->view('admission');
$this->load->view('includes/footer');
}
public function academics()
{
$this->load->view('includes/header');
$this->load->view('academics');
$this->load->view('includes/footer');
}
public function downloads()
{
$this->load->view('includes/header');
$this->load->view('downloads');
$this->load->view('includes/footer');
}
public function download_action(){
//$file_name = urldecode($_REQUEST['name']);
$file_url = base_url('admin/images/documents/').$_REQUEST['id'];
header('Content-Type: application/octet-stream');
header("Content-Transfer-Encoding: Binary");
header("Content-disposition: attachment; filename=\"".$file_url."\"");
readfile($file_url);
//exit;
}
public function news()
{
$this->load->view('includes/header');
$this->load->view('news');
$this->load->view('includes/footer');
}
public function events()
{
$this->load->view('includes/header');
$this->load->view('events');
$this->load->view('includes/footer');
}
public function contacts()
{
$this->load->view('includes/header');
$this->load->view('contacts');
$this->load->view('includes/footer');
}
public function gallery()
{
$this->load->view('includes/header');
$this->load->view('gallery');
$this->load->view('includes/footer');
}
public function cppseducation(){
$this->load->view('includes/header');
$this->load->view('cppseducation');
$this->load->view('includes/footer');
}
public function compus(){
$this->load->view('includes/header');
$this->load->view('compus');
$this->load->view('includes/footer');
}
public function delbufalo(){
$this->load->view('includes/header');
$this->load->view('delbufalo');
$this->load->view('includes/footer');
}
public function merlini(){
$this->load->view('includes/header');
$this->load->view('merlini');
$this->load->view('includes/footer');
}
public function send_mail() {
$name_email = $this->input->post('name');;
$email = $this->input->post('email');;
//$from_email = 'support@afel.co.tz';
$company_email = $this->input->post('subject');;
$message_email = $this->input->post('comments');;
$to_email = 'info@cppseducation.sc.tz';
//Load email library
$this->load->library('email');
$this->email->from($email, $name_email);
$this->email->to($to_email);
$this->email->subject($company_email.'-'.$name_email.'('.$email.')');
$this->email->message($message_email);
//Send mail
print_r($_POST);
if($this->email->send()){
//$this->session->set_flashdata("email_sent","Congragulation Email Send Successfully.");
redirect('welcome/contacts?sent');
}
}
}