26 行
525 B
PHP
26 行
525 B
PHP
|
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||
|
|
|
||
|
|
/*
|
||
|
|
|
||
|
|
Data lookup functions used within Cloudlog
|
||
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
class Qrbcalc 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'); }
|
||
|
|
}
|
||
|
|
|
||
|
|
public function index()
|
||
|
|
{
|
||
|
|
$data['page_title'] = "QRB Calculaltor";
|
||
|
|
$this->load->view('qrbcalc/index', $data);
|
||
|
|
}
|
||
|
|
}
|