policybot/application/controllers/Dashboard.php
2021-11-30 16:26:55 +05:30

32 lines
553 B
PHP

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('Dashboard_model');
}
function get_dashboard_detail_content()
{
$id=$_POST["id"];
if($id=="1")
{
$quo_det=$this->Dashboard_model->get_quotes_details();
}
if($id=="2")
{
$quo_det=$this->Dashboard_model->get_request_details();
}
if($id=="3")
{
$quo_det=$this->Dashboard_model->get_response_details();
}
}
}
?>