<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<?php include("header-js.php");?>		
		
<!-----hrm-------------->		
<link rel="stylesheet" href="css/style.css" />
<!-- Responsive -->
<link rel="stylesheet" href="css/responsive.css" />

<!-----hrm-------------->
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
</head>

<body class="skin-blue">
	<?php include("header.php");?>
	

	<?php 
	 if($_GET['frm']==5)
		$header = 'ESI - Form 5';
	 if($_GET['frm']==6)
		$header = 'ESI - Form 6';	
	 if($_GET['frm']=='3a')
		$header = 'PF - Form 3A';
	 if($_GET['frm']=='6a')
		$header = 'PF - Form 6A';
	 if($_GET['frm']=='12a')
		$header = 'PF - Form 12A';	
	if($_GET['frm']=='mst')
		$header = 'ESI Monthly Statement';
			
	 ?>
    <!-- Main row -->
    <div class="row">
		<div id="wrapper">
			<div class="content">
				<div class="report-tab">
					<div class="employee-title">
						<div class="report-left"><h2><translate><?php echo $header?$header:"" ;?></translate><span></span></h2></div>
						<div class="report-category"></div>
						<div class="clear-float"></div>
					</div><!-- /employee-title -->
					<div class="clear-float"></div>
					<div class="report-cell-02"></div>
					<div id="tabletabheadlist">
				
					<?php if($_GET['frm']=='mst'){?>
					<!--<img src="pfforms/Monthly statement.gif" width="850" height="709">-->
				
							<div id="steps">
								<form name="esifrmMst" id="esifrmMst" action="esi-forms-pdf.php" method="post" onSubmit="return downloadFormMst();">
								<p>
								<label>From Date</label>
								<input type="text" name="from_date" id="from_date">
								<label id="frm_err"></label>
								</p>
								
								<p>
								<label>Employee Category</label>
								<select name="category" id="category" style="width:75px;">
    <option value="">Select</option>
    <option value="Department">Department</option><option value="Designation">Designation</option><option value="Grade">Grade</option><option value="Location">Location</option></select>
								<label id="to_err"></label>
								</p>
								
	
								<p><input type="submit" name="submit" class="color-button esi-form10" value="Generate"></p>
								<input type="hidden" name="form" value="formMst">
								</form>
							</div>
				
					
					<?php } ?>
					
						<?php if($_GET['frm']=='5'){?>
					<!--<img src="pfforms/Monthly statement.gif" width="850" height="709">-->
				
							<div id="steps">
								<form name="esifrm5" id="esifrm5" action="esi-forms-pdf.php" method="post" onSubmit="return downloadFormMst();">
																
								<p>
								<label>Select</label>
								<select name="half_year" id="half_year" style="width:75px;">
    <option value="">Select</option>
    <option value="1">First Half</option>
    <option value="2">Second Half</option>
    </select>
								<label id="to_err"></label>
								</p>
								
	
								<p><input type="submit" name="submit" class="color-button esi-form10" value="Generate"></p>
								<input type="hidden" name="form" value="form5">
								</form>
							</div>
				
					
					<?php } ?>
					
						<?php if($_GET['frm']=='6'){?>				
				
							<div id="steps">
								<form name="esifrm6" id="esifrm6" action="esi-forms-pdf.php" method="post" onSubmit="return downloadFormMst();">
																
								<p>
								<label>Select</label>
								<select name="half_year" id="half_year" style="width:75px;">
    <option value="">Select</option>
    <option value="1">First Half</option>
    <option value="2">Second Half</option>
    </select>
								<label id="to_err"></label>
								</p>
								
	
								<p><input type="submit" name="submit" class="color-button esi-form10" value="Generate"></p>
								<input type="hidden" name="form" value="form6">
								</form>
							</div>
				
					
					<?php } ?>
					
					<?php if($_GET['frm']=='ert'){?>
					<img src="pfforms/fORM 5.gif" width="850" height="709">
					<?php } ?>
					</div>
					<div class="clear-float"></div>
				</div><!-- /report-cell-02 -->
				<div id="tablelist"></div>
				<div class="clear-float"></div>
				</div><!-- /report-tab -->
				<div class="clear-float"></div>
			</div><!-- /content -->
			<div id="busy">Loading...</div>
			<div class="footer">
			<strong>© add-HRM </strong><span class="currentversion"></span><br />
			<span><translate>Developed by</translate> <a href="http://www.aadhocc.com" target="_blank"><translate>Aadhocc</translate></a></span></div>
			<!-- /footer -->
			</div>
		</div><!-- /.row (main row) -->
		</section><!-- /.content -->
        </aside><!-- /.right-side -->
    </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->


        <!-- jQuery 2.0.2 -->
        <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>-->
        <!-- jQuery UI 1.10.3 -->
       <?php include("footer-js.php");?>
		<link rel="stylesheet" href="css/jquery-ui.css" />
		<script src="js/forms.js" type="text/javascript"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				$('#tablelist').hide();	
				});
		function list_employees(v)
		{			
			if(v=="all"){
			$('#tablelist').hide();	
			}else{
				$('#tablelist').show();	
			}
		}
		
		$('#from_date').datepicker({dateFormat:"dd-mm-yy"});
		$('#to_date').datepicker({dateFormat:"dd-mm-yy"});
		</script>
    </body>
</html>
 
