<?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 CARD LIST</h3>
			 
			 <?php
				if (isset($_GET["p"]))
				{
					$p=mysqli_real_escape_string($conn,$_GET["p"]);
					if ($p=="1")
					{
						?>
							<div class="alert alert-primary" role="alert">
							  Card List Berhasil Ditambah!
							</div>
						<?php
					}
					else if ($p=="2")
					{
						?>
							<div class="alert alert-danger" role="alert">
								gagal!
							</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="simpanTambahDataSuplier.php">
				  <div class="form-group" align="center">
				  <h5 align="center" color="rgb(239, 255, 255)" >"menambahkan data - data suplier atau cutomer baru"</h5>
				  
				  <?php
				   echo date('d - m - Y');
				  ?>
				  
				  <p>
				  </p>
				 
				  
				  
				  
				  <label for="exampleInputPassword1">KODE SUPLIER</label>
					<input type="text/css" class="form-control" name="kode_suplier" placeholder="">
					<label for="exampleInputPassword1">NAMA SUPLIER</label>
					<input type="text/css" class="form-control" name="nama_suplier" placeholder="">
					<label for="exampleInputPassword1">TERM OF PAYMENT (T.O.P)</label>
					<input type="text/css" class="form-control" name="top" placeholder="">
					<label for="exampleInputPassword1">CATEGORI VENDOR</label>
					<form method='POST' action=''>
                        <h4><select name="categori_vendor">
                        <option value="Persediaan Consumable">Persediaan Consumable</option>
                        <option value="Jasa Service">Jasa Service</option>
						<option value="Peti Kemas">Peti Kemas</option>
						<option value="Asset Dalam Proses - Bpp">Asset Dalam Proses - Bpp</option>
						<option value="Sewa Fotocopy">Sewa Fotocopy</option>
						<option value="Ekspedisi">Ekspedisi</option>
						<option value="IT Suport">IT Suport</option>
						<option value="Safety">Safety</option>
						<option value="Persediaan Consumable">Persediaan Consumable</option>
						<option value="Consumable">Consumable</option>
						<option value="Telepon">Telepon</option>
						<option value="Sewa Alat">Sewa Alat</option>
						<option value="Perlengkapan Workshop">Perlengkapan workshop</option>
						<option value="Material">Material</option>
						<option value="Listrik">Listrik</option>
						<option value="Sparepart">Sparepart</option>
						<option value="Service, Repair, Sparepart">Service, Repair, Sparepart</option>
						<option value="Transport">Transport</option>
						<option value="Pengolahan Limbah">Pengolahan limbah</option>
						<option value="Persediaan Sparepart">Persediaan Sparepart</option>
						<option value="BBM">BBM</option>
						<option value="Jasa Service & Sparepart">Jasa Service & Sparepart</option>
						<option value="R & M Mesin - Mesin">R & M Mesin - Mesin</option>
						<option value="Security">Security</option>
						<option value="Seragam Kantor">Seragam Kantor</option>
						<option value="Sewa Mobil">Sewa Mobil</option>
						<option value="Medical Check UP">Medical Check UP</option>
						<option value="PPE">PPE</option>
						<option value="Klinik">Klinik</option>
						<option value="Akuntan Publik">Akuntan Publik</option>
						<option value="Alat Tulis Kantor">Alat Tulis Kantor</option>
						<option value="Sevice Kendaraan">Service Kendaraan</option>
						<option value="Audit Eksternal">Audit Eksternal</option>
						
                        </select>
                        </h4>
                        
					<label for="exampleInputPassword1">ALAMAT</label>				 
	                <textarea rows="7" cols="70"  name="alamat">
					</textarea>
					<label for="exampleInputPassword1">CONTACT PERSON</label>
					<input type="text/css" class="form-control" name="contact_person" placeholder="">
					<label for="exampleInputPassword1">TLP / HP / WA</label>
					<input type="text/css" class="form-control" name="tlp" placeholder="">
					<label for="exampleInputPassword1">USER</label>
					<input type="text/css" class="form-control" name="user" placeholder="">
					<label for="exampleInputPassword1">NAMA BANK</label>
					<input type="text/css" class="form-control" name="nama_bank" placeholder="" >
					<label for="exampleInputPassword1">A/N</label>
					<input type="text/css" class="form-control" name="atas_nama" placeholder="" >
					<label for="exampleInputPassword1">NO REKENING</label>
					<input type="text/css" class="form-control" name="rekening" placeholder="" >
					
					<h3 align="center">JENIS CARD LIST</h3>
						
						
                        <h4><select name="jenis_card_list">
                        <option value="1">CUSTOMER</option>
                        <option value="2">SUPLIER</option>
                        </select>
                        </h4>
                        </form>
					
					
					
					
				 <br>
				 </br>
				  <button type="submit" class="btn btn-primary">Simpan</button> 
				
				</form>
				<br>
				 </br>
				 <br>
				 </br>
				 <br>
				 </br>
			
		<center><h5 class="form-signin">Copyright &copy; <a href="#" data-toggle="modal" data-target="#contact">SatrioPringgondani</a></h5></center>  
	</div>	  
  </body>
</html>




