2017-05-07 16:49:38 +00:00
|
|
|
<?php require '../config.php'; ?>
|
2017-09-09 08:40:07 +00:00
|
|
|
<?php loadClass('Helper')->authPage(); ?>
|
2017-05-07 16:49:38 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getHead(); ?>
|
2017-05-07 16:49:38 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getNavbar(); ?>
|
2017-05-07 16:49:38 +00:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<h1>Memcached Info</h1>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php if (!loadClass('Memcd')->isAvailable()): ?>
|
2021-04-19 14:29:43 +00:00
|
|
|
<p>Memcached container is not running.</p>
|
2017-05-08 07:43:43 +00:00
|
|
|
<?php else: ?>
|
|
|
|
<?php foreach (loadClass('Memcd')->getInfo() as $srv => $data): ?>
|
|
|
|
<h2><?php echo $srv; ?></h2>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead class="thead-inverse">
|
2017-05-07 16:49:38 +00:00
|
|
|
<tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
<th>Variable</th>
|
|
|
|
<th>Value</th>
|
2017-05-07 16:49:38 +00:00
|
|
|
</tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($data as $key => $val): ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php echo $key;?></td>
|
|
|
|
<td class="break-word"><code><?php echo $val;?></code></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php endif; ?>
|
2017-05-07 16:49:38 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- /.container -->
|
|
|
|
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getFooter(); ?>
|
2017-05-07 16:49:38 +00:00
|
|
|
</body>
|
|
|
|
</html>
|