public function __construct() { parent::__construct(); $this->load->helper('url_helper'); $this->load->spark('oauth2/0.4.0'); $this->config->load('oauth2'); }
public function __construct() { parent::__construct(); $this->load->database(); $this->load->library('session'); $this->load->helper('common'); $this->form_validation->set_error_delimiters('', ''); }
public function __construct() { parent::__construct(); $this->load->helper(array('url', 'session', 'login')); $this->load->library(array('session', 'mobile_detect')); $this->load->spark('oauth2/0.4.0'); $this->load->model('user_social_app_model'); }
public function __construct() { parent::__construct(); $this->load->library(array('datatable', 'navigation')); $this->load->model(array('config_model', 'gateway_model', 'user_model', 'group_user_model')); $this->default_model = array('index' => $this->gateway_model); $this->jquery_ui(); $this->jquery_pinet(); }
public function __construct() { parent::__construct(); $this->load->database(); $this->load->model('user_model'); $this->load->library(array('datatable', 'navigation', 'session')); $this->load->model(array('gateway_model', 'device_model', 'group_user_model', 'operation_model', 'blacklist_model', 'user_model', 'group_model')); $this->default_model = array('index' => $this->gateway_model, 'ibox_realtime_status' => $this->gateway_model, 'user' => $this->user_model); $this->jquery_ui(); $this->jquery_pinet(); }
public function __construct() { parent::__construct(); $this->load->database(); $this->load->model('user_model'); $this->load->library(array('datatable', 'listview', 'navigation')); $this->load->model(array('gateway_model', 'user_model', 'group_user_model', 'config_model', 'operation_model', 'crontab_model', 'syslog_model')); $this->default_model = array('index' => $this->user_model, 'ibox_app' => $this->config_model, 'ibox_update' => $this->gateway_model, 'task_scheduler' => $this->crontab_model, 'ibox_activation' => $this->user_model); $this->jquery_ui(); $this->jquery_pinet(); }
public function __construct() { parent::__construct(); $this->load->helper('url'); $this->load->library(); $this->load->model(array('user_model', 'group_model', 'group_user_model', 'gateway_model')); $this->load->library(array('datatable', 'session', 'navigation')); $this->default_model = array('index' => $this->user_model); $this->init_responsive(); $this->jquery_ui(); $this->jquery_pinet(); }
public function __construct() { parent::__construct(); $this->title = lang('Captive Portal Settings'); $this->messages = lang('Captive Portal Settings'); $this->load->library(array('session', 'datatable', 'navigation')); $this->load->model(array('user_model', 'firewall_model', 'blacklist_model', 'sns_operation_configuration_model', 'group_user_model', 'portal_page_model')); $this->default_model = array('index' => $this->gateway_model, 'walled_garden' => $this->gateway_model, 'blacklist' => $this->blacklist_model); $this->jquery_ui(); $this->jquery_pinet(); $this->jquery_file_upload(); }
public function __construct() { parent::__construct(); $this->load->database(); $this->load->helper('url'); $this->load->library(array('navigation', 'session')); $this->init_responsive(); $this->jquery_ui(); $this->jquery_pinet(); $this->load->model('user_model'); $this->default_model = $this->user_model; $this->load->model('security_subject_model'); }
public function __construct() { parent::__construct(); $this->load->library(array('report', 'navigation', 'session')); $this->load->model(array('gateway_model', 'user_model')); $this->init_responsive(); $this->jquery_ui(); $this->datepicker(); $this->highcharts(); $this->jquery_pinet(); $js = <<<EOT var clock; function showReport(mode){ clearTimeout(clock); if(mode) \$('.form-horizontal').find("input[name=mode]").val(mode); clock = setTimeout(function(){ \$('.form-horizontal').submit(); }, 300); } \$(function(){ var datepicker = \$('#datepicker').datepicker({ language: "zh-CN", format: "yyyy-mm-dd" }); datepicker.on('changeDate', function(){ showReport(""); }); \$("#month-btn").on("click", function(){ showReport("month"); }); \$("#week-btn").on("click", function(){ showReport("week"); }); \$("#day-btn").on("click", function(){ showReport("day"); }); }) EOT; $this->initJs($js); }
public function __construct() { parent::__construct(); $this->load->library(array('rule_manager')); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->jquery(); }
public function __construct() { parent::__construct(); $this->load->helper('image'); }
public function __construct() { parent::__construct(); $this->load->library(array('rule_manager', 'login_token', 'session')); $this->load->helper(array('login', 'cookie', 'session')); }
public function __construct() { parent::__construct(); $this->load->model('user_model'); $this->default_model = array('index' => $this->user_model); }
public function __construct() { parent::__construct(); $this->load->library(array('session')); $this->load->model(array('user_model', 'portal_page_model')); }