git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1467 7c3ca157-0c34-0410-bff1-cbf682f78f5c
12 lines
371 B
PHP
12 lines
371 B
PHP
<?php
|
|
$status = isset($_GET["status"]);
|
|
page_header($status ? lang('Status') : lang('Variables'));
|
|
|
|
echo "<table cellspacing='0'>\n";
|
|
foreach (($status ? show_status() : show_variables()) as $key => $val) {
|
|
echo "<tr>";
|
|
echo "<th><code class='jush-" . $driver . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
|
|
echo "<td>" . nbsp($val);
|
|
}
|
|
echo "</table>\n";
|