I have this code
<table class="table table-hover table-bordered table-condensed lista-clientes table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>
<center>IP Address</center>
</th>
<th>
<center>Banned By</center>
</th>
<th>
<center>Reason</center>
</th>
<th>
<center>Banned On</center>
</th>
<th>
<center>Banned Until</center>
</th>
</tr>
</thead>
<tbody>
<?php
date_default_timezone_set('UTC');
while($row = $retval->fetch_assoc()) {
if($row['banner'] == null) {
$row['banner'] = 'Console';
}
// <<-----------------Ban Date Converter------------>> //
$timeEpoch = $row['time'];
$timeConvert = $timeEpoch / 1000;
$timeResult = date('F j, Y, g:i a', $timeConvert);
// <<-----------------Expiration Time Converter------------>> //
$expiresEpoch = $row['expires'];
$expiresConvert = $expiresEpoch / 1000;
$expiresResult = date('F j, Y, g:i a', $expiresConvert);
?>
<tr>
<td>
<?php
$ip = $row['ip'];
$array = explode(".", $ip);
$numbers = $array[0] . "." . $array[1] . "." . $array[2];
$numbers .= ".";
for($i = 0; $i < strlen($array[3]); $i++) {
$numbers .= "*";
}
echo $numbers;
?>
</td>
<td><?php echo $row['banner'];?></td>
<td style="width: 30%;"><?php echo $row['reason'];?></td>
<td><?php echo $timeResult;?></td>
<td><?php if($row['expires'] == 0) {
echo 'ETERNO';
} else {
echo $expiresResult; }?></td>
</tr>
<?php }
$conn->close();
echo "</tbody></table>";
?>
But I want to leave the date, schedules etc ... In Portuguese but I can not ... It's just getting English. Could someone help me?