<table class="table table-striped table-bordered table-hover table-responsive-md">
	<thead class="table-info">
	<tr>
		<th>IDTL</th>
		<th>Tên thể loại</th>
		<th>Tên không dấu</th>
		<th>Thứ tự</th>
		<th>Ẩn hiện</th>
		<th>Chức năng</th>
	</tr>
	</thead>
	<tbody>
<?php 
$result = $quantridata -> theloai();
while($row = mysqli_fetch_array($result))
{?>
	<tr>
		<td><?php echo $row['idTL'] ?></td>
		<td><?php echo $row['TenTL'] ?></td>
		<td><?php echo $row['TenTL_KhongDau'] ?></td>
		<td><?php echo $row['ThuTu'] ?></td>
		<td><?php echo $row['AnHien'] ?></td>
		<td><a href="quantritueba.php?page=suatheloai&idtl=<?php echo $row['idTL'] ?>"><i class="fas fa-edit"></i> Sửa</a>   
		&ensp; <a class="text-danger" href="quantritueba.php?page=xoatheloai&idtl=<?php echo $row['idTL'] ?>"><i class="fas fa-trash-alt"></i> Xóa</a>
		</td>
	</tr>

<?php }?>
</tbody>
</table>