ok
Direktori : /home2/selectio/www/geniusgroove.in/crm/application/controllers/user/ |
Current File : /home2/selectio/www/geniusgroove.in/crm/application/controllers/user/Route.php |
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } class Route extends Student_Controller { public function __construct() { parent::__construct(); $this->load->model('pickuppoint_model'); } public function index() { $this->session->set_userdata('top_menu', 'Transport'); $this->session->set_userdata('sub_menu', 'route/index'); $student_id = $this->customlib->getStudentSessionUserID(); $studentList = $this->student_model->get($student_id); $studentList['pickup_point'] = $this->pickuppoint_model->getPickupPointByRouteID($studentList['route_id']); $data['listroute'] = $studentList; $this->load->view('layout/student/header'); $this->load->view('user/route/index', $data); $this->load->view('layout/student/footer'); } public function getbusdetail() { $vehrouteid = $this->input->post('vehrouteid'); $result = $this->vehroute_model->getVechileDetailByVecRouteID($vehrouteid); echo json_encode($result); } }