mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-24 23:16:41 +00:00
17 lines
486 B
PHP
17 lines
486 B
PHP
<?php
|
|
$status = isset($_GET["status"]);
|
|
page_header($status ? lang('Status') : lang('Variables'));
|
|
|
|
$variables = ($status ? show_status() : show_variables());
|
|
if (!$variables) {
|
|
echo "<p class='message'>" . lang('No rows.') . "\n";
|
|
} else {
|
|
echo "<table cellspacing='0'>\n";
|
|
foreach ($variables as $key => $val) {
|
|
echo "<tr>";
|
|
echo "<th><code class='jush-" . $jush . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
|
|
echo "<td>" . nbsp($val);
|
|
}
|
|
echo "</table>\n";
|
|
}
|