eastside/application/controllers/ajax.php
Linus Miller cd141ef6fa Initial commit.
Former-commit-id: d2e17d67fe98124db4e87b10597af9d54d14d0de
2013-12-07 17:43:26 +01:00

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);
}
}
?>