Update 'backend/view-system.php'
This commit is contained in:
@@ -44,7 +44,9 @@ if(isset($_GET["sysID"]) && !empty(trim($_GET["sysID"]))){
|
||||
|
||||
// Close statement
|
||||
mysqli_stmt_close($stmt);
|
||||
|
||||
$string = $row["sysMeta"];
|
||||
$trimmedString = trim($string);
|
||||
$lines = explode("\n", $trimmedString);
|
||||
// Close connection
|
||||
} else{
|
||||
// URL doesn't contain id parameter. Redirect to error page
|
||||
@@ -263,6 +265,27 @@ if(isset($_GET["sysID"]) && !empty(trim($_GET["sysID"]))){
|
||||
<p class="form-control-static">
|
||||
<?php echo $row["WinKey"]; ?></p>
|
||||
</div>
|
||||
<div class="meta col-md-4 viewer form-group">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<thead>
|
||||
<th class="meta">Meta Tag</th>
|
||||
<th class="meta">Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
foreach($lines as $line) {
|
||||
echo "<tr>";
|
||||
$elements = explode("*", $line);
|
||||
foreach($elements as $element) {
|
||||
echo "<td>" . $element . "</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="nav-tickets" role="tabpanel" aria-labelledby="nav-tickets-tab">
|
||||
|
||||
@@ -394,8 +417,6 @@ if(isset($_GET["sysID"]) && !empty(trim($_GET["sysID"]))){
|
||||
</div>
|
||||
</div>
|
||||
<!-- / CONTENT -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -403,5 +424,4 @@ if(isset($_GET["sysID"]) && !empty(trim($_GET["sysID"]))){
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user