application/modules/admin/admin.php 1 location
|
@@ 40-52 (lines=13) @@
|
| 37 |
|
|
| 38 |
|
private $request_url = 'http://requests.imagecms.net/index.php/requests/req'; |
| 39 |
|
|
| 40 |
|
public function __construct() { |
| 41 |
|
parent::__construct(); |
| 42 |
|
$this->load->library('DX_Auth'); |
| 43 |
|
|
| 44 |
|
$lang = new MY_Lang(); |
| 45 |
|
$lang->load('admin'); |
| 46 |
|
|
| 47 |
|
admin_or_redirect(); |
| 48 |
|
|
| 49 |
|
$this->load->library('lib_admin'); |
| 50 |
|
$this->load->library('lib_category'); |
| 51 |
|
$this->lib_admin->init_settings(); |
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
public function init() { |
| 55 |
|
|
application/modules/admin/admin_logs.php 1 location
|
@@ 12-23 (lines=12) @@
|
| 9 |
|
|
| 10 |
|
public $per_page = 25; |
| 11 |
|
|
| 12 |
|
public function __construct() { |
| 13 |
|
parent::__construct(); |
| 14 |
|
|
| 15 |
|
$this->load->library('DX_Auth'); |
| 16 |
|
admin_or_redirect(); |
| 17 |
|
|
| 18 |
|
$this->load->library('lib_admin'); |
| 19 |
|
$this->load->library('pagination'); |
| 20 |
|
$this->lib_admin->init_settings(); |
| 21 |
|
|
| 22 |
|
//cp_check_perm('logs_view'); |
| 23 |
|
} |
| 24 |
|
|
| 25 |
|
public function index($offset = 0) { |
| 26 |
|
$this->db->order_by('date', 'DESC'); |
application/modules/admin/admin_search.php 1 location
|
@@ 18-29 (lines=12) @@
|
| 15 |
|
|
| 16 |
|
public $items_per_page = '20'; // items per page for advanced search. |
| 17 |
|
|
| 18 |
|
public function __construct() { |
| 19 |
|
|
| 20 |
|
parent::__construct(); |
| 21 |
|
|
| 22 |
|
$this->load->library('DX_Auth'); |
| 23 |
|
admin_or_redirect(); |
| 24 |
|
|
| 25 |
|
$this->load->library('lib_admin'); |
| 26 |
|
$this->lib_admin->init_settings(); |
| 27 |
|
|
| 28 |
|
$_POST['search_text'] = urldecode($this->input->post('search_text')); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
public function index($hash = '', $offset = 0) { |
| 32 |
|
|
application/modules/admin/backup.php 1 location
|
@@ 17-26 (lines=10) @@
|
| 14 |
|
class Backup extends BaseAdminController |
| 15 |
|
{ |
| 16 |
|
|
| 17 |
|
public function __construct() { |
| 18 |
|
parent::__construct(); |
| 19 |
|
|
| 20 |
|
$this->load->library('DX_Auth'); |
| 21 |
|
admin_or_redirect(); |
| 22 |
|
|
| 23 |
|
$this->load->library('form_validation'); |
| 24 |
|
$this->load->library('lib_admin'); |
| 25 |
|
$this->lib_admin->init_settings(); |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
public function save_settings() { |
| 29 |
|
$backup = \libraries\Backup::create(); |
application/modules/admin/cache_all.php 1 location
|
@@ 10-19 (lines=10) @@
|
| 7 |
|
class Cache_all extends BaseAdminController |
| 8 |
|
{ |
| 9 |
|
|
| 10 |
|
public function __construct() { |
| 11 |
|
parent::__construct(); |
| 12 |
|
|
| 13 |
|
$this->load->library('DX_Auth'); |
| 14 |
|
admin_or_redirect(); |
| 15 |
|
|
| 16 |
|
$this->load->library('lib_admin'); |
| 17 |
|
$this->load->library('form_validation'); |
| 18 |
|
$this->lib_admin->init_settings(); |
| 19 |
|
} |
| 20 |
|
|
| 21 |
|
public function index() { |
| 22 |
|
|
application/modules/admin/components.php 1 location
|
@@ 26-37 (lines=12) @@
|
| 23 |
|
|
| 24 |
|
private $permited = []; |
| 25 |
|
|
| 26 |
|
public function __construct() { |
| 27 |
|
parent::__construct(); |
| 28 |
|
|
| 29 |
|
$this->load->library('DX_Auth'); |
| 30 |
|
|
| 31 |
|
admin_or_redirect(); |
| 32 |
|
|
| 33 |
|
$this->load->library('lib_admin'); |
| 34 |
|
$this->lib_admin->init_settings(); |
| 35 |
|
$this->setInstalled(); |
| 36 |
|
$this->setPermited(); |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
public function index() { |
| 40 |
|
$this->modules_table(); |
application/modules/admin/settings.php 1 location
|
@@ 31-41 (lines=11) @@
|
| 28 |
|
*/ |
| 29 |
|
protected $uploadPath = 'uploads/images/'; |
| 30 |
|
|
| 31 |
|
public function __construct() { |
| 32 |
|
|
| 33 |
|
parent::__construct(); |
| 34 |
|
|
| 35 |
|
$this->load->library('DX_Auth'); |
| 36 |
|
admin_or_redirect(); |
| 37 |
|
|
| 38 |
|
$this->load->library('lib_admin'); |
| 39 |
|
$this->load->library('lib_category'); |
| 40 |
|
$this->lib_admin->init_settings(); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
public function index() { |
| 44 |
|
|
application/modules/admin/sys_info.php 1 location
|
@@ 18-27 (lines=10) @@
|
| 15 |
|
class Sys_info extends BaseAdminController |
| 16 |
|
{ |
| 17 |
|
|
| 18 |
|
public function __construct() { |
| 19 |
|
parent::__construct(); |
| 20 |
|
$this->load->library('DX_Auth'); |
| 21 |
|
admin_or_redirect(); |
| 22 |
|
|
| 23 |
|
$this->load->library('lib_admin'); |
| 24 |
|
$this->load->library('lib_category'); |
| 25 |
|
$this->load->library('email'); |
| 26 |
|
$this->lib_admin->init_settings(); |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
public function index($action = '') { |
| 30 |
|
$folders = [ |
application/modules/admin/widgets_manager.php 1 location
|
@@ 22-32 (lines=11) @@
|
| 19 |
|
|
| 20 |
|
protected $widget_path; |
| 21 |
|
|
| 22 |
|
public function __construct() { |
| 23 |
|
parent::__construct(); |
| 24 |
|
|
| 25 |
|
$this->load->library('DX_Auth'); |
| 26 |
|
admin_or_redirect(); |
| 27 |
|
|
| 28 |
|
$this->load->library('lib_admin'); |
| 29 |
|
$this->lib_admin->init_settings(); |
| 30 |
|
|
| 31 |
|
$this->load->module('admin/components', 'components'); |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
/** |
| 35 |
|
* Display widgets list |
application/modules/admin/categories.php 1 location
|
@@ 52-60 (lines=9) @@
|
| 49 |
|
/** |
| 50 |
|
* Categories constructor. |
| 51 |
|
*/ |
| 52 |
|
public function __construct() { |
| 53 |
|
parent::__construct(); |
| 54 |
|
|
| 55 |
|
$this->load->library('DX_Auth'); |
| 56 |
|
admin_or_redirect(); |
| 57 |
|
$this->load->library('lib_admin'); |
| 58 |
|
$this->load->library('lib_category'); |
| 59 |
|
$this->lib_admin->init_settings(); |
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
/** |
| 63 |
|
* Create or update new category |
application/modules/admin/languages.php 1 location
|
@@ 13-23 (lines=11) @@
|
| 10 |
|
class Languages extends BaseAdminController |
| 11 |
|
{ |
| 12 |
|
|
| 13 |
|
public function __construct() { |
| 14 |
|
|
| 15 |
|
parent::__construct(); |
| 16 |
|
|
| 17 |
|
$this->load->library('DX_Auth'); |
| 18 |
|
admin_or_redirect(); |
| 19 |
|
|
| 20 |
|
$this->load->library('lib_admin'); |
| 21 |
|
$this->load->library('form_validation'); |
| 22 |
|
$this->lib_admin->init_settings(); |
| 23 |
|
} |
| 24 |
|
|
| 25 |
|
public function index() { |
| 26 |
|
|