Files
simak/info_pbj.php
2025-10-10 09:25:05 +07:00

553 lines
24 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
<meta name="author" content="Coderthemes">
<!-- App favicon -->
<link rel="shortcut icon" href="assets/images/logo_rssa.png">
<!-- App title -->
<title>KIOS RSSA</title>
<!-- App css -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/css/core.css" rel="stylesheet" type="text/css" />
<link href="assets/css/components.css" rel="stylesheet" type="text/css" />
<link href="assets/css/icons.css" rel="stylesheet" type="text/css" />
<link href="assets/css/pages.css" rel="stylesheet" type="text/css" />
<link href="assets/css/menu.css" rel="stylesheet" type="text/css" />
<link href="assets/css/responsive.css" rel="stylesheet" type="text/css" />
<link href="assets/css/keyboard.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../plugins/switchery/switchery.min.css">
<!-- DataTables -->
<link href="plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/buttons.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/fixedHeader.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/responsive.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/scroller.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/dataTables.colVis.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/datatables/fixedColumns.dataTables.min.css" rel="stylesheet" type="text/css"/>
<!-- HTML5 Shiv and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<!--<link href="plugins/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" />-->
<link href="assets/css/select2.css" rel="stylesheet" />
<script src="assets/js/modernizr.min.js"></script>
<script src="assets/js/mediaelement.js"></script>
<script src="assets/js/jquery.keyboard.js "></script>
</head>
<body class="fixed-left" style="background-image: linear-gradient( 109.6deg, rgba(255,179,189,1) 1.8%, rgba(254,248,154,1) 50.6%, rgba(161,224,186,1) 100.3% );">
<style type="text/css">
.btn-circle.btn-md {
width: 40px;
height: 40px;
padding: 7px 10px;
border-radius: 25px;
font-size: 15px;
text-align: center;
border: 3px solid #66b5fb;
}
#sidebar-menu ul li a:hover {
background:#f1f3f4 !important;
font-color:white;
}
#sidebar-menu ul li a:focus {
background:#fce8e6 !important;
color:#d93025 !important;
font-weight: bold;
}
.no-border{
border:none;
}
.popover {background-color: black;}
.popover.top .arrow::after {border-top-color: black; }
.popover-content {background-color: black;color:white;font-size: 14px;text-align: center;}
</style>
<style type="text/css">
table.dataTable tbody tr td{
border-bottom: 1px solid transparent;
}
table.dataTable tbody tr:hover td {
border-top: #aaaaaa 1px solid;
border-bottom: #aaaaaa 3px solid;
}
table.dataTable tbody tr:hover .kiri {
border-left: #aaaaaa 1px solid;
}
table.dataTable tbody tr:hover .kanan {
border-right: #aaaaaa 1px solid;
}
thead {
color:black;text-transform:uppercase;
}
@font-face {
font-family: "GSans";
src: url('assets/fonts/GoogleSans-Medium.ttf');
}
@font-face {
font-family: "GSansReg";
src: url('assets/fonts/googlesans-regular-webfont.woff') format('woff');
}
@font-face {
font-family: "OSansReg";
src: url('assets/fonts/opensans-regular-webfont.woff') format('woff');
}
@font-face {
font-family: "RubReg";
src: url('assets/fonts/rubik-regular-webfont.woff') format('woff');
}
@font-face {
font-family: "Inter";
src: url('assets/fonts/Inter-Regular.woff') format('woff');
}
@font-face {
font-family: "InterSB";
src: url('assets/fonts/Inter-SemiBold.woff') format('woff');
}
@font-face {
font-family: "RubMed";
src: url('assets/fonts/Rubik-Medium.woff') format('woff');
}
@font-face {
font-family: "RubSB";
src: url('assets/fonts/Rubik-SemiBold.woff') format('woff');
}
h4 {
font-family: "GSans";
}
.tbl_kios {
font-family: "OSansReg";
}
.judul_page {
font-family: "GSans";
font-size:30px;
color:#cccccc;
}
.judul_page_p {
font-family: "GSans";
font-size:20px;
color:black;
}
.awalan {
font-family: "GSans";
font-size:40px;
color:#cccccc;
display: flex;
align-items: center;
justify-content: center;
vertical-align: middle;
}
.golek {
border-style: solid;
border-color: #FFFFFF;
border-width:4px;
border-radius: 14px 14px 14px 14px;
}
.modal-backdrop {
visibility: hidden !important;
}
.modal.in {
background-color: rgba(0,0,0,0.5);
}
label {
font-family:'InterSB';font-weight: normal;color:black;
}
.tabmenu {
font-family:'InterSB';font-weight: normal;
}
/* webkit-font-smoothing: antialiased; */
</style>
<!-- Begin page -->
<div id="wrapper">
<!-- Top Bar Start -->
<div class="topbar">
<div class="navbar-custom" style="background: rgba(145,232,66,1);
background: -moz-linear-gradient(left, rgba(145,232,66,1) 0%, rgba(210,255,82,1) 22%, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 59%, rgba(210,255,82,1) 79%, rgba(145,232,66,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(145,232,66,1)), color-stop(22%, rgba(210,255,82,1)), color-stop(43%, rgba(255,255,255,1)), color-stop(59%, rgba(255,255,255,1)), color-stop(79%, rgba(210,255,82,1)), color-stop(100%, rgba(145,232,66,1)));
background: -webkit-linear-gradient(left, rgba(145,232,66,1) 0%, rgba(210,255,82,1) 22%, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 59%, rgba(210,255,82,1) 79%, rgba(145,232,66,1) 100%);
background: -o-linear-gradient(left, rgba(145,232,66,1) 0%, rgba(210,255,82,1) 22%, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 59%, rgba(210,255,82,1) 79%, rgba(145,232,66,1) 100%);
background: -ms-linear-gradient(left, rgba(145,232,66,1) 0%, rgba(210,255,82,1) 22%, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 59%, rgba(210,255,82,1) 79%, rgba(145,232,66,1) 100%);
background: linear-gradient(to right, rgba(145,232,66,1) 0%, rgba(210,255,82,1) 22%, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 59%, rgba(210,255,82,1) 79%, rgba(145,232,66,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#91e842', endColorstr='#91e842', GradientType=1 );">
<div class="container">
<div class="row">
<div class="col-lg-12"><center><img style="padding:5px 5px 5px 5px"src="assets/images/logo-rssa-black-3.png"></center>
</div>
</div>
</div> <!-- end container -->
</div> <!-- end navbar-custom -->
<!--
<input type="hidden" id="cek_nampeg" value="<?php echo $_GET['nampeg']; ?>">
<?php if ($_GET['jenis']=='Pejabat') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<input type="hidden" id="pjb_id" value="<?php echo $_GET['pjb_id']; ?>">
<?php } else if ($_GET['jenis']=='PPKom') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<input type="hidden" id="ppkom_id" value="<?php echo $_GET['ppkom_id']; ?>">
<?php } else if ($_GET['jenis']=='Adminers') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<input type="hidden" id="user_id" value="<?php echo $_GET['user_id']; ?>">
<?php } else if ($_GET['jenis']=='Admin Utama') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<?php } else if ($_GET['jenis']=='PPTK') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<input type="hidden" id="pptk_id" value="<?php echo $_GET['pptk_id']; ?>">
<?php } else if ($_GET['jenis']=='Kepala Instalasi') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<?php } else if ($_GET['jenis']=='PPHP') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<?php } else if ($_GET['jenis']=='Farmasi') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<?php } else if ($_GET['jenis']=='KPA') { ?>
<input type="hidden" id="cek_nama" value="<?php echo $_GET['nama']; ?>">
<input type="hidden" id="cek_jenis" value="<?php echo $_GET['jenis']; ?>">
<input type="hidden" id="cek_username" value="<?php echo $_GET['username']; ?>">
<input type="hidden" id="cek_password" value="<?php echo $_GET['password']; ?>">
<?php }
?>
-->
<input type="hidden" id="rekanan_id">
<!-- LOGO -->
<!-- <div class="topbar-left" id="compose"><i class="fa fa-home fa-md" ></i>&nbsp;
<button type="button" class="btn btn-inverse"><i class="fa fa-arrow-left"></i></button>-->
<!--<a href="#" class="logo" style="font-size:16px" id="beranda" style="color:#747474"><i class="fa fa-arrow-left"></i><span>BERANDA</span></a>-->
<!-- Image logo -->
<!--<a href="index.html" class="logo">-->
<!--<span>-->
<!--<img src="assets/images/logo.png" alt="" height="30">-->
<!--</span>-->
<!--<i>-->
<!--<img src="assets/images/logo_sm.png" alt="" height="28">-->
<!--</i>-->
<!--</a>-->
<!--</div>-->
<!-- Button mobile view to collapse sidebar menu -->
<div class="navbar navbar-default" role="navigation">
<div class="container">
<!-- Navbar-left -->
<ul class="nav navbar-nav navbar-left">
<li>
<button class="button-menu-mobile">
<i class="mdi mdi-menu"></i>
</button>
</li>
<!-- <li class="hidden-xs">
<form role="search" class="app-search">
<select class="form-control" style="font-size:14px;width:150px;color:#747474" id="thn_dpa">
<?php
include('app/koneksi.php');
$thn_skrg=date('Y');
$c=pg_query("SELECT MAX(CAST(thn AS INTEGER)) FROM sub_kegiatan");
while($s=pg_fetch_array($c)) {$maxthn=$s[0];}
if ($thn_skrg==$maxthn) {} else {?> <option value="<?php $thn_skrg;?>"><?php echo $thn_skrg;?></option> <?php }
$d=pg_query("SELECT DISTINCT CAST(thn AS INTEGER) FROM sub_kegiatan ORDER BY CAST(thn AS INTEGER) DESC");
while($r=pg_fetch_array($d)) {
?>
<option <?php if ($thn_skrg==$r[0]) {echo "selected";} else {}?> value="<?php echo $r[0];?>"><?php echo $r[0];?></option>
<?php
}
?>
</select>
</form>
</li>-->
<li class="hidden-xs" >
<form role="search" class="app-search" >
<input type="text" style="font-size:14px;width:800px" id="nm_rekanan" class="form-control" disabled>
<a href="javascript:void(0)"><i class="fa fa-building "></i></a>
</form>
</li>
</ul>
<!-- Right(Notification) -->
<ul class="nav navbar-nav navbar-right">
<!--<li class="dropdown user-box">
<a href="javascript:void(0)" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="riwayat"
data-content="Data" rel="popover" data-placement="top" data-trigger="hover">
<i class="mdi mdi-cart"></i>
<span class="badge up badge-danger badge-pill" id="jml_belanja"></span>
</a>
</li>-->
<li class="dropdown user-box">
<a href="javascript:void(0)" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="home"
data-content="Data" rel="popover" data-placement="top" data-trigger="hover">
<i class="mdi mdi-home"></i>
</a>
</li>
</ul><!-- end navbar-right -->
</div><!-- end container -->
</div><!-- end navbar -->
</div>
<!-- Top Bar End -->
<!-- ============================================================== -->
<!-- Start right Content here -->
<!-- ============================================================== -->
<!--
<div class="content-page">
<div class="content">
<div class="container" id="main_tag"></div>
</div>
<footer class="main-footer navbar-fixed-bottom" style="background-color:#36404e;color:white;px;padding:10px;" align="center">
&copy; 2021 dynandsoftware
</footer>
</div>
-->
<div class="wrapper" ><br><br><br><br><br><br><br><br>
<div class="container">
<div class="row">
<div class="col-lg-2"></div>
<div class="col-lg-8">
<form>
<div class="input-group my-group golek">
<select id="c1" name="c1" class="selectpicker form-control" style="width:25%;background-color:#f3f3f3;border-radius: 10px 0px 0px 10px;border-width:0px;">
<option value="Pekerjaan">Belanja</option>
<option value="Nama Rekanan">Nama penyedia</option>
</select>
<input type="text" class="form-control" style="width:75%; display:block;border-radius: 0px;border-width:0px" name="pt1" id="pt1" Placeholder="Pencarian.." onkeydown="tekan1(event)">
<span class="input-group-btn">
<button type="button" id="b1" name="b1" class="btn btn-danger" style="border-radius: 0px 10px 10px 0px;width:100px"><i class="fa fa-search"></i></button>
</span>
</div>
</form>
</div>
<div class="col-lg-2"></div>
</div>
<br>
<div class="container" id="main_tag" style="margin-top:-75px"></div>
<footer class="main-footer navbar-fixed-bottom" style="background-color:#36404e;color:#BBC4C2;px;padding:10px;" align="center">
&copy; 2022 dynandsoftware
</footer>
</div>
</div>
<div id="modal_riwayat_belanja" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-full">
<div class="modal-content">
<div class="modal-header no-border">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Pencarian data belanja</h4>
</div>
<div class="modal-body" id="modal_body_riwayat_belanja"></div>
</div>
</div>
</div>
<div id="modal_track" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header no-border">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Tracking</h4>
</div>
<div class="modal-body" id="modal_body_track"></div>
</div>
</div>
</div>
<div id="modal_kelengkapan" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-full">
<div class="modal-content">
<div class="modal-header no-border">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Kelengkapan Verifikasi</h4>
</div>
<div class="modal-body" id="modal_body_kelengkapan"></div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Right content here -->
<!-- ============================================================== -->
<script>
var resizefunc = [];
</script>
<!-- jQuery -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/detect.js"></script>
<script src="assets/js/fastclick.js"></script>
<script src="assets/js/jquery.blockUI.js"></script>
<script src="assets/js/waves.js"></script>
<script src="assets/js/jquery.slimscroll.js"></script>
<script src="assets/js/jquery.scrollTo.min.js"></script>
<script src="plugins/switchery/switchery.min.js"></script>
<!-- Counter js -->
<script src="plugins/waypoints/jquery.waypoints.min.js"></script>
<script src="plugins/counterup/jquery.counterup.min.js"></script>
<!--Morris Chart-->
<script src="plugins/morris/morris.min.js"></script>
<script src="plugins/raphael/raphael-min.js"></script>
<!-- Dashboard init -->
<script src="assets/pages/jquery.dashboard.js"></script>
<!-- App js -->
<script src="assets/js/jquery.core.js"></script>
<script src="assets/js/jquery.app.js"></script>
<script src="plugins/datatables/jquery.dataTables.min.js"></script>
<script src="plugins/datatables/dataTables.bootstrap.js"></script>
<script src="plugins/datatables/dataTables.buttons.min.js"></script>
<script src="plugins/datatables/buttons.bootstrap.min.js"></script>
<script src="plugins/datatables/jszip.min.js"></script>
<script src="plugins/datatables/pdfmake.min.js"></script>
<script src="plugins/datatables/vfs_fonts.js"></script>
<script src="plugins/datatables/buttons.html5.min.js"></script>
<script src="plugins/datatables/buttons.print.min.js"></script>
<script src="plugins/datatables/dataTables.fixedHeader.min.js"></script>
<script src="plugins/datatables/dataTables.keyTable.min.js"></script>
<script src="plugins/datatables/dataTables.responsive.min.js"></script>
<script src="plugins/datatables/responsive.bootstrap.min.js"></script>
<script src="plugins/datatables/dataTables.scroller.min.js"></script>
<script src="plugins/datatables/dataTables.colVis.js"></script>
<script src="plugins/datatables/dataTables.fixedColumns.min.js"></script>
<script src="plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
<!-- init -->
<script src="assets/pages/jquery.datatables.init.js"></script>
<script src="assets/pages/jquery.form-pickers.init.js"></script>
<!-- Chart -->
<script src="plugins/highcharts/highcharts.js"></script>
<script src="plugins/highcharts/jquery.highchartTable.js"></script>
<script src="plugins/highcharts/exporting.js"></script>
<!--<script src="plugins/bootstrap-select/dist/js/bootstrap-select.min.js" type="text/javascript"></script>-->
<script src="assets/js/select2.js"></script>
<script type="text/javascript">
$.post('app/kios_pbj/home.php',function(html){$("#main_tag").html(html)});
$('#home').click(function(){
$('#pt1').val('');
window.location.href='info_pbj.php';
$('#pt1').focus();
});
$('#b1').click(function(){
var text_cari = $.trim($('#pt1').val());
var c1=$('#c1').val();
/*$.post('app/kios_pbj/main.php',{text_cari:text_cari, c1:c1},function(html){
$("#main_tag").html(html);
}); */
$('#modal_riwayat_belanja').modal('show');
$('#modal_body_riwayat_belanja').html("");
$.ajax({
type: "POST",
url: "app/kios_pbj/riwayat.php",
data: 'text_cari='+text_cari
+'&c1='+c1,
success: function(data){
$('#modal_body_riwayat_belanja').html(data);
}
});
});
function tekan1(event) {
var x = event.keyCode;
if (x == 13) {$('#b1').trigger('click');}
}
$(document).on('hidden.bs.modal', function (event) {
if ($('.modal:visible').length) {
$('body').addClass('modal-open');
}
});
</script>
<script src="assets/js/enter.js"></script>
<script src="assets/js/jspdf.min.js"></script>
</body>
</html>