Ejemplo n.º 1
0
 function __construct()
 {
     $this->template->add_js('jquery.aggrid', 'libraries');
     $this->template->add_css('grid');
     //$this->template->add_css('pages');
     parent::__construct();
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     $this->img_path = IMG_PATH . ID_USERS . self::IMG_FOLDER;
     $this->sphinxQL = new Connection();
     $this->sphinxQL->setConnectionParams(SPHINX_IP, SPHINX_PORT);
     parent::__construct();
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('users/musers');
     $user = $this->musers->get_user();
     $this->default_settings['mail_']['new_order_email'] = $user['email'];
 }
Ejemplo n.º 4
0
 function __construct()
 {
     parent::__construct();
     $user = $this->musers->get_user();
     $this->default_settings['distribution_']['email'] = $user['email'];
     $this->default_settings['registration_notice_']['email'] = $user['email'];
 }
Ejemplo n.º 5
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('site_settings/msite_settings');
     $admin_data = $this->msite_settings->get_admin_settings();
     $this->default_settings['reviews_']['admin_email'] = $admin_data['email'];
     $this->default_settings['reviews_']['admin_name'] = $admin_data['name'];
 }
Ejemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     $this->segment = $this->uri->segment(self::MID);
     $this->img_path = BASE_PATH . 'users/' . $this->id_users . '/media/module_' . $this->segment . self::IMG_FOLDER;
     $this->img_br_path = IMG_PATH . $this->id_users . '/media/module_' . $this->segment . self::IMG_FOLDER;
     $this->file_path = BASE_PATH . 'users/' . $this->id_users . '/media/module_' . $this->segment . self::FILE_FOLDER;
 }
Ejemplo n.º 7
0
 function __construct($GridName = 'grid_tree', $options = array())
 {
     $this->GridName = $GridName;
     foreach ($options as $key => $ms) {
         $this->options[$key] = $ms;
     }
     if (isset($_GET['ajax'])) {
         $this->AjaxOutput = TRUE;
     }
     if (isset($_GET['ajax_show_all'])) {
         $this->AjaxShowAll = TRUE;
     }
     /*if(isset($_GET['no_template_load']))
     		{
     			if($this->input->post('id'))
     			{
     				$this->session->unsetData(array('TREE_GRID_'.$this->GridName, $this->input->post('id')), FALSE);
     			}	
     			exit;
     		}*/
     //$this->PID = $this->session->getData('TREE_GRID_'.$this->GridName, FALSE);
     parent::__construct();
 }
Ejemplo n.º 8
0
 function __construct()
 {
     parent::__construct();
     $this->segment = $this->uri->segment(self::MID);
 }
Ejemplo n.º 9
0
 function __construct()
 {
     parent::__construct();
     $this->get_current_currency();
 }
Ejemplo n.º 10
0
 function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 11
0
 public function __construct()
 {
     $this->sphinxQL = new Connection();
     $this->sphinxQL->setConnectionParams(SPHINX_IP, SPHINX_PORT);
     parent::__construct();
 }
Ejemplo n.º 12
0
 public function __construct()
 {
     parent::__construct();
     $this->_init();
 }
Ejemplo n.º 13
0
 function __construct()
 {
     parent::__construct();
     $this->img_load_path = BASE_PATH . 'users/' . $this->id_users . self::IMG_FOLDER;
     $this->img_path = IMG_PATH . ID_USERS . self::IMG_FOLDER;
 }
Ejemplo n.º 14
0
 public function __construct()
 {
     parent::__construct();
     $this->segment = $this->uri->segment(self::MID);
     $this->img_path = IMG_PATH . $this->id_users . '/media/module_' . $this->segment . self::IMG_FOLDER;
 }
Ejemplo n.º 15
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('favorites');
 }
Ejemplo n.º 16
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('cart');
     $this->get_discounts_array();
 }
Ejemplo n.º 17
0
 function __construct()
 {
     parent::__construct();
     $this->xls_path = 'users/' . ID_USERS . self::XLS_FOLDER;
 }
Ejemplo n.º 18
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('cart');
 }
Ejemplo n.º 19
0
 public function __construct()
 {
     parent::__construct();
     $this->img_path = IMG_PATH . ID_USERS . self::IMG_FOLDER;
 }
Ejemplo n.º 20
0
 function __construct($GridName = 'grid', $SES = TRUE, $options = FALSE)
 {
     if ($options) {
         foreach ($options as $key => $ms) {
             $this->setOptions($key, $ms);
         }
     }
     $this->GridName = $GridName;
     $this->load->helper('pages');
     if (isset($_GET['ajax'])) {
         $this->AjaxOutput = true;
         $session_data = $this->Options;
         if ($SES && !($session_data = $this->session->flashdata('GRID_' . $this->GridName))) {
             $session_data = $this->Options;
         }
     } else {
         $session_data = $this->Options;
         if ($SES && !($session_data = $this->session->flashdata('GRID_' . $this->GridName))) {
             $session_data = $this->Options;
         }
     }
     if (isset($_GET['limit'])) {
         if (intval($_GET['limit']) > 0) {
             $this->setOptions('limit', intval($_GET['limit']));
             $session_data['limit'] = intval($_GET['limit']);
         } else {
             $session_data['limit'] = $this->getOptions('limit');
         }
     } else {
         $this->setOptions('limit', $session_data['limit']);
     }
     if (isset($_GET['sort'])) {
         $arr = explode('/', $_GET['sort']);
         if (is_array($arr) && count($arr) > 1) {
             $this->setOptions('sort', $arr[0]);
             $this->setOptions('desc', $arr[1]);
             $session_data['sort'] = $arr[0];
             $session_data['desc'] = $arr[1];
         } else {
             $this->setOptions('sort', $_GET['sort']);
             $session_data['sort'] = $_GET['sort'];
             $session_data['desc'] = '';
         }
     } else {
         $this->setOptions('sort', $session_data['sort']);
         $this->setOptions('desc', $session_data['desc']);
     }
     if (isset($_GET['page'])) {
         if (intval($_GET['page']) > 0) {
             $this->setOptions('page', intval($_GET['page']));
             $session_data['page'] = intval($_GET['page']);
         } else {
             $session_data['page'] = $this->getOptions('page');
         }
     } else {
         $this->setOptions('page', $session_data['page']);
     }
     if (isset($_POST['search'])) {
         $search_array = array();
         $search_string = rawurldecode(base64_decode(trim($_POST['search'])));
         $session_data['search'] = trim($_POST['search']);
         parse_str($search_string, $search_array);
         $this->setOptions('search', $search_array);
         $session_data['search'] = $_POST['search'];
     } else {
         $search_array = array();
         if (!is_array($session_data['search'])) {
             $search_string = rawurldecode(base64_decode($session_data['search']));
             parse_str($search_string, $search_array);
         }
         $this->setOptions('search', $search_array);
     }
     $this->session->set_flashdata('GRID_' . $this->GridName, $session_data);
     parent::__construct();
 }