Files
ipban199/last_info.php
2026-03-16 02:27:59 -04:00

47 lines
1.2 KiB
PHP

<?php
include('header.php');
include('topmenu.php');
include('conn.php');
include('functions.php');
//https://www.color-hex.com/color-palette/67437
?>
<div class="container" style="width:100%; padding-left:20px; padding-right:20px">
<h2>Info - Last Entries for Blacklist and Whitelist</h2>
<div class='row line10'>
<div class='col-sm-2'>
</div>
<div class='col-sm-8'>
<div style='text-align:center'>
<div style='display:inline-block; width:100%'>
<table class='table table-condensed table-striped table-hover' style='text-align:left'>
<tr>
<th>Table</th>
<th>Edit Date</th>
</tr>
<?php
$sql_i="SELECT * FROM info ORDER BY list ASC";
$sql_rez=mysqli_query($con,$sql_i);
while($row_i=mysqli_fetch_array($sql_rez)){
echo "<tr>";
if($row_i['list']==1){
echo "<td>Whitelist</td>";
}
else{
echo "<td>Blacklist</td>";
}
$datetime=print_datetime($row_i['last']);
echo "<td>$datetime</td>";
echo "</tr>";
}
?>
</table>
</div>
</div>
</div>
</div>
</div>
<?php
include('footer.php');
?>