Here you go bud. It is extremely basic, put it together in about 10 minutes just now to give you a starting point, you can style it and adjust it to your liking. Just copy this whole thing to notepad, adjust the Database settings to your database, save as whatever.php, and upload to your site.
Uses PHP7. If you're on an older version of PHP, you will need to change any instances of 'mysqli' to 'mysql'. Good luck <3
Here is a demo of the code beloww:
http://raidboss.org/calladmin.php
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Bootstrap 4 Beta 2 -->
<link async rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
</head>
<body>
<div class="col-md-12">
<table class="table table-sm">
<tr class="text-center" style="margin-bottom:15px"><td colspan="7">Call Admin Requests</td></tr>
<tr>
<td>Server IP</td>
<td>Target Name</td>
<td>Target SteamID</td>
<td>Reason</td>
<td>Reporter Name</td>
<td>Reporter SteamID</td>
<td>Date Reported</td>
</tr>
<?
//DB Config
$servername = "yourHostIP";
$username = "yourDBUserName";
$password = "yourDBPassword";
$db = "yourCallAdminDB";
// Create connection
$conn = mysqli_connect($servername, $username, $password, $db);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
//Get all info from calladmin db (callID, serverIP, serverPort, serverName, serverKey, targetName, targetID, targetReason, [cont...])
// [cont...] clientName, clientID, callHandled, reportedAt)
$callAdmin_query = mysqli_query($conn, "SELECT * FROM calladmin");
while($callAdmin = mysqli_fetch_assoc($callAdmin_query)){
?>
<tr style="font-size:12px">
<td><?=$callAdmin['serverIP'];?></td>
<td><?=$callAdmin['targetName'];?></td>
<td><?=$callAdmin['targetID'];?></td>
<td><?=$callAdmin['targetReason'];?></td>
<td><?=$callAdmin['clientName'];?></td>
<td><?=$callAdmin['clientID'];?></td>
<td><?=date("F j, Y, g:i a", $callAdmin['reportedAt']);?></td>
</tr>
<? } ?>
<? mysqli_close($conn); ?>
</table>
</div>
</body>
</html>