<?php include('pdf_header.php');
include('includes/config/config.php');
//include('pop_up_top.php');
?>
<table width="100%">
    <tr>
        <div style="font-size:12px">
            <td width="25%" align="left"> Run Date :
                <?php  echo date("d-M-Y"); ?>
            </td>
            <td width="50%" align="center" style="font-size:40px"><strong>INJURY TYPE</strong></td>
            <td width="25%" align="left"> User :
                <?php  echo $username ?>
            </td>
    </tr>
</table>
<table class="col-sm-offset-5" border="1">
    <?php 
 $sql=base64_decode($filterkey);
 //echo $sql;
 $result = mysqli_query($conn,$sql);
  //echo $result;
  ?>
    <tr bgcolor='#eeeeee' align="center" width="50%">
        <th width=25%>Injury Id</th>
        <th width=25%>Injury Name</th>
        <th width=25%>Injury Code</th>
        <th width=25%>Injury Description</th>
    </tr>
    <?php 
while($rowOfEmployee=mysqli_fetch_array($result)){
  ?>
    <tr>
        <td><?php  echo $rowOfEmployee['injury_type_id']?></td>
        <td><?php  echo $rowOfEmployee['injury_type_name']?></td>
        <td><?php  echo $rowOfEmployee['injury_type_code']?></td>
        <td><?php  echo $rowOfEmployee['injury_type_desc']?></td>
    </tr>
    <?php 

}
?>
</table>
<?php 
include('pdf_footer.php');
?>