コード例 #1
0
ファイル: server.php プロジェクト: hewu/blogwp
        <table><tbody>
<?php 
$constants = @get_defined_constants();
ksort($constants);
$first = true;
foreach ($constants as $key => $value) {
    echo sprintf('<tr%s><td class="first b">%s:</td><td class="t">%s</td></tr>', $first ? ' class="first"' : '', $key, $value);
    $first = false;
}
?>
        </tbody></table>
    </div>
</div>
<div id="fragment-3" class="gdrgrid">
    <div class="table">
        <table><tbody>
<?php 
$mysql_info = GDPTDB::get_mysql_server_info();
$first = true;
foreach ($mysql_info as $info) {
    echo sprintf('<tr%s><td class="first b">%s:</td><td class="t">%s</td></tr>', $first ? ' class="first"' : '', $info->Variable_name, htmlspecialchars($info->Value));
    $first = false;
}
?>
        </tbody></table>
    </div>
</div>
</div>

</div></div>