<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_spt"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> var lastsel2; var lastsel; $().ready(function(){ jQuery("#htmlTable").jqGrid( { url:'request.php?mod=pendaftaran&func=list&sender=list-npwp', datatype: 'json', mtype: 'POST', colNames:['id','Nama','NPWPD/RD'], colModel :[ { name:'id' ,index:'id' ,width:20 ,search:false }, {name:'nama',index:'nama',width:250}, { name:'npwp' ,index:'npwp',width:150}, ], pager: jQuery('#htmlPager'), height:150, width:600, rowNum:5, rowList:[10,15,20], shrinkToFit:false,
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pendataan_PajakHotel"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> $().ready(function() { var $tabs = $("#tabs").tabs(); }); var lastsel; jQuery(document).ready(function(){ jQuery("#htmlTable").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=penetapan_PajakHotel', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=penetapan_PajakHotel&oper=edit', datatype: 'json', mtype: 'POST', colNames:['No.','id','Tanggal Entri','NPWPD/NPWRD','Nama WP/WR', 'Alamat','Sistem Pemungutan','Periode Penjualan Awal', 'Periode Penjualan Akhir','Nama Rekening','Dasar Pengenaan','Persen (%)','Pajak'], colModel :[ { name:'no', index:'nomor',width:20 ,search:false },{name:'id',index:'id',width:20,search:false}, {name:'TglEntri',index:'TglEntri',width:80,editable:false,edittype:'text',editoptions: {size:50, maxlength: 50},editrules: {required:true}
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pendaftaran_pribadi"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> /*jQuery('.ui-dialog .ui-widget .ui-widget-content .ui-corner-all .ui-draggable').css({'zIndex':'100'}); jQuery('.ui-dialog').css({'zIndex':'100'}); jQuery('#edithdhtmlTable2').css({'zIndex':'5000'}); jQuery('#editmodhtmlTable2').css({'zIndex':'5000'}); jQuery("#htmlTable2").setGridWidth(400);*/ $().ready(function() { $('#tanggal_kartu').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_terima').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_kirim').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_kembali').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_tutup').datepicker({changeMonth: true, changeYear: true}); var $tabs = $("#tabs").tabs(); }); function getListPemohon(){ gcms_open_form('form.php?mod=pendaftaran&func=pemohon','xx',1200,500); }
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_anggaran"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <script> var navConfig = { strings : {month: "Month",year: "Year",submit: "OK",cancel: "Cancel",invalidYear: "Please enter a valid year"},initialFocus: "year" }; YAHOO.namespace("hendra"); function getResultDate(objCal){ var selDate = objCal.getSelectedDates()[0]; var dStr = (selDate.getDate() > 9) ? selDate.getDate() : "0"+selDate.getDate(); var mStr = ((selDate.getMonth()+1) > 9) ? selDate.getMonth()+1 : "0"+parseInt(selDate.getMonth()+1); var yStr = selDate.getFullYear(); return dStr+"/"+mStr+"/"+yStr; } YAHOO.util.Event.onDOMReady(function(){ var dialog_anggaran, calendar_anggaran; calendar_anggaran = new YAHOO.widget.Calendar("cal_anggaran", {iframe:false,hide_blank_weeks:true,navigator:navConfig,close:false}); function okHandler_anggaran() {
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pendataan_PajakRestoran"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> $().ready(function() { var $tabs = $("#tabs").tabs(); }); var lastsel; jQuery(document).ready(function(){ jQuery("#htmlTable").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=penetapan_PajakRestoran', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=penetapan_PajakRestoran&oper=edit', datatype: 'json', mtype: 'POST', colNames:['id','Tanggal Entri','NPWPD/NPWRD','Nama WP/WR', 'Alamat','Sistem Pemungutan','Periode Penjualan Awal', 'Periode Penjualan Akhir','Nama Rekening','Dasar Pengenaan','Persen (%)','Pajak'], colModel :[{ name:'id' ,index:'id'
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_penetapan_PajakRetribusi"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $qy = "select id,kode_rekening, nama_rekening from rekening_kode where tipe!='' and kelompok!='' and jenis!='' and objek!='' and rincian!='' "; $data = gcms_query($qy); $value = "'':'',"; while ($rs = gcms_fetch_object($data)) { $value .= "'{$rs->kode_rekening} - {$rs->nama_rekening}':'{$rs->kode_rekening} - {$rs->nama_rekening}',"; } ?> <script> $(document).ready( function() { //alert( 'document ready!'); var $tabs = $("#tabs").tabs(); $("a[href=#tab3]").click(function() { $("#htmlTable").trigger("reloadGrid"); }); $("#btn_npwp").click( function() { var statusForm = $("#statusForm").val(); if( statusForm == 'new' ) { setNomor(); }else { //do nothing
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_penetapan_PajakParkir"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $qy = "select id,kode_rekening, nama_rekening from rekening_kode where tipe!='' and kelompok!='' and jenis!='' and objek!='' and rincian!='' "; $data = gcms_query($qy); $value = "'':'',"; while ($rs = gcms_fetch_object($data)) { $value .= "'{$rs->kode_rekening} - {$rs->nama_rekening}':'{$rs->kode_rekening} - {$rs->nama_rekening}',"; } ?> <script> $(document).ready( function() { //alert( 'document ready!'); var $tabs = $("#tabs").tabs(); $("a[href=#tab3]").click(function() { $("#htmlTable").trigger("reloadGrid"); }); $("#btn_npwp").click( function() { var statusForm = $("#statusForm").val(); if( statusForm == 'new' ) { setNomor(); }else {
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; $include = '<script type="text/javascript" src="./extensions/fastreport/fastreport.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> $().ready(function() { var $tabs = $("#tabs").tabs(); }); var lastsel1; jQuery(document).ready(function(){ jQuery("#htmlTable21").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=daftarnpwp2', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=daftarnpwp2&oper=edit', datatype: 'json', mtype: 'POST', colNames:['id','No Kohir','NPWP','Nama', 'Alamat','Tanggal Penetapan','Tanggal Setor', 'Nominal','Jumlah'], colModel :[{name:'id',index:'id',width:20,search:false}, {name:'NoPenetapan',index:'NoPenetapan',width:100,editable:false,edittype:'text',editoptions: {size:50, maxlength: 50}},
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_keterangan_spt"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <div class="leftSide"> <fieldset class="mainForm"> <legend>Keterangan SPT</legend> <label class="leftField"><span>Kode</span><input type="text" name="kode" value="" size="2"/></label> <label class="leftField"><span>Keterangan</span><input type="text" name="Keterangan" value="" size="40"/></label> <label class="leftField"><span>Singkatan</span><input type="text" name="Singkatan" value="" size="30"/></label> <label class="leftField"><span>Jenis Pemungutan</span> <input type="checkbox" name="check1" id="check1" value="Self" />Self Assesment <input type="checkbox" name="check2" id="check2" value="Official" />Official Assesment </label> </fieldset> </div> <script> function func_Baru(){ alert('baru'); } function func_Edit(){ alert('Edit');
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_DataPrinter"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <div class="leftSide"> <fieldset class="mainForm"> <legend>Master Printer</legend> <label class="leftField"><span>Nama Printer*</span><input type="text" name="Nama" value="" size="2"/></label> <label class="leftField"><span>TTY*</span><input type="text" name="TTY" value="" size="40"/></label> <label class="leftField"><span>Alamat Printer*</span><input type="text" name="Alamat" value="" size="30"/></label> <label class="leftField"><span>Keterangan</span><input type="text" name="Ket" value="" size="30"/></label> <label class="leftField"><span>Default Printer*</span> <select name="Default"> <option value="0" selected="selected">Tidak</option> <option value="1">Ya</option> </select> </label> <label class="leftField"><span><font color="#FF0000">*Wajid di isi</font></span> </fieldset> </div> <script> function func_Baru(){ alert('baru');
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_kecamatan"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <div class="leftSide" style="padding-top:20px;"> <div align="center" style="font-size:14px;"><span><b>FORM MASTER KECAMATAN</b></span></div> <fieldset class="mainForm"> <label class="leftField"><span>Kode Kecamatan</span> <input type="text" name="KodeKecamatan" id="KodeKecamatan" style="width:30px;"> </label> <label class="leftField"><span>Nama Kecamatan</span><input type="text" name="NamaKecamatan" id="NamaKecamatan" style="width:200px;"></label> </fieldset> </div> <script> function func_Baru(){ alert('baru'); } function func_Simpan(){ var formObject= document.getElementById("entri_kecamatan"); if(saveEntry(formObject)){
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pajak_air"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $qy = "select id,kode_rekening, nama_rekening from rekening_kode where tipe!='' and kelompok!='' and jenis!='' and objek!='' and rincian!='' "; $data = gcms_query($qy); $value = "'':'',"; while ($rs = gcms_fetch_object($data)) { $value .= "'{$rs->kode_rekening} - {$rs->nama_rekening}':'{$rs->kode_rekening} - {$rs->nama_rekening}',"; } function setNomor() { $no = b_fetch('select max(pendataan_no) from pendataan_spt'); $no++; return sprintf('%05d', $no); } ?> <script> var lastsel,lastsel2,lastsel3,idxform=0; function setNomor(){ ajax_do('<?php echo $expath; ?> setNomor.php'); }
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pendataan_PajakHiburan"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> $().ready(function() { var $tabs = $("#tabs").tabs(); }); var lastsel; jQuery(document).ready(function(){ jQuery("#htmlTable").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=penetapan_PajakHiburan', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=penetapan_PajakHiburan&oper=edit', datatype: 'json', mtype: 'POST', colNames:['id','Tanggal Entri','NPWPD/NPWRD','Nama WP/WR', 'Alamat','Sistem Pemungutan','Periode Penjualan Awal', 'Periode Penjualan Akhir','Dasar Pengenaan'], colModel :[{ name:'id' ,index:'id'
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_penyetoran_pr"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> var lastsel2; var lastsel; var timeoutHnd; var flAuto = false; $().ready(function(){ jQuery("#htmlTable2").jqGrid( { url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=pilih', datatype: 'json', mtype: 'POST', colNames:['id','Kode Rekening','Nama Rekening','Tahun Penerimaan','Nominal'], colModel :[ {name:'id',index:'id',search:false}, {name:'kode_rekening',index:'kode_rekening',width:120}, {name:'nama_rekening',index:'nama_rekening',width:220}, {name:'thn_penerimaan',index:'thn_penerimaan',width:120,align:'center'}, {name:'nominal',index:'nominal',width:220,align:'right',formatter:'currency',formatoptions:{decimalSeparator:".",thousandsSeparator:",",decimalPlaces:2,prefix:"Rp. "}}
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_TeguranWpWr"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> $().ready(function() { var $tabs = $("#tabs").tabs(); }); var lastse3; var timeoutHnd; var flAuto = false; $().ready(function(){ jQuery("#htmlTable3").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=default', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=default&oper=edit', datatype: 'json', mtype: 'POST', colNames:['id','No. Kohir','No. NPWPD/RW','Nama NPWPD/RW','Tanggal Penetapan','Tanggal Jatuh Tempo','Nominal'],
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_penetapan_pr"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> var lastsel2; var lastsel; var timeoutHnd; var flAuto = false; $().ready(function(){ jQuery("#htmlTable3").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=default', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=default&oper=edit', datatype: 'json', mtype: 'POST', colNames:['id','No.Pendataan','Tgl. Pendataan','No. NPWPD/RW','Nama NPWPD/RW','Jenis Pendataan','Jenis Pungutan','Jenis Pendaftaran','No. SPT','Tgl. SPT','Nominal'], colModel :[ {name:'id',index:'id',width:20,search:false}, {name:'pendataan_no',index:'pendataan_no',width:80,editable:true},
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pendataan_listrik"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> var lastsel,lastsel2,lastsel3; $().ready(function(){ jQuery("#htmlTable").jqGrid( { url:'request.php?mod=pendaftaran&func=list&sender=list-npwp', datatype: 'json', mtype: 'POST', colNames:['id','Nama','NPWPD/RD'], colModel :[ { name:'id' ,index:'id' ,width:20 ,search:false }, {name:'nama',index:'nama',width:250}, { name:'npwp' ,index:'npwp',width:150}, ], pager: jQuery('#htmlPager'), height:150, width:600, rowNum:5, rowList:[10,15,20], rownumbers: true,
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_reklame"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $qy = "select id,kode_rekening, nama_rekening from rekening_kode where tipe!='' and kelompok!='' and jenis!='' and objek!='' and rincian!='' "; $data = gcms_query($qy); $value = "'':'',"; while ($rs = gcms_fetch_object($data)) { $value .= "'{$rs->kode_rekening} - {$rs->nama_rekening}':'{$rs->kode_rekening} - {$rs->nama_rekening}',"; } function setNomor() { $no = b_fetch('select max(pendataan_no) from pendataan_spt'); $no++; return sprintf('%05d', $no); } ?> <script> var lastsel,lastsel2,lastsel3,idxform=0; function setNomor(){ ajax_do('<?php echo $expath; ?> setNomor.php'); }
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pendaftaran_bu"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $page = b_fetch("select nid from g_frontmenus where cfunction='m_pendaftaran_badan' "); ?> <script> $().ready(function() { $('#tanggal_kartu').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_terima').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_kirim').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_kembali').datepicker({changeMonth: true, changeYear: true}); $('#tanggal_tutup').datepicker({changeMonth: true, changeYear: true}); var $tabs = $("#tabs").tabs(); }); function setNomor(){ var action = document.getElementById('caction').value; var old_val = document.getElementById('nomor').value; var typ = document.getElementById('jenis_pendaftaran').value; var kd = document.getElementById('kode_usaha').value; var obj = document.getElementById('objek_pdrd').value; ajax_do('<?php echo $expath; ?>
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_DetailHotel"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); ?> <script> var lastsel; jQuery(document).ready(function(){ jQuery("#htmlTable").jqGrid({ url:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=DetailHotel', editurl:'request.php?page=<?php echo $_REQUEST['page']; ?> &sender=DetailHotel&oper=edit', datatype: 'json', mtype: 'POST', colNames:['id','','Nama Kamar','Jumlah Kamar','Tarif Kamar'], colModel :[{ name:'id' ,index:'id' ,width:20 ,search:false },{
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_kelurahan"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <div class="leftSide" style="padding-top:20px;"> <div align="center" style="font-size:14px;"><span><b>FORM MASTER KELURAHAN</b></span></div> <fieldset class="mainForm"> <fieldset> <legend>Detail Kelurahan</legend> <label class="leftField"><span>Kode Kecamatan</span> <select name="kecamatan" id="kecamatan"> <option value="" selected="selected">--</option> <?php for ($i = 0; $i < 3; $i++) { ?> <option value="kecamatan<?php echo $i; ?> " selected="selected">kecamatan<?php echo $i; ?> </option>
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_Pemda"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <div class="leftSide"> <fieldset class="mainForm"> <label class="leftField"><span>Kode Lokasi</span><input type="text" name="kodeLokasi" value="" size="2" maxlength="2" /></label> <label class="leftField"><span>Kabupaten/Kota</span> <select name="kabKota"> <option value="Kabupaten">Kabupaten</option> <option value="Kota">Kota</option> </select> </label> <label class="leftField"><span>Pejabat Kab/Kota</span> <select name="pejabat"> <option value="Bupati">Bupati</option> <option value="Wali Kota">Wali Kota</option> </select> </label> <label class="leftField"><span>Alamat Kantor</span><textarea name="alamat" col="4" row="3"></textarea></label> <label class="leftField"><span>Nama Kabupaten/Kota</span><input type="text" name="namaKab" value="" size="10" maxlength="20" /></label> <label class="leftField"><span>Ibukota Kab/Kota</span><input type="text" name="ibukotaKab" value="" size="10" maxlength="20" /></label> <label class="leftField"><span>Nomor Telp.Kantor</span><input type="text" name="telp" value="" size="10" maxlength="20" /></label>
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_penetapan_PajakWalet"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $qy = "select id,kode_rekening, nama_rekening from rekening_kode where tipe!='' and kelompok!='' and jenis!='' and objek!='' and rincian!='' "; $data = gcms_query($qy); $value = "'':'',"; while ($rs = gcms_fetch_object($data)) { $value .= "'{$rs->kode_rekening} - {$rs->nama_rekening}':'{$rs->kode_rekening} - {$rs->nama_rekening}',"; } ?> <script> $(document).ready( function() { //alert( 'document ready!'); var $tabs = $("#tabs").tabs(); $("a[href=#tab3]").click(function() { $("#htmlTable").trigger("reloadGrid"); }); $("#btn_npwp").click( function() { var statusForm = $("#statusForm").val(); if( statusForm == 'new' ) { setNomor(); }else {
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_pajak_golc"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; gcms_add_to_head($include); $qy = "select id,kode_rekening, nama_rekening from rekening_kode where tipe!='' and kelompok!='' and jenis!='' and objek!='' and rincian!='' "; $data = gcms_query($qy); $value = "'':'',"; while ($rs = gcms_fetch_object($data)) { $value .= "'{$rs->kode_rekening} - {$rs->nama_rekening}':'{$rs->kode_rekening} - {$rs->nama_rekening}',"; } function setNomor() { $no = b_fetch('select max(pendataan_no) from pendataan_spt'); $no++; return sprintf('%05d', $no); } ?> <script> var lastsel,lastsel2,lastsel3,idxform=0; function setNomor(){ ajax_do('<?php echo $expath; ?> setNomor.php'); }
<?php $expath = "." . str_replace("\\", "/", str_replace(realpath("."), "", dirname(__FILE__))) . "/"; include "entri.php"; yuiBeginEntry("entri_penerimaan_pr"); $include = '<script type="text/javascript" src="lib.js"></script>' . "\n"; $kabupaten = b_fetch('select pemda_kabupaten from info_pemda'); gcms_add_to_head($include); ?> <script> var lastsel,lastsel2,lastsel3; var timeoutHnd; var flAuto = false; $().ready(function(){ jQuery("#htmlTable").jqGrid( { url:'request.php?mod=penetapan_pr&func=list&sender=pilih_kohir', datatype: 'json', mtype: 'POST', colNames:['id','No. Kohir','Tgl. Penetapan','Tgl. Jatuh Tempo','Nominal Penetapan'], colModel :[ { name:'id' ,index:'id',search:false}, { name:'kohir',index:'kohir',width:80}, { name:'tgl' ,index:'tgl',width:120,align:'center',formatter:'date', sorttype:"date"}, { name:'setor' ,index:'setor',width:120,align:'center',formatter:'date', sorttype:"date"}, { name:'nominal' ,index:'nominal',width:150,align:'right',formatter:'currency',formatoptions:{decimalSeparator:".",thousandsSeparator:",",decimalPlaces:2}}, ], pager: jQuery('#htmlPager'), height:150,
<?php include "./entri.php"; include "./daftar.php"; includeYUIDatatable(); include './config.php'; //navigatorMenus(); yuiBeginEntry("entri_SatuanKerja"); ?> <script type="text/javascript" src="./lib.js"></script> <script type="text/javascript" src="./ajaxdo.js"></script> <script type="text/javascript" src="jquery.validate.js"></script> <div class="leftSide"> <table border="1" bordercolor="#333333" cellspacing="1"> <tr> <td> <div align="center"><b>MASTER SATUAN KERJA</b></div> <fieldset class="mainForm"> <label class="leftField"><span>Bidang</span> <select name="Bidang" id="Bidang"> <option value="" selected="selected">---</option> <?php for ($i = 0; $i < 3; $i++) { ?> <option value="" selected="selected">Tes Bidang<?php echo $i; ?> </option> <?php