21 lines
561 B
PHP
21 lines
561 B
PHP
<?php
|
|
class Ajax extends CI_Controller {
|
|
public function __construct() {
|
|
parent::__construct();
|
|
$this->load->library('email');
|
|
$this->load->helper('language');
|
|
}
|
|
public function frm_contact() {
|
|
//$this->load->library('../controllers/forms');
|
|
echo $this->forms_model->contact();
|
|
//echo $this->forms->contact();
|
|
}
|
|
public function frm_newsletter() {
|
|
echo $this->forms_model->newsletter();
|
|
}
|
|
public function frm_order($id) {
|
|
echo $this->forms_model->order($id);
|
|
}
|
|
}
|
|
?>
|