<!DOCTYPE html>
<?php 
include "koneksi.php";
?>
<html>
<title>PT. MULTIHYDRACHROME BALIKPAPAN</title>
<link rel="icon" type="image/png" href="images/mhb.jpeg">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body, h1,h2,h3,h4,h5,h6 {font-family: "Montserrat", sans-serif}
.w3-row-padding img {margin-bottom: 12px}
/* Set the width of the sidebar to 120px */
.w3-sidebar {width: 120px;background: #222;}
/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
#main {margin-left: 120px}
/* Remove margins from "page content" on small screens */
@media only screen and (max-width: 600px) {#main {margin-left: 0}}
</style>
<body class="w3-white">
<!-- Icon Bar (Sidebar - hidden on small screens) -->
<nav class="w3-sidebar w3-bar-block w3-small w3-hide-small w3-center">
  <!-- Avatar image in top left corner -->
  <img src="images/mhb1.jpeg" style="width:80%">
  <a href="index2.php" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-home w3-xxlarge"></i>
    <p>HOME</p>
  </a>
    <a href="#about" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-user w3-xxlarge"></i>
    <p>ABOUT</p>
  </a>
    <a href="dataInspectAndTesting.php" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-eye w3-xxlarge"></i>
    <p>MONITOR</p>
  </a>
  <a href="#reciving" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-plus-circle w3-xxlarge"></i>
    <p>1. RECEIVING</p>
  </a>
    <a href="#taging" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-check-square-o w3-xxlarge"></i>
    <p>2. TAGING</p>
  </a>
  <a href="cleaningAndDat.php" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-check-square-o w3-xxlarge"></i>
    <p>3. CLEAN DAT</p>
  </a>
  <?php
  //<a href="#photos" class="w3-bar-item w3-button w3-padding-large w3-hover-black">
    //<i class="fa fa-eye w3-xxlarge"></i>
    //<p>PHOTOS</p>
  //</a>
  //<a href="#contact" class="w3-bar-item w3-button w3-padding-large w3-hover-black">
    //<i class="fa fa-envelope w3-xxlarge"></i>
    //<p>CONTACT</p>
  //</a>
  ?>
</nav>

<!-- Navbar on small screens (Hidden on medium and large screens) -->
<div class="w3-top w3-hide-large w3-hide-medium" id="myNavbar">
  <div class="w3-bar w3-black w3-opacity w3-hover-opacity-off w3-center w3-small">
    <a href="#" class="w3-bar-item w3-button" style="width:25% !important">HOME</a>
	<a href="#reciving" class="w3-bar-item w3-button" style="width:25% !important">1 RECEIVING</a>
	<a href="#taging" class="w3-bar-item w3-button" style="width:25% !important">2 TAGING</a>
    <a href="#about" class="w3-bar-item w3-button" style="width:25% !important">ABOUT</a>
    <a href="#photos" class="w3-bar-item w3-button" style="width:25% !important">PHOTOS</a>
    <a href="#contact" class="w3-bar-item w3-button" style="width:25% !important">CONTACT</a>
  </div>
</div>


<!-- Page Content -->
<div class="w3-padding-large" id="main">
  <!-- Header/Home -->
  <header class="w3-container w3-padding-32 w3-center w3-yellow" id="home">
    <h1 class="w3-jumbo"><span class="w3-hide-small">I'm</span> Production.</h1>
    <p>Profesional System. by mhb</p>
	<img src="images/komatsu3.jpg" alt="boy" class="w3-image" width="950" height="11108">
  </header>
 
   <!-- About Section -->
  <div class="w3-content w3-justify w3-text-grey w3-padding-64" id="about">
    <h2 class="w3-text-light-black">Fitur Job PERSIS</h2>
    <hr style="width:200px" class="w3-opacity">
    <p>
		Fitur Job adalah fitur penting yang ada didalam system PERSIS, 
		Fitur ini dibuat agar memberikan kemudahan proses kerja operasional. 
		Pada kasus ini melibatkan Tujuh Departement sekaligus
        yaitu Produksi, Engineering, Quality Control, PIC, Sales & Marketing, dan tentunya HC&GA.
		Masing - Masing Departement tersebut memiliki otoritas yang berbeda sesuai kapasitasnya namun tetap satu output yang sama.
        Untuk meminimalisir kesalahan yang mungkin terjadi maka dibuatlah Fitur Job ini meliputi.		
    </p>
	<p>
	   1. Receiving 
	</p>
	<p>
	   2. Proses
	</p>
	<p>
	   3. Delivery
	</p>
	<?php
	
    //<h3 class="w3-padding-16 w3-text-light-grey">-</h3>
    //<p class="w3-wide">-</p>
    //<div class="w3-white">
      //<div class="w3-dark-grey" style="height:28px;width:95%"></div>
    //</div>
    //<p class="w3-wide">-</p>
    //<div class="w3-white">
      //<div class="w3-dark-grey" style="height:28px;width:85%"></div>
    //</div>
    //<p class="w3-wide">-</p>
    //<div class="w3-white">
      //<div class="w3-dark-grey" style="height:28px;width:80%"></div>
    //</div><br>
    
    //<div class="w3-row w3-center w3-padding-16 w3-section w3-light-grey">
      //<div class="w3-quarter w3-section">
        //<span class="w3-xlarge">+</span><br>
        //-
      //</div>
      //<div class="w3-quarter w3-section">
        //<span class="w3-xlarge">+</span><br>
        //-
      //</div>
      //<div class="w3-quarter w3-section">
        //<span class="w3-xlarge">+</span><br>
        //-
      //</div>
      //<div class="w3-quarter w3-section">
        //<span class="w3-xlarge">+</span><br>
        //-
      //</div>
    //</div>

    //<button class="w3-button w3-light-grey w3-padding-large w3-section">
      //<i class="fa fa-download"></i> -
    //</button>
	?>
    

<!-- Reciving -->
  <div class="w3-padding-64 w3-content w3-text-grey" id="reciving">
    <h2 class="w3-text-light-black">Receiving</h2>
    <hr style="width:200px" class="w3-opacity">
    <p>Let's Send Profile a job:</p>
	
    <form action="simpanTambahInputReceiving.php" method="POST" enctype="multipart/form-data" target="_blank">
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Nama Customer" required name="nama_customer"></p>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Nomor WO" required name="no_wo"></p>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Nomor MHB ID" required name="nomor_mhb_id"></p>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Nama Komponen" required name="nama_komponen"></p>
	  <p><input class="w3-input w3-padding-16" type="text" placeholder="Model Komponen" required name="model_komponen"></p>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Part Number" required name="part_number"></p>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Nomor Surat Jalan" required name="nomor_surat_jalan"></p>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Nomor Taging" required name="nomor_taging"></p>
	  <p><select name="jenis_taging" class="w3-input w3-padding-16">
                       <option value="1">Waranty</option>
                       <option value="2">Demage Score</option>
                       <option value="3"> Job</option>
                    </select></p>
	  <p><select name="jenis_barang" class="w3-input w3-padding-16">
                       <option value="1">Single</option>
                       <option value="2">Assy</option>
                       <option value="3">Parsial</option>
                    </select></p>
	  <label for="exampleInputPassword1">FOTO</label>
	   <input type="file" name="gambar">
	   
	  <p>
        <button class="w3-button w3-light-grey w3-padding-large" type="submit">
          <i class="fa fa-paper-plane"></i> SEND
        </button>
      </p>
    </form>
  <!-- End Contact Section -->
  </div>

<!-- taging -->
  <div class="w3-padding-64 w3-content w3-text-grey" id="taging">
    <h2 class="w3-text-light-black">Taging</h2>
    <hr style="width:200px" class="w3-opacity">
    <p>Let's Send Taging a job:</p>
	
    <form action="simpanTambahPartIdentification.php" method="POST" enctype="multipart/form-data" target="_blank">

	  <p>
	   <select name="no_mhb_id" class="w3-input w3-padding-16">
	  <?php		
		//Perintah sql untuk menampilkan semua data pada tabel jurusan
		$sql="select * from barang_job where status='1'";
        $hasil=mysqli_query($conn,$sql);
		$no=0;
		while ($data = mysqli_fetch_array($hasil)) 
		{
		    $no++;
		?>
			<option  value="<?php echo $data['id'];?>"><?php echo $data['no_mhb_id'];?></option>
	    <?php 
		}
		?>
		 </select>
	  </p>
	  
	  <p>
        <button class="w3-button w3-light-grey w3-padding-large" type="submit">
          <i class="fa fa-paper-plane"></i> SEND
        </button>
      </p>
    </form>
  <!-- End Contact Section -->
  </div>


   
  
    <!-- Footer -->
  <footer class="w3-content w3-padding-64 w3-text-grey w3-xlarge">
    <i class="fa fa-facebook-official w3-hover-opacity"></i>
    <i class="fa fa-instagram w3-hover-opacity"></i>
    <i class="fa fa-snapchat w3-hover-opacity"></i>
    <i class="fa fa-pinterest-p w3-hover-opacity"></i>
    <i class="fa fa-twitter w3-hover-opacity"></i>
    <i class="fa fa-linkedin w3-hover-opacity"></i>
    <p class="w3-medium">Powered by <a href="https://www.youtube.com" target="_blank">satrio.pringgondani</a></p>
  <!-- End footer -->
  </footer>

<!-- END PAGE CONTENT -->

</div>
</body>
</html>
