示例#1
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     //load model
     $this->load->model('templates_model');
     //load helper
     $this->load->helper('template');
 }
 /**
  * Constructor
  *
  * @access public
  * @param string
  */
 public function __construct()
 {
     parent::__construct();
     //set page title
     $this->set_page_title(lang('password_forgotten_heading'));
     //breadcrumb
     $this->template->set_breadcrumb(lang('breadcrumb_my_account'), site_url('account'));
     $this->template->set_breadcrumb(lang('breadcrumb_password_forgotten'), site_url('account/password_forgotten'));
 }
示例#3
0
 /**
  * Constructor
  *
  * @access public
  * @param string
  */
 public function __construct()
 {
     parent::__construct();
     //set page title
     $this->set_page_title(lang('sign_in_heading'));
     //breadcrumb
     $this->template->set_breadcrumb(lang('breadcrumb_my_account'), site_url('account'));
     $this->template->set_breadcrumb(lang('breadcrumb_sign_in'), site_url('account/login'));
 }
示例#4
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     //load model
     $this->load->model('guestbooks_model');
     //set page title
     $this->template->set_title(lang('guestbook_heading'));
     //breadcrumb
     $this->template->set_breadcrumb(lang('guestbook_heading'), site_url('info/guestbooks'));
 }
示例#5
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     //load model
     $this->load->model('account_model');
     //set page title
     $this->set_page_title(lang('account_edit_heading'));
     //breadcrumb
     $this->template->set_breadcrumb(lang('breadcrumb_my_account'), site_url('account'));
     $this->template->set_breadcrumb(lang('breadcrumb_edit_account'), site_url('account/edit'));
 }
示例#6
0
 public function __construct($template_name)
 {
     parent::__construct();
     $this->load->model('email_templates_model');
     if (!empty($template_name)) {
         $template = $this->email_templates_model->get_template_info($template_name);
         if (!empty($template)) {
             $this->_status = $template['email_templates_status'];
             $this->_title = $template['email_title'];
             $this->_content = $template['email_content'];
         }
     }
 }
示例#7
0
 /**
  * Constructor
  *
  * @access public
  * @param string
  */
 public function __construct()
 {
     parent::__construct();
     //load model
     $this->load->model('order_model');
     //load order language resources
     $this->lang->db_load('order');
     //set page title
     $this->set_page_title(lang('orders_heading'));
     //breadcrumb
     $this->template->set_breadcrumb(lang('breadcrumb_my_account'), site_url('account'));
     $this->template->set_breadcrumb(lang('breadcrumb_my_orders'), site_url('account/orders'));
 }
示例#8
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     //set page title
     $this->template->set_title(lang('info_contact_heading'));
     $this->load->model('departments_model');
     //setup view data
     $this->_data['departments'] = array();
     $departments = $this->departments_model->get_listing();
     if (!empty($departments)) {
         foreach ($departments as $department) {
             $this->_data['departments'][$department['departments_email_address']] = $department['departments_title'];
         }
     }
 }
示例#9
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     //set page title
     $this->set_page_title(lang('sign_in_heading'));
     //breadcrumb
     $this->template->set_breadcrumb(lang('breadcrumb_my_account'), site_url('account'));
     $this->template->set_breadcrumb(lang('create_account_heading'), site_url('account/create'));
     //data
     $this->data = array();
     if (config('DISPLAY_PRIVACY_CONDITIONS') == '1') {
         //load model
         $this->load->model('info_model');
         //get the privacy
         $privacy = $this->info_model->get_article(INFORMATION_PRIVACY_NOTICE, lang_id());
         $this->data['privacy'] = array('title' => $privacy['articles_name'], 'content' => $privacy['articles_description']);
     }
 }
示例#10
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('slide_images_model');
 }
示例#11
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('customers_model');
 }
示例#12
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('product_variants_model');
 }
示例#13
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('zone_groups_model');
 }
示例#14
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('reviews_model');
 }
示例#15
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('manufacturers_model');
 }
示例#16
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('homepage_info_model');
 }
示例#17
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('categories_model');
 }
示例#18
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('directory');
     $this->logo_path = ROOTPATH . 'images/';
 }
示例#19
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('guest_book_model');
 }
示例#20
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->library('image');
 }
示例#21
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     //load model
     $this->load->model('info_model');
 }
示例#22
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('products_expected_model');
 }
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('feature_products_manager_model');
 }
示例#24
0
 /**
  * Constructor
  *
  * @access public
  * @param string
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->library('desktop_setting');
 }
示例#25
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('orders_status_model');
 }
示例#26
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('directory');
     $this->_cache_map = directory_map(ROOTPATH . '/local/cache');
 }
示例#27
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('administrators_model');
 }
示例#28
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('products_model');
     $this->load->library(array('image', 'admin_image'));
 }
示例#29
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
 }
示例#30
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('tax_classes_model');
 }