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/sipapbd_2019_sekolah_geser/application/modules/dpa22/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

class Dpa22 extends Rka_Controller {

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

    $this->modul_name = 'dpa22';
    $this->modul_display = 'DPA 2.2';
    $this->view_form = 'dpa22_form';
    $this->view_daftar = 'dpa22_view';
    $this->report_daftar = 'DAFTAR DPA22';
    $this->report_form = 'FORM DPA22';
    $this->load->model('dpa22_model', 'data_model');

    $this->message_dihapus = 'DPA 2.2 telah dihapus.';
    $this->message_gagal_dihapus = 'DPA 2.2 tidak bisa dihapus.';
  }

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

  /* override fungsi rincian dari RKA Controller */
  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'] = $i;
        $response->rows[$i]['cell'][] = $result[$i]['LVL'] == 1 ? $result[$i]['KODE_PROGRAM_SKPD'] : $result[$i]['KODE_KEGIATAN_SKPD'];
        $response->rows[$i]['cell'][] = $result[$i]['LVL'] !== 1 && $result[$i]['LANJUTAN'] == 1 ? 'L' : '';
        $response->rows[$i]['cell'][] = $result[$i]['LVL'] == 1 ? $result[$i]['NAMA_PROGRAM'] : $result[$i]['NAMA_KEGIATAN'];
        $response->rows[$i]['cell'][] = $result[$i]['LOKASI'];
        $response->rows[$i]['cell'][] = $result[$i]['SUMBER_DANA'];
        $response->rows[$i]['cell'][] = $result[$i]['TRIWULAN_1'];
        $response->rows[$i]['cell'][] = $result[$i]['TRIWULAN_2'];
        $response->rows[$i]['cell'][] = $result[$i]['TRIWULAN_3'];
        $response->rows[$i]['cell'][] = $result[$i]['TRIWULAN_4'];
        $response->rows[$i]['cell'][] = $result[$i]['NOMINAL'];
        $response->rows[$i]['cell'][] = $result[$i]['LVL'] == 1 ? 1 : '';
      }
    }

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

}

Youez - 2016 - github.com/yon3zu
LinuXploit