Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php 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);
- ?>
Add Comment
Please, Sign In to add comment