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_2016/application/modules/rekening/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /wamp/www/sipkd_2016/application/modules/rekening/views/rekening_jurnal.php
<fieldset>
  <legend><?php echo $breadcrumbs;?></legend>
</fieldset>

<div id="grid_container">
  <div id="search" class="row">
  </div>
  <table id="grid"></table>
  <div id="pager"></div>
</div>

<script>
var grid = $('#grid');
$(document).ready(function() {
  params = {
    container : $('#search'),
    grid : grid,
    cols : <?php echo json_encode($grid['fields']); ?>,
  }
  Search.init(params);

  grid.jqGrid({
      url:'<?php echo base_url().$modul?>/get_daftar_rek_jurnal/<?php echo $idrek?>',
      datatype:'json',
      mtype:'POST',
      colNames:['', 'Tanggal', 'Tipe', 'Nomor', 'Kode SKPD', 'Nama SKPD', 'Nama Kegiatan', 'Kode Rekening', 'Nama Rekening', 'Debet', 'Kredit', 'Realisasi'],
      colModel:[
        {name:'id', hidden:true},
        {name:'tgl', width:75, sortable:false},
        {name:'tipe', width:100, sortable:false},
        {name:'no', width:150, sortable:false},
        {name:'kdskpd', width:80, sortable:false},
        {name:'nmskpd', width:200, sortable:false},
        {name:'nmkeg', width:200, sortable:false},
        {name:'kdrek', width:80, sortable:false},
        {name:'nmrek', width:150, sortable:false},
        {name:'debet', width:150, sortable:false, formatter:'currency', align:"right"},
        {name:'kredit', width:150, sortable:false, formatter:'currency', align:"right"},
        {name:'nom', width:150, sortable:false, formatter:'currency', align:"right"},
      ],
      pager:'#pager',
      rowNum:1000,
      scroll:1,
      rownumbers:true,
      viewrecords:true,
      gridview:true,
      shrinkToFit:false,
      autowidth:true,
      height:'400',
      recordtext:'{2} baris',
      sortname: 'kdskpd',
      footerrow:true,
      userDataOnFooter:true,
      ondblClickRow:open_document,
  });

  grid.jqGrid('navGrid', '#pager', {
      add:false,
      edit:true,
      edittext: 'Dokumen Sumber',
      editfunc:open_document,
      del: false,
      search:false,
      refresh:true,
      refreshtext:'Refresh',
  },{},{},{},{});

  grid.jqGrid().navSeparatorAdd('#pager')
    .navButtonAdd('#pager',{
      caption:'Cetak',
      onClickButton: function(){ preview({"tipe":"daftar", "id":'<?php echo $idrek?>'}, grid)},
      title:'Cetak Daftar',
      buttonicon:'ui-icon-print',
      position:'last'
    });

  function open_document(id){
    var grd = $('#grid').jqGrid('getRowData', id);
    oid = grd.id;
    $.ajax({
      type: "post",
      dataType: "json",
      url: root+modul+'/open/'+oid,
      success: function(data) {
        if (true == data.isSuccessful){
          location.href = root+data.url;
        }
        else{
          show_info(data.message);
        }
      },
    });
  }

});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit