Пример #1
0
 public function __construct($data)
 {
     // Recupération des données envoyé par le system.
     $this->data = $data;
     // Extension de l'objet et  mise à jour du noyau.
     __extends($this);
     // Définition des informations du thème.
     $this->theme = $this->data['active_theme'];
     // Inclusion du ficher "library.php".
     if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) {
         include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php';
     }
     theme_jpush("js/globals/jquery.min");
     theme_jpush("js/globals/jquery.contact");
     theme_jpush("js/globals/jquery.easing.1.3");
     theme_jpush("js/globals/jquery.fancybox.min");
     theme_jpush("js/globals/jquery.flexslider");
     theme_jpush("js/globals/jquery.gmap.min");
     theme_jpush("js/globals/jquery.isotope.min");
     theme_jpush("js/globals/jquery.jcarousel");
     theme_jpush("js/globals/jquery.layerslider-transitions");
     theme_jpush("js/globals/jquery.layerslider.min");
     theme_jpush("js/globals/jquery.modernizr");
     theme_jpush("js/globals/jquery.selectnav");
     theme_jpush("js/globals/jquery.shop");
     theme_jpush("js/globals/jquery.transit-modified");
     theme_jpush("js/globals/script");
     theme_jpush("js/globals/switcher");
     theme_jpush("js/globals/custom");
     theme_cpush("css/globals/base");
     theme_cpush("css/globals/icons");
     theme_cpush("css/globals/responsive");
     theme_cpush("css/globals/style");
 }
Пример #2
0
 public function __construct($data = array())
 {
     parent::__construct();
     __extends($this);
     $this->data = $data;
     $this->load->library('file');
 }
Пример #3
0
 function __construct($data)
 {
     __extends($this);
     $this->data =& $data;
     include_once $this->data['MODULE_DIR'] . '/library.php';
     $this->lib = new News_smart();
 }
Пример #4
0
 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->load->library('form_validation');
     $this->load->library('installation');
     $this->load->library('file');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->file->css_push('font');
     /**
     		$this->file->css_push('font');
     		$this->file->css_push('app.v2');
     		$this->file->css_push('fuelux');
     		// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     		$this->file->js_push('jquery');
     		$this->file->js_push('app.min.vtendoo');
     		$this->file->js_push('tendoo_app');
     		**/
     css_push_if_not_exists('../admin-lte/bootstrap/css/bootstrap.min');
     css_push_if_not_exists('../admin-lte/font-awesome/font-awesome.4.3.0.min');
     css_push_if_not_exists('../admin-lte/dist/css/AdminLTE.min');
     css_push_if_not_exists('../admin-lte/plugins/iCheck/square/blue');
     js_push_if_not_exists('../admin-lte/plugins/jQuery/jQuery-2.1.3.min');
     js_push_if_not_exists('../admin-lte/bootstrap/js/bootstrap.min');
     js_push_if_not_exists('../admin-lte/plugins/iCheck/icheck.min');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 }
Пример #5
0
 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->_config();
     $this->data = $data;
     $this->instance = get_instance();
     $this->opened_module = get_core_vars('opened_module');
     $this->data['module'] = get_core_vars('opened_module');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $fileManager = get_modules('filter_namespace', 'tendoo_contents');
     if ($fileManager) {
         include_once MODULES_DIR . $fileManager['encrypted_dir'] . '/utilities.php';
         set_core_vars('fmlib', new tendoo_contents_utility());
         // Loading library
     }
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
     $this->link = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/';
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     // ???
     $this->module_metas =& $this->opened_module;
     // ???
     // $this->load->library( 'GUI' );
 }
Пример #6
0
 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     $this->instance = get_instance();
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->load->library('install');
     $this->load->library('file');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     if ($this->instance->db_connected()) {
         $this->load->library('users_global');
         $this->data['options'] = get_meta('all');
         trigger_inits();
         // For Core menu extension, they are called after default menu.
         /**
          * 	Declare Notices : Notices are internal(system) or module/theme alert.
          **/
         set_core_vars('tendoo_notices', trigger_filters('declare_notices', array(get_core_vars('default_notices'))));
         // @since 1.4
     } else {
         $this->users_global = FALSE;
         $this->data['options'] = FALSE;
     }
 }
Пример #7
0
 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->load->library('gui');
     $this->_config();
     $this->data = $data;
     $this->instance = get_instance();
     $this->opened_module = get_core_vars('opened_module');
     $this->data['module'] = get_core_vars('opened_module');
     $this->news = new blogster_library($this->data);
     set_core_vars('news', $this->news);
     $this->data['news'] =& $this->news;
     // Deprecated
     $this->read_slug = 'read';
     $this->options = get_meta('blogster_settings');
     set_core_vars('blogster_settings', $this->options);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
     $this->link = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/';
     /*
     	Intégration de la librarie FILE MANAGER : Gestionnaire des fichiers médias.
     */
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $fileManager = get_modules('filter_namespace', 'tendoo_contents');
     if ($fileManager) {
         include_once MODULES_DIR . $fileManager['encrypted_dir'] . '/utilities.php';
         set_core_vars('fmlib', new tendoo_contents_utility());
         // Loading library
     }
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 }
Пример #8
0
 function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->module = get_modules('filter_namespace', 'pages_editor');
     $this->_before_boot();
 }
 public function __construct()
 {
     __extends($this);
     // getting tendoo code libs
     $this->__check_current_sitemap();
     // check current site map.
 }
Пример #10
0
 function __construct($module)
 {
     __extends($this);
     $this->module = $module;
     if (!class_exists('News_smart')) {
         include_once $this->module['uri_path'] . 'library.php';
     }
     $this->lib = new News_smart();
 }
 public function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->cur_module = get_modules('filter_active_namespace', 'blogster');
     $this->encrypted_dir =& $this->cur_module['encrypted_dir'];
     $this->cur_module_dir = $this->cur_module['uri_path'];
     $this->data = array();
     $this->data['cur_module'] =& $this->cur_module;
 }
Пример #12
0
 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->module = get_core_vars('opened_module');
     $this->lib = new page_library();
     $this->data = array();
     $this->data['current_page'] = get_core_vars('page');
     set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME']));
 }
 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->cur_module = get_modules('filter_active_namespace', 'pages_editor');
     $this->encrypted_dir =& $this->cur_module['encrypted_dir'];
     $this->cur_module_dir = MODULES_DIR . $this->encrypted_dir;
     $this->data = array();
     $this->data['cur_module'] =& $this->cur_module;
 }
Пример #14
0
 public function __construct($data)
 {
     __extends($this);
     include_once $data['theme'][0]['encrypted_dir'] . '/library.php';
     $this->lib = new nevia_theme_library($data);
     // Définition des chemins d'accès.
     $this->data['theme_details'] =& $this->data['Spetheme'][0];
     $this->location =& $this->data['Spetheme']['encrypted_dir'];
     $this->loadAccess = $this->data['loadAccess'] = THEMES_DIR . $this->location . '/';
     // LOADING VIEW //
     $this->data['tendoo_head'] = $this->load->view(VIEWS_DIR . '/admin/inner_head', $this->data, true, TRUE);
     $this->data['tendoo_left_menu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
 }
Пример #15
0
 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->data = $data;
     $this->data['page'] = get_core_vars('page');
     $this->data['module'] = get_core_vars('module');
     $this->data['current_page'] = get_core_vars('page');
     // Setting Bread
     $this->data['current_page'] = get_core_vars('page');
     set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME']));
     // End
 }
Пример #16
0
 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->theme = get_core_vars('active_theme');
     $this->data = array();
     // Inclusion du ficher "library.php".
     if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) {
         include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php';
     }
     $this->output_files();
 }
Пример #17
0
 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->config();
     // --------------------------------------------------------------------
     $this->data = array();
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->opened_module = get_core_vars('opened_module');
     $this->opened_module = $this->opened_module;
     $this->lib = new page_library();
 }
Пример #18
0
 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->module = get_modules('filter_namespace', 'tendoo_widget_administrator');
     $this->load->library('tendoo_admin', null, 'admin');
     if (defined('SCRIPT_CONTEXT')) {
         if (SCRIPT_CONTEXT == 'ADMIN') {
             $this->admin_context();
             // get_instance()->tendoo_admin->system_not('2 Nouveaux commentaires disponibles', 'Deux nouveaux commentaires sont dans la liste d\'attentes des [Lire la suite] ', '#', '10 mai 2013', null);
         } else {
             $this->public_context();
         }
         $this->both_context();
     }
 }
Пример #19
0
 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->data = $data;
     $module = get_core_vars('opened_module');
     $this->config();
     $this->opened_module = $module;
     $this->data['module'] = $module;
     $this->lib = $this->data['lib'] = $this->file_contentAdmin = new file_contentAdmin($this->data);
     $this->data['module_dir'] = MODULES_DIR . $this->opened_module['encrypted_dir'];
     $this->data['repository_dir'] = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/content_repository';
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
 }
Пример #20
0
 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->data = $data;
     $this->tendoo =& $this->instance->tendoo;
     $this->tendoo_admin =& $this->instance->tendoo_admin;
     $this->users_global =& $this->instance->users_global;
     $module = get_core_vars('opened_module');
     $this->dir = 'tendoo-modules/' . $module['encrypted_dir'];
     if (!is_dir($this->dir . '/content_repository')) {
         mkdir($this->dir . '/content_repository');
     }
     $this->cp_dir = $this->dir . '/content_repository';
 }
Пример #21
0
 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->news = new News_smart();
     $this->data['page'] = get_core_vars('page');
     $this->data['theme'] = get_core_vars('active_theme_object');
     $this->data['module'] = get_core_vars('module');
     $this->data['news'] =& $this->news;
     $this->data['userUtil'] =& $this->users_global;
     $this->data['setting'] = get_meta('blogster_settings');
     // Setting Bread
     $this->data['current_page'] = get_core_vars('page');
     set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME']));
     // End
 }
Пример #22
0
 function __construct()
 {
     __extends($this);
     $this->tcm = get_modules('filter_active_namespace', 'tendoo_contents');
 }
Пример #23
0
 public function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->instance = get_instance();
 }
Пример #24
0
 public function __construct()
 {
     parent::__construct();
     __extends($this);
 }
 function __construct()
 {
     __extends($this);
     get_instance()->load->library('curl');
     $this->curl = get_instance()->curl;
 }
Пример #26
0
 public function __construct($data)
 {
     __extends($this);
 }
Пример #27
0
 public function __construct($data = array())
 {
     __extends($this);
     $this->data =& $data;
     $this->users =& $this->users_global;
     // Post ScheduledArt()
     $this->postScheduledArt();
 }
Пример #28
0
 public function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->load->helper('gui');
 }
Пример #29
0
 function now()
 {
     $obj = new stdClass();
     __extends($obj);
     return $obj->instance->date->datetime();
 }
Пример #30
0
 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->data =& $data;
 }