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
session->userdata('user_type')) {
$this->session->set_flashdata('flash_data', 'You don\'t have access!');
redirect('Welcome');
}elseif($this->session->userdata('user_type')!='employee'){
$this->session->set_flashdata('flash_data', 'You don\'t have access!');
redirect('Learning');
}
}
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to /index.php/welcome/
* @see https://codeigniter.com/user_guide/general/urls.html
*/
public function index()
{
$this->load->view('includes/header');
$this->load->view('pages/home');
$this->load->view('includes/footer');
}
public function upload_movies()
{
$this->load->view('includes/header');
$this->load->view('pages/upload_movies');
$this->load->view('includes/footer');
}
public function uploaded_movies()
{
$this->load->view('includes/header');
$this->load->view('pages/uploaded_movies');
$this->load->view('includes/footer');
}
public function register_movie_owners()
{
$this->load->view('includes/header');
$this->load->view('pages/register_movie_owners');
$this->load->view('includes/footer');
}
public function view_movie_owners()
{
$this->load->view('includes/header');
$this->load->view('pages/view_movie_owners');
$this->load->view('includes/footer');
}
public function movie_owner_profile()
{
$this->load->view('includes/header');
$this->load->view('pages/movie_owner_profile');
$this->load->view('includes/footer');
}
public function view_movie_details()
{
$this->load->view('includes/header');
$this->load->view('pages/view_movie_details');
$this->load->view('includes/footer');
}
public function edit_movie()
{
$this->load->view('includes/header');
$this->load->view('pages/edit_movie');
$this->load->view('includes/footer');
}
public function edit_movie_owners()
{
$this->load->view('includes/header');
$this->load->view('pages/edit_movie_owners');
$this->load->view('includes/footer');
}
public function customers()
{
$this->load->view('includes/header');
$this->load->view('pages/customers');
$this->load->view('includes/footer');
}
public function live_customers()
{
$this->load->view('includes/header');
$this->load->view('pages/live_customers');
$this->load->view('includes/footer');
}
public function customer_profile()
{
$this->load->view('includes/header');
$this->load->view('pages/customer_profile');
$this->load->view('includes/footer');
}
public function create_vouchers()
{
$this->load->view('includes/header');
$this->load->view('pages/create_vouchers');
$this->load->view('includes/footer');
}
public function print_vouchers()
{
$this->load->view('includes/header');
$this->load->view('pages/print_vouchers');
$this->load->view('includes/footer');
}
public function list_of_vouchers()
{
$this->load->view('includes/header');
$this->load->view('pages/list_of_vouchers');
$this->load->view('includes/footer');
}
public function sales_of_vouchers()
{
$this->load->view('includes/header');
$this->load->view('pages/sales_of_vouchers');
$this->load->view('includes/footer');
}
public function reports_of_vouchers()
{
$this->load->view('includes/header');
$this->load->view('pages/reports_of_vouchers');
$this->load->view('includes/footer');
}
public function print_voucher_batch()
{
$this->load->view('includes/printing_header');
$this->load->view('pages/print_voucher_batch');
$this->load->view('includes/printing_footer');
}
public function set_printed(){
$id=base64_decode($_REQUEST['batch']);
$data= array(
'print' =>1
);
$this->db->where('batch',$id);
$this->db->update('voucher',$data);
redirect('admin/print_vouchers?sent');
}
public function remove_assigned(){
$id=base64_decode($_REQUEST['id']);
$this->db->where('id',$id);
$this->db->delete('assigned_movies');
redirect('admin/assign_actors?sent');
}
public function register_actors()
{
$this->load->view('includes/header');
$this->load->view('pages/register_actors');
$this->load->view('includes/footer');
}
public function actors_list()
{
$this->load->view('includes/header');
$this->load->view('pages/actors_list');
$this->load->view('includes/footer');
}
public function assign_actors()
{
$this->load->view('includes/header');
$this->load->view('pages/assign_actors');
$this->load->view('includes/footer');
}
public function edit_actor()
{
$this->load->view('includes/header');
$this->load->view('pages/edit_actor');
$this->load->view('includes/footer');
}
public function actor_profile()
{
$this->load->view('includes/header');
$this->load->view('pages/actor_profile');
$this->load->view('includes/footer');
}
public function movie_likes()
{
$this->load->view('includes/header');
$this->load->view('pages/movie_likes');
$this->load->view('includes/footer');
}
public function movie_views()
{
$this->load->view('includes/header');
$this->load->view('pages/movie_views');
$this->load->view('includes/footer');
}
public function movie_comments()
{
$this->load->view('includes/header');
$this->load->view('pages/movie_comments');
$this->load->view('includes/footer');
}
}