<?php 
include "koneksi.php";
if (!isset($_SESSION["UserID"]))
{
	header("location:login.php?p=3");
}
?>
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="style.css">
<html>
  <head>
	<title> PT MULTI HYDRACHROM BALIKPAPAN </title>
	<link rel="icon" type="image/png" href="images/mhb.jpeg">
		<?php
			include "part/menu2.php";
		?>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<?php
		include "part/jss.php";
	?>
	
  </head>
  <body>
	
	<div style="width:1280px; height:100px" class="container">
	
			<div class="alert alert-info" href="#">
            <div style="display: block; margin-left: auto; margin-right: auto; width: 1000px;  height:100px;"><img style="width: 1000px;  height:180px;" src="images/hd.jpg"></div>
            <div>
                <center>
                    <h1>PT. MULTI HIDRACHROM BALIKPAPAN</h1>
                </center>
            </div>
            <div>
                <center>
                    <h4>PROFESIONAL INFORMATION SYSTEM</h4>
                </center>
            </div>
        </div>
					
				
			
			
		<div class="alert alert-info">
			 <h3 align="center">TAMBAH DATA KARYAWAN</h3>
			 
			 <?php
				if (isset($_GET["p"]))
				{
					$p=mysqli_real_escape_string($conn,$_GET["p"]);
					if ($p=="1")
					{
						?>
							<div class="alert alert-primary" role="alert">
							  Tidak Boleh Kosong!
							</div>
						<?php
					}
					else if ($p=="2")
					{
						?>
							<div class="alert alert-primary" role="alert">
								sudah ada!
							</div>
						<?php
					}
				}

				if (isset($_GET['pesan'])) {
					if ($_GET['pesan'] == "berhasilInput") {
						echo "<div class='alert alert-success' role='alert'> Berhasil Input DB. </div>";
					}
					// if ($_GET['pesan'] == "berhasilInput") {
					// 	echo "<div class='alert alert-danger' role='alert'> Berhasil Input DB. </div>";
					// }
				}
				?>
			 
			 <form method="POST" action="simpanTambahKaryawan.php">
				  <div class="form-group" align="center">
				  <h5 align="center" color="rgb(239, 255, 255)" >"menambahkan data - data karyawan baru"</h5>
				  
				  
				  
				  
				  
				  
				  <label for="exampleInputPassword1">NIK</label>
					<input type="text/css" class="form-control" name="nik1" placeholder="">
					<label for="exampleInputPassword1">Nama Karyawan</label>
					<input type="text/css" class="form-control" name="namaKaryawan" placeholder="">
					<label for="exampleInputPassword1">Asal Penerimaan</label>
					<input type="text/css" class="form-control" name="asalpenerimaan" placeholder="">
					<label for="exampleInputPassword1">Jabatan</label>
					<select class="form-control" name="jabatan" id="jabatan">
							<option value=""></option>
							<option value="Direktur">Direktur</option>
							<option value="Manager">Manager</option>
							<option value="SPV">SPV</option>
							<option value="Officer">Officer</option>
						</select>
					<label for="exampleInputPassword1">Departemen</label>
						<select class="form-control" name="jabatan123" id="jabatan123">
							<option value=""></option>
							<option value="PPIC">PPIC</option>
							<option value="Produksi">Produksi</option>
							<option value="QC">QC</option>
							<option value="Sales Marketing">Sales Marketing</option>
							<option value="Purchasing">Purchasing</option>
							<option value="Accounting">Accounting</option>
							<option value="Direktur">Direktur</option>
							<option value="Operasional">Operasional</option>
							<option value="Warehouse">Warehouse</option>
						</select>
					<label for="exampleInputPassword1">Tanggal Masuk</label>
					<input type="date" class="form-control" name="tanggalMasuk" placeholder="">
					<label for="exampleInputPassword1">Lama Bekerja</label>
					<input type="text/css" readonly class="form-control" name="lamaBekerja" placeholder="">
					
					
					<label for="exampleInputPassword1">Durasi Kontrak Bulan</label>
					<input type="text/css" class="form-control" name="durasiKontrakBulan" placeholder="">
					<label for="exampleInputPassword1">Akhir Kontrak </label>
					<input type="date" class="form-control" name="akhirKontrak" placeholder="">
					<label for="exampleInputPassword1">Tempat </label>
					<input type="text/css" class="form-control" name="tempat" placeholder="">
					<label for="exampleInputPassword1">Tanggal Lahir</label>
					<input type="date" class="form-control" name="tanggalLahir" placeholder="">
					<label for="exampleInputPassword1">Status Perkawinan</label>
					<input type="text/css" class="form-control" name="statusPerkawinan" placeholder="">
					<label for="exampleInputPassword1">Agama</label>
					<input type="text/css" class="form-control" name="agama" placeholder="">
					<label for="exampleInputPassword1">Jenis Kelamin</label>
					<input type="text/css" class="form-control" name="jenisKelamin" placeholder="">
					<label for="exampleInputPassword1">NIK KTP</label>
					<input type="text/css" class="form-control" name="nikKtp" placeholder="">
					<label for="exampleInputPassword1">NPWP</label>
					<input type="text/css" class="form-control" name="npwp" placeholder="">


					<label for="exampleInputPassword1">Nomor BPJS Kesehatan</label>
					<input type="text/css" class="form-control" name="nomorBpjsKesehatan" placeholder="">
					<label for="exampleInputPassword1">Nomor Jamsostek</label>
					<input type="text/css" class="form-control" name="nomorJamsostek" placeholder="">
					<label for="exampleInputPassword1">BPJS Jaminan Pensiun</label>
					<input type="text/css" class="form-control" name="bpjsJaminanPensiun" placeholder="">
					<label for="exampleInputPassword1">Nomor Rekening BNI</label>
					<input type="text/css" class="form-control" name="nomorRekeningBni" placeholder="">
					<label for="exampleInputPassword1">Nomor Rekening MYBANK</label>
					<input type="text/css" class="form-control" name="nomorRekeningMybank" placeholder="">
					<label for="exampleInputPassword1">No Rekening UOB</label>
					<input type="text/css" class="form-control" name="nomorRekeningUob" placeholder="">
					<label for="exampleInputPassword1">Kode</label>
					<input type="text/css" class="form-control" name="kode" placeholder="">
					<label for="exampleInputPassword1">Nomor Telp / HP</label>
					<input type="text/css" class="form-control" name="nomorTelpHp" placeholder="">
					<label for="exampleInputPassword1">Pendidikan Terakhir</label>
					<input type="text/css" class="form-control" name="pendidikanTerakhir" placeholder="">
					<label for="exampleInputPassword1">Status Kepegawaian</label>
					<input type="text/css" class="form-control" name="statusKepegawaian" placeholder="">
					
					
					<label for="exampleInputPassword1">Emergency Contract</label>
					<input type="text/css" class="form-control" name="emergencyKontak" placeholder="">
					<label for="exampleInputPassword1">No Telp / HP </label>
					<input type="text/css" class="form-control" name="nomorTelpHpPasangan" placeholder="">
					<label for="exampleInputPassword1">No KK </label>
					<input type="text/css" class="form-control" name="nomorKK" placeholder="">
					<label for="exampleInputPassword1">Ukuran Baju</label>
					<input type="text/css" class="form-control" name="ukuranBaju" placeholder="">
					<label for="exampleInputPassword1">Ukuran Celana</label>
					<input type="text/css" class="form-control" name="ukuranBaju123" placeholder="">
					<label for="exampleInputPassword1">Ukuran Sepatu</label>
					<input type="text/css" class="form-control" name="ukuranSepatu" placeholder="">
					<label for="exampleInputPassword1">Jenis SIM</label>
					<input type="text/css" class="form-control" name="jenisSIM" placeholder="">
					<label for="exampleInputPassword1">Golongan Darah</label>
					<input type="text/css" class="form-control" name="golonganDarah" placeholder="">
					<label for="exampleInputPassword1">Alamat</label>
					<input type="text/css" class="form-control" name="alamat" placeholder="">
					<label for="exampleInputPassword1">RT</label>
					<input type="text/css" class="form-control" name="rt" placeholder="">
					<label for="exampleInputPassword1">Kelurahan</label>
					<input type="text/css" class="form-control" name="kelurahan" placeholder="">
					<label for="exampleInputPassword1">Kecamatan</label>
					<input type="text/css" class="form-control" name="kecamatan" placeholder="">
					
					
					<h3>Data Pasangan Karyawan</h3>
					<label for="exampleInputPassword1">Nama</label>
					<input type="text/css" class="form-control" name="namaPasangan" placeholder="">
					<label for="exampleInputPassword1">Jenis Kelamin</label>
					<input type="text/css" class="form-control" name="jenisKelaminPasangan" placeholder="">
					<label for="exampleInputPassword1">Tempat Lahir</label>
					<input type="text/css" class="form-control" name="tempatLahirPasangan5" placeholder="">
					<label for="exampleInputPassword1">Tanggal Lahir Pasangan</label>
					<input type="date" class="form-control" name="tanggalLahirPasangan" placeholder="">
					<label for="exampleInputPassword1">NIK</label>
					<input type="text/css" class="form-control" name="nikPasangan" placeholder="">

					<h3>Data Anak 1</h3>
					<label for="exampleInputPassword1">Nama</label>
					<input type="text/css" class="form-control" name="namaanak1" placeholder="">
					<label for="exampleInputPassword1">Jenis Kelamin</label>
					<input type="text/css" class="form-control" name="jeniskelaminaman1" placeholder="">
					<label for="exampleInputPassword1">Tempat Lahir</label>
					<input type="text/css" class="form-control" name="tempatlahiranak1" placeholder="">
					<label for="exampleInputPassword1">Tanggal Lahir Pasangan</label>
					<input type="date" class="form-control" name="tanggallahiranak1" placeholder="">
					<label for="exampleInputPassword1">NIK</label>
					<input type="text/css" class="form-control" name="nikanak1" placeholder="">

					<h3>Data Anak 2</h3>
					<label for="exampleInputPassword1">Nama</label>
					<input type="text/css" class="form-control" name="namaanak2" placeholder="">
					<label for="exampleInputPassword1">Jenis Kelamin</label>
					<input type="text/css" class="form-control" name="jeniskelaminaman2" placeholder="">
					<label for="exampleInputPassword1">Tempat Lahir</label>
					<input type="text/css" class="form-control" name="tempatlahiranak2" placeholder="">
					<label for="exampleInputPassword1">Tanggal Lahir Pasangan</label>
					<input type="date" class="form-control" name="tanggallahiranak2" placeholder="">
					<label for="exampleInputPassword1">NIK</label>
					<input type="text/css" class="form-control" name="nikanak2" placeholder="">

					<h3>Data Anak 3</h3>
					<label for="exampleInputPassword1">Nama</label>
					<input type="text/css" class="form-control" name="namaanak3" placeholder="">
					<label for="exampleInputPassword1">Jenis Kelamin</label>
					<input type="text/css" class="form-control" name="jeniskelaminaman3" placeholder="">
					<label for="exampleInputPassword1">Tempat Lahir</label>
					<input type="text/css" class="form-control" name="tempatlahiranak3" placeholder="">
					<label for="exampleInputPassword1">Tanggal Lahir Pasangan</label>
					<input type="date" class="form-control" name="tanggallahiranak3" placeholder="">
					<label for="exampleInputPassword1">NIK</label>
					<input type="text/css" class="form-control" name="nikanak3" placeholder="">

					<h3>Data Anak 4</h3>
					<label for="exampleInputPassword1">Nama</label>
					<input type="text/css" class="form-control" name="namaanak4" placeholder="">
					<label for="exampleInputPassword1">Jenis Kelamin</label>
					<input type="text/css" class="form-control" name="jeniskelaminaman4" placeholder="">
					<label for="exampleInputPassword1">Tempat Lahir</label>
					<input type="text/css" class="form-control" name="tempatlahiranak4" placeholder="">
					<label for="exampleInputPassword1">Tanggal Lahir Pasangan</label>
					<input type="date" class="form-control" name="tanggallahiranak4" placeholder="">
					<label for="exampleInputPassword1">NIK</label>
					<input type="text/css" class="form-control" name="nikanak4" placeholder="">
					
					
					
					
					<h3>Gaji</h3>
					<label for="exampleInputPassword1">Gaji Pokok</label>
					<input type="text/css" class="form-control" name="gaji" placeholder="">
					<label for="exampleInputPassword1">Tunjangan Jabatan</label>
					<input type="text/css" class="form-control" name="tunjanganJabatan" placeholder="">
					<label for="exampleInputPassword1">Tunjangan Operasional</label>
					<input type="text/css" class="form-control" name="tunjanganOperasional" placeholder="">
					<label for="exampleInputPassword1">Tunjangan Komunikatif</label>
					<input type="text/css" class="form-control" name="tunjanganKomunikatif" placeholder="">
					<label for="exampleInputPassword1">Tunjangan Makan</label>
					<input type="text/css" class="form-control" name="tunjanganMakan" placeholder="">
					<label for="exampleInputPassword1">Tunjangan Transport</label>
					<input type="text/css" class="form-control" name="tunjanganTransport" placeholder="">
					
					
					
					
					
					
					
				 <br>
				 </br>
				  <button type="submit" class="btn btn-primary">Simpan</button> 
				  | <a href="index2.php"><button type="button" class="btn btn-danger">Kembali</button></a>
				</form>
				<br>
				 </br>
				 <br>
				 </br>
				 <br>
				 </br>
			
			<center><h5 class="form-signin">&copy; V.1.0.0 <a href="#" data-toggle="modal" data-target="#contact">MHB</a></h5></center>  
		<center><h5 class="form-signin">Copyright &copy; <a href="#" data-toggle="modal" data-target="#contact">SatrioPringgondani</a></h5></center>  
	</div>
	
  
  </body>
</html>




