connect_errno > 0){ die('Unable to connect to database [' . $db->connect_error . ']'); } $result = $db->query("SELECT * FROM banlist ORDER BY time DESC"); echo ""; echo ""; while($row = $result->fetch_assoc()){ if($col == "#eeeeee"){ $col = "#ffffff"; }else{ $col = "#eeeeee"; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; if($row['temptime'] == "0000-00-00 00:00:00"){ echo ""; }else{ echo ""; } echo ""; } echo"
Name UUID Reason Admin/Mod Time of ban Time of unban
".$row['name']."".$row['uuid']."".$row['reason']."".$row['admin']."".$row['time']."".$row['temptime']."
" ?> Ban database provided by FigAdmin.