<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
    <link rel="stylesheet" href="css/style-homepage.css">
    <link rel="stylesheet" href="fontawesome/fontawesome-free-5.15.4-web/css/all.min.css">

    <title>HOMEPAGE | SIPIN</title>
  </head>
  <body>
<!-- navbar H-->
    <nav class="navbar navbar-expand-lg navbar-dark bg-success fixed-top" style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">
        <div class="container">


          <a class="navbar-brand" href="#">SELAMAT DATANG di PELAYANAN PENGADUAN PENGADILAN TINGGI AGAMA JAMBI</b></a>              
                <form class="d-flex">
                    <input class="form-control form-control-sm me-2" type="search" placeholder="Pencarian" aria-label="Search">
                    <button class="btn btn-outline-warning btn-sm" type="submit">CARI</button>
                </form>

                <div class="icon ms-auto">
                    <h5>
                        <i class="fas fa-envelope me-2" data-toggle="tooltip" title="Pesan Masuk"></i>
                        <i class="fas fa-bell me-2" data-toggle="tooltip" title="Notifikasi"></i>
                        <a href="index.html"><i class="fas fa-sign-out-alt me-2" data-toggle="tooltip" title="Keluar"></i></a>
                    </h5>
                </div>
            </div>
      </nav>
<!-- end navbar H-->

<!-- nav vertikal -->
<div class="container">
    <div class="row no-gutters mt-5">

        <div class="row-md-10 bg-light p-4" style="width: 100rem; height: 100%;">
            <h3><i class="fas fa-tachometer-alt"></i> DASHBOARD</h3><hr>  
            <div class="modal-body">
    <form method="post" id="insert_form" style="font-size:12px; font-family:Cambria;">
                <label>Asal Pengaduan</label>
                <input type="text" name="asalpengaduan" id="asalpengaduan" class="form-control form-control-sm" />
                <label>Identitas Pelapor</label>
                <select id="pelapor" name="pelapor" class="form-select" style="font-size:12px">
                            <option value="-" disabled selected>++ Silahkan Pilih Identitas Pelapor ++</option>
                            <option value="Intern">Intern	</option>
                            <option value="Ekstenal">Eksternal	</option>
                </select>
                <label>Identitas Terlapor</label>
                <select id="terlapor" name="terlapor" class="form-select" style="font-size:12px">
                            <option value="-" disabled selected>++ Silahkan Pilih Identitas Terlapor ++</option>
                            <option value="Hakim">Hakim	</option>
                            <option value="Hakim">Non Hakim	</option>
                </select>
                <label>Satker</label>
                <select id="satker" name="satker" class="form-select" style="font-size:12px">
                            <option value="-" disabled selected>++ Silahkan Pilih Satker ++</option>
                            <option value="PTA Jambi">PTA Jambi	</option>
                            <option value="PA Jambi">PA Jambi	</option>
                            <option value="PA Sengeti">PA Sengeti	</option>
                            <option value="PA Kuala Tungkal">PA Kuala Tungkal	</option>
                            <option value="PA Sarulangon">PA Sarolangun	</option>
                            <option value="PA Muara Tebo">PA Muara Tebo	</option>
                            <option value="PA Muara Bungo">PA Muara Bungo	</option>
                            <option value="PA Sabak">PA Muara Sabak	</option>
                            <option value="PA Bangko">PA Bangko	</option>
                            <option value="PA Sungai Penuh">PA Sungai Penuh	</option>
                            <option value="PA Muara Bulian">PA Muara Bulian	</option>
                </select>
                <label>Pengaduan</label>
                <input type="text" name="nama_pembanding" id="nama_pembanding" class="form-control form-control-sm" /> 
                <label>Deskripsi Pengaduan</label>
                <textarea type="text" name="amar_putusan" id="amar_putusan" class="form-control form-control-sm" ></textarea>
                <label>Dokumen Bukti</label>
                <input type="text" name="tgl_putusan" id="tgl_putusan" class="form-control form-control-sm" />
                <br />
                <input type="submit" name="insert" id="insert" value="Simpan" class="btn btn-success btn-sm" />
                </form>
            </div>
      
            <div class="modal-footer">
                <button type="button" class="btn btn-default"><a href="#">Close</a></button>
            </div>
</div>
    </div>
</div>
  <!-- end nav vertikal -->

  <!-- footer -->
  <div class="container-fluid text-center bg-success text-light fixed-bottom">
    <span style="font-size: 12px; font-style: italic;">Pengadilan Tinggi Agama Jambi &copy; ferdian_ITP (2021)</span>
  </div>
  <!-- end footer -->

  <!-- javascrip -->
  <script src="js/homepage.js" type="text/javascrip"></script>

  </body>
</html>

<?php
function tgl_indo($tanggal){
	$bulan = array (
		1 =>   'Januari',
		'Februari',
		'Maret',
		'April',
		'Mei',
		'Juni',
		'Juli',
		'Agustus',
		'September',
		'Oktober',
		'November',
		'Desember'
	);
	$pecahkan = explode('-', $tanggal);
	
	// variabel pecahkan 0 = tanggal
	// variabel pecahkan 1 = bulan
	// variabel pecahkan 2 = tahun
 
	return $pecahkan[2] . ' ' . $bulan[ (int)$pecahkan[1] ] . ' ' . $pecahkan[0];
}
?>