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/simbada_2019_audited/application/modules/pengadaan__/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

class Pengadaan extends HPengadaan_Controller{
  public function __construct()
  {
    parent::__construct();
    $this->modul_name = 'pengadaan';
    $this->modul_display = 'Pengadaan';
    $this->view_daftar = 'pengadaan_view';		
    $this->view_form = 'pengadaan_form';
		$this->report_daftar = 'Daftar Pengadaan';
		$this->report_form = 'Form Pengadaan';
    $this->load->model('pengadaan_model', 'data_model');
		
		$this->message_aktivitas_dihapus = 'Data berhasil dihapus';
    $this->message_aktivitas_gagal_dihapus = 'Data gagal dihapus';
  }
  
  protected function validasi_form()
  {
    return TRUE;
  }

  public function _cek_duplikasi()
  {
    //
  }
	
	public function rinci_maba($id=0)
  {
    $result = $this->data_model->get_rinci_maba_by_id($id);

    $response = (object) NULL;
    if ($result){
      for($i=0; $i<count($result); $i++)
      {
        $response->rows[$i]['id'] = $result[$i]['XID'];
        $response->rows[$i]['cell']=array(                       
                        $result[$i]['XID'],
												$result[$i]['AF_ID_MABA'],
                        $result[$i]['AS_KD_MABA'],
                        $result[$i]['AF_NM_MABA'],												
												$result[$i]['AF_NM_INV'],
												$result[$i]['AF_ID_SATUAN'],
												$result[$i]['AF_NM_SATUAN'],
												$result[$i]['AF_SATUAN'],
												$result[$i]['AF_UNIT'],
												$result[$i]['AF_HARGA'],
												$result[$i]['AF_ATRIBUSI'],
												$result[$i]['AF_JML'],												
												$result[$i]['AF_PAJAK'],
												$result[$i]['AF_NILAI'],
												$result[$i]['A_ALAMAT'],												
												$result[$i]['A_KEC'],
												$result[$i]['A_KEL'],
												$result[$i]['A_LUAS_TANAH'],
												$result[$i]['B_MEREK'],
												$result[$i]['B_TIPE'],
												$result[$i]['C_ALAMAT'],
												$result[$i]['C_JNS_BANGUNAN'],
                        $result[$i]['C_KONSTRUKSI'],
                        $result[$i]['C_LUAS_GED'],												
												$result[$i]['C_LUAS_LANTAI'],
												$result[$i]['C_LUAS_TANAH'],
												$result[$i]['C_JML_LANTAI'],
												$result[$i]['C_BETON'],
												$result[$i]['D_KONSTRUKSI'],
												$result[$i]['D_LOKASI'],
												$result[$i]['D_PANJANG'],
												$result[$i]['D_LEBAR'],												
												$result[$i]['D_LUAS'],
												$result[$i]['E_JDL_BUKU'],
												$result[$i]['E_PENGARANG'],												
												$result[$i]['E_PENERBIT'],
												$result[$i]['E_NAMA'],
												$result[$i]['E_UKURAN'],
												$result[$i]['E_BAHAN'],
												$result[$i]['E_DAERAH_ASAL'],
												$result[$i]['E_PENCIPTA'],
												$result[$i]['F_JNS_BANGUNAN'],
                        $result[$i]['F_LUAS_GED'],
                        $result[$i]['F_KONSTRUKSI'],												
												$result[$i]['F_BETON'],
												$result[$i]['F_JML_LANTAI'],
												$result[$i]['F_PROGRES'],
												$result[$i]['AF_ID_KEGIATAN'],
												$result[$i]['AF_NM_KEGIATAN']
				);
      }
    }
    echo json_encode($response);
  }
	
	public function rinci_pemeriksa($id=0)
  {
    $result = $this->data_model->get_rinci_pemeriksa_by_id($id);

    $response = (object) NULL;
    if ($result){
      for($i=0; $i<count($result); $i++)
      {
        $response->rows[$i]['id'] = $result[$i]['ID_PEJABAT'];
        $response->rows[$i]['cell']=array(
                        $result[$i]['ID_PEJABAT'],
                        $result[$i]['JABATAN'],
												$result[$i]['JABATAN'],
                        $result[$i]['NAMA_PEJABAT'],
                        $result[$i]['NIP']
                    );
      }
    }
    echo json_encode($response);
  }
	
	public function rinci_pejabat($id=0)
  {
    $result = $this->data_model->get_rinci_pejabat_by_id($id);

    $response = (object) NULL;
    if ($result){
      for($i=0; $i<count($result); $i++)
      {
        $response->rows[$i]['id'] = $result[$i]['ID_PEJABAT'];
        $response->rows[$i]['cell']=array(
                        $result[$i]['ID_PEJABAT'],
                        $result[$i]['NAMA_PEJABAT'],
												$result[$i]['NIP'],
                        $result[$i]['NO_SK'],
                        $result[$i]['TGL_SK']
                    );
      }
    }
    echo json_encode($response);
  }
	
	function get_satuan()
  {
    $q = $this->input->post('q');

    $req_param = array("q" => $q);
    
    $result = $this->data_model->get_satuan($req_param);
    $response = (object) NULL;
    $response->results = array();
    if ($result){
      for($i=0; $i<count($result); $i++){
        $response->results[] = array(
          'id' => $result[$i]['ID_KIB'],
          'kode' => $result[$i]['ID_KIB'],
          'text' => $result[$i]['NAMA_KIB'],
        );
      }
    }
    $response->sql = $this->db->queries;
    echo json_encode($response);
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit