|
42 | 42 | <meta charset="utf-8"> |
43 | 43 | <title>Source Query PHP Library</title> |
44 | 44 |
|
45 | | - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
| 45 | + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> |
46 | 46 | <style type="text/css"> |
47 | | - .jumbotron { |
48 | | - margin-top: 30px; |
49 | | - border-radius: 0; |
| 47 | + .table { |
| 48 | + border-top-color: #428BCA; |
50 | 49 | } |
51 | 50 |
|
52 | 51 | .table thead th { |
|
58 | 57 | </head> |
59 | 58 |
|
60 | 59 | <body> |
61 | | - <div class="container"> |
62 | | - <div class="jumbotron"> |
| 60 | + <div class="jumbotron"> |
| 61 | + <div class="container"> |
63 | 62 | <h1>Source Query PHP Library</h1> |
64 | 63 |
|
65 | | - <p>This library was created to query game server which use the Source (Steamworks) query protocol.</p> |
| 64 | + <p class="lead">This library was created to query game server which use the Source (Steamworks) query protocol.</p> |
66 | 65 |
|
67 | 66 | <p> |
68 | | - <a class="btn btn-large btn-primary" href="http://xpaw.me">Made by xPaw</a> |
| 67 | + <a class="btn btn-large btn-primary" href="https://xpaw.me">Made by xPaw</a> |
69 | 68 | <a class="btn btn-large btn-primary" href="https://github.com/xPaw/PHP-Source-Query">View on GitHub</a> |
70 | 69 | <a class="btn btn-large btn-danger" href="https://github.com/xPaw/PHP-Source-Query/blob/master/LICENSE">LGPL v2.1</a> |
71 | 70 | </p> |
72 | 71 | </div> |
| 72 | + </div> |
73 | 73 |
|
| 74 | + <div class="container"> |
74 | 75 | <?php if( isset( $Exception ) ): ?> |
75 | 76 | <div class="panel panel-primary"> |
76 | 77 | <div class="panel-heading"><?php echo Get_Class( $Exception ); ?> at line <?php echo $Exception->getLine( ); ?></div> |
|
83 | 84 | <table class="table table-bordered table-striped"> |
84 | 85 | <thead> |
85 | 86 | <tr> |
86 | | - <th colspan="2">Server Info <span class="label label-<?php echo $Timer > 1.0 ? 'danger' : 'success'; ?>"><?php echo $Timer; ?>s</span></th> |
| 87 | + <th>Server Info</th> |
| 88 | + <th><span class="label label-<?php echo $Timer > 1.0 ? 'danger' : 'success'; ?>"><?php echo $Timer; ?>s</span></th> |
87 | 89 | </tr> |
88 | 90 | </thead> |
89 | 91 | <tbody> |
|
134 | 136 | </tr> |
135 | 137 | </thead> |
136 | 138 | <tbody> |
137 | | -<?php if( Is_Array( $Players ) ): ?> |
| 139 | +<?php if( !empty( $Players ) ): ?> |
138 | 140 | <?php foreach( $Players as $Player ): ?> |
139 | 141 | <tr> |
140 | 142 | <td><?php echo htmlspecialchars( $Player[ 'Name' ] ); ?></td> |
|
0 commit comments