<script src="js/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<style type="text/css">
	body{margin:0;}
#sl{text-align: center;font-size: 20px; width: 120px;}
#right {text-align:right; font-size: 20px;font-weight:bold;}
#bold {font-size: 20px;font-weight:bold; text-align:center;}
#rightt {font-size: 20px; text-align:right;}	
#footer { background-color:; height:40px; border-bottom:hidden; border-left:hidden; border-right:hidden; }
#examiner { width:15%; float:left; text-align:right; margin-right:30px; border-top:1px solid #000000; text-align:center;}
#signature { height:70px;}
#space { width:61%; float:left;}
#date{position: absolute; right: 209px; position: absolute; top: 79px;}
.print-area{width:850px; height:1050px; margin:auto; box-sizing:border-box; page-break-ofter:always;}
.header,.print-area{text-align: center;}
.header h1 {margin:0px; padding:0px; font-size: 35px;}
.header h3 {margin:0px; padding:0px; font-size: 25px;}
.header h2 {margin:0px; padding:0px; font-size: 20px;}
#heding {font-size: 30px; margin:0; text-align: center;}
#center_font {font-family:SutonnyMJ; text-align: center;}
#name {font-family:SutonnyMJ; text-align: left; width: 230px;}

th, td {  font-size: 20px; font-family:SutonnyMJ;}
#daerr {font-size: 20px;}
#sin {font-size: 20px; height: 36px;}
#nameS {font-size: 20px; height: 36px; width: 268px;}
#id_admission {font-size: 20px; height: 36px; width: 123px;}
#fee {font-size: 20px; height: 36px; width: 170px;}
#sinee {font-size: 20px; height: 36px; width: 200px;}

table{border-collapse:collapse;}
</style>
<?php    
			if(isset($_POST['submit'])){
	      	$fastDate     = $_POST['fastDate'];
			    $lastDate     = $_POST['lastDate'];
		      
			} 
			if(!isset($_POST['submit'])){
			$fastDate     ="";
			$lastDate     ="";
			$admissionyear="";
     } 
?>
<div class="col-md-12">
<div class="row">
<form class="form-horizontal" action="salary_sheet_print.php" method="post" target="_new">
<!-- radio button open -->
<?php 
  	$m=strtotime("-1 month");
 $pmonth= date("m-Y", $m);
  	$d=strtotime("-1 day");
$pwld= date("d-m-Y", $d);
?>
<label>
	 	<input type="radio" name="optionsRadios"  data-value1="01-<?=$pmonth?>" data-value2="31-<?=$pmonth?>" value="option1"> পূর্বের মাস
  </label>

  <label>
	 	<input type="radio" name="optionsRadios"  data-value1="01-<?=date("m-Y")?>" data-value2="<?=date("t-m-Y")?>" value="option1"> চলতি মাস
	</label>
  <label>
<?php 
  	$m=strtotime("+1 month");
 $pmonth= date("m-Y", $m);
  	$d=strtotime("+1 day");
$pwld= date("d-m-Y", $d);
?>
   <input type="radio" name="optionsRadios"  data-value1="01-<?=$pmonth?>" data-value2="31-<?=$pmonth?>" value="option1"> পরবর্তী মাস
  </label>
</div>			
<!-- date javascript -->
<script type="text/javascript">
      $('[name="optionsRadios"]').click(function () {
      $('[name="fastDate"]').val($(this).attr("data-value1"));
      $('[name="lastDate"]').val($(this).attr("data-value2"));
       });						
</script>
<?php

 ?>

    <br><div class="box-body">
              <div class="row">
                <div class="col-xs-3"> 
                
                  <input type="text" name="fastDate" id="fastDate" class="form-control" placeholder="fast date"  >
                </div>
                <div class="col-xs-3">
                  <input type="text" name="lastDate" id="lastDate" class="form-control" placeholder="last date" >
                </div>
  <br>
             
            </div><br>
	
 
		<button type="submit" name="submit" class="btn btn-info pull-left"><i class="fa fa-fw fa-print"></i> Print</button>
										            
  </div>
</form>
<div class="data-info">
	

<script src="../bower_components/jquery/jquery.min.js"></script>
<script src="bower_components/jquery-ui/jquery-ui.min.js"></script>
</body>
</html>
