ohctech_p8/health_index_table.php
2024-10-16 19:18:52 +05:30

62 lines
2.1 KiB
PHP

<!-- Modal -->
<div class="modal fade" id="health_index_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">
<center>
Health Index
</center>
</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<table width="100%" style="font-size: large;">
<tr>
<th>HPI</th>
<th>Level</th>
<th>Description</th>
</tr>
<tr style="background-color: <?php echo $firstColor ?>;">
<td>0-1</td>
<td><?php echo $fisrtLevel ?></td>
<td><?php echo $fisrtDescription ?></td>
</tr>
<tr style="background-color: <?php echo $secondColor ?>;">
<td>2</td>
<td><?php echo $secondLevel ?></td>
<td><?php echo $secondDescription ?></td>
</tr>
<tr style="background-color: <?php echo $thirdColor ?>;">
<td>3</td>
<td><?php echo $threeLevel ?></td>
<td><?php echo $threeDescription ?></td>
</tr>
<tr style="background-color: <?php echo $fourthColor ?>;">
<td>4</td>
<td><?php echo $fourLevel ?></td>
<td><?php echo $fourDescription ?></td>
</tr>
<tr style="background-color: <?php echo $fifthColor ?>;">
<td>5-6</td>
<td><?php echo $fiveLevel ?></td>
<td><?php echo $fiveDescription ?></td>
</tr>
<tr style="background-color: <?php echo $sixthColor ?>;">
<td>7</td>
<td><?php echo $sixLevel ?></td>
<td><?php echo $sixDescription ?></td>
</tr>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>