<?php

 if($_SESSION['status']!="login"){
	 header("location:../index.php");
 }
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
  box-sizing: border-box;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
</style>
</head>
<body>

<h2>Periode Baru</h2>
<p>
.</p>

<div class="container">
  <form action="/action_page.php" method="post">
     <div class="row">
      <div class="col-35">
       <table>
	   <tr><td>Bulan Periode Baru      </td><td><input type="number" name="bln_br"  value="1" min="1" max="12" step="1" /></td></tr>
	   <tr><td>Tahun Periode Baru      </td><td><input type="number" name="tahun_br" /></td></tr>
	   <tr><td colspan="2" align="center"><h3>Saldo Awal diambil dari</h3> </td></tr>
	   <tr><td>Bulan Periode Sebelumnya</td><td><input type="number" name="bln_lm"  value="1" min="1" max="12" step="1" /></td></tr>
	   <tr><td>Tahun Periode Sebelumnya</td><td><input type="number" name="tahun_lm" ></td></tr>
	   <tr><td></td><td><button type="submit" value="Submit">Submit</button>
               <button type="reset" value="Reset">Reset</button></td></tr>
	   </table>
	   
      </div>
	 </div> 
	  
    
  </form>
</div>

</body>
</html>