Example #1
0
 function Smtp_ceo()
 {
     parent::EC_Controller();
     $this->load->model('model_smtp_ceo');
     $this->model_smtp_ceo = new Model_smtp_ceo();
     $this->load->model('model_issn');
     $this->model_issn = new Model_issn();
 }
Example #2
0
 function ajax()
 {
     parent::EC_Controller();
     $this->load->plugin('bill_uri');
     $this->load->model('model_mailto_data');
     $this->model_mailto_data = new Model_mailto_data();
     //X-Requested-With	XMLHttpRequest
 }
Example #3
0
 function Brochure()
 {
     parent::EC_Controller();
     $this->load->model('model_cate');
     $this->model_cate = new Model_cate();
     $this->load->model('model_issn');
     $this->model_issn = new Model_issn();
     //error_reporting(E_ALL);
 }
Example #4
0
 function Customers()
 {
     parent::EC_Controller();
     $this->load->model('model_customers_cate');
     $this->model_customers_cate = new Model_customers_cate();
     $this->load->model('model_customers');
     $this->model_customers = new Model_customers();
     //error_reporting(E_ALL);
 }
Example #5
0
 function Welcome()
 {
     parent::EC_Controller();
     $this->config->load('skin');
     $this->current_skin = $this->config->item('admin_skin');
     $this->load->model('model_issn');
     $this->model_issn = new Model_issn();
     $this->lang->load('chinese');
     $this->load->helper('url');
 }
Example #6
0
 function Mailer()
 {
     parent::EC_Controller();
     $this->lang->load('chinese');
     $this->load->helper('url');
     $this->load->plugin('sms');
     $this->load->config('mailer');
     $this->load->model('model_mailto_data');
     $this->model_mailto_data = new Model_mailto_data();
     $this->model_mailto_data->load_mailer();
     $this->load->model('model_issn');
     $this->model_issn = new Model_issn();
     if ($this->config->item('smtp') === true) {
         $this->model_mailto_data->smtp_mail();
     } else {
         $this->model_mailto_data->mx_mail();
     }
     set_time_limit(0);
 }
Example #7
0
 function Template()
 {
     parent::EC_Controller();
     $this->load->model('model_issn');
     $this->model_issn = new Model_issn();
 }