2023-07-21 03:42:45 +08:00
|
|
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
|
|
|
|
|
|
class Bandmap extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
function __construct() {
|
|
|
|
|
parent::__construct();
|
|
|
|
|
|
|
|
|
|
$this->load->model('user_model');
|
|
|
|
|
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
2023-07-21 17:16:19 +08:00
|
|
|
$this->load->model('bands');
|
2023-07-21 03:42:45 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function index() {
|
|
|
|
|
$footerData = [];
|
|
|
|
|
$footerData['scripts'] = [
|
|
|
|
|
'assets/js/sections/bandmap.js',
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
$data['page_title'] = "Bandmap";
|
|
|
|
|
$this->load->view('interface_assets/header', $data);
|
|
|
|
|
$this->load->view('bandmap/index');
|
|
|
|
|
$this->load->view('interface_assets/footer', $footerData);
|
|
|
|
|
}
|
|
|
|
|
}
|