26 lines
550 B
PHP
Executable File
26 lines
550 B
PHP
Executable File
<?php
|
|
if (!defined('BASEPATH'))
|
|
exit('No direct script access allowed');
|
|
|
|
class Terms_conditions_model extends CI_model {
|
|
|
|
function __construct() {
|
|
parent::__construct();
|
|
$this->load->database();
|
|
}
|
|
function getTermsConditions()
|
|
{
|
|
$this->db->where('id','14');
|
|
$data=$this->db->get('website_content')->row();
|
|
return $data;
|
|
}
|
|
function getContactInfo()
|
|
{
|
|
$this->db->where('id','1');
|
|
$data=$this->db->get('website_settings')->row();
|
|
return $data;
|
|
}
|
|
}
|
|
|
|
?>
|