1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 13:53:35 +02:00

Strict checks; implement GameID from extra data flags

This commit is contained in:
xPaw
2014-07-21 19:09:56 +03:00
parent 266cf6afe7
commit 5e84d9e873
4 changed files with 67 additions and 32 deletions
+14 -3
View File
@@ -39,7 +39,7 @@
<meta charset="utf-8">
<title>Source Query PHP Class</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<style type="text/css">
.jumbotron {
margin-top: 30px;
@@ -80,7 +80,7 @@
<table class="table table-bordered table-striped">
<thead>
<tr>
<th colspan="2">Server Info <em>(queried in <?php echo $Timer; ?>s)</em></th>
<th colspan="2">Server Info <span class="label label-<?php echo $Timer > 1.0 ? 'danger' : 'success'; ?>"><?php echo $Timer; ?>s</span></th>
</tr>
</thead>
<tbody>
@@ -97,7 +97,18 @@
}
else
{
echo htmlspecialchars( $InfoValue );
if( $InfoValue === true )
{
echo 'true';
}
else if( $InfoValue === false )
{
echo 'false';
}
else
{
echo htmlspecialchars( $InfoValue );
}
}
?></td>
</tr>