2016-11-15 18:39:11 +00:00
|
|
|
<?php require '../config.php'; ?>
|
2017-09-09 08:40:07 +00:00
|
|
|
<?php loadClass('Helper')->authPage(); ?>
|
2016-11-15 18:39:11 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getHead(); ?>
|
2016-11-15 18:39:11 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getNavbar(); ?>
|
2016-11-15 18:39:11 +00:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
2017-05-07 16:49:38 +00:00
|
|
|
<h1>Memcached Keys</h1>
|
2016-11-15 18:39:11 +00:00
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php if (!loadClass('Memcd')->isAvailable()): ?>
|
|
|
|
<p>Memcached container is not running.</p>
|
2017-05-08 07:43:43 +00:00
|
|
|
<?php else: ?>
|
|
|
|
<table class="table table-striped ">
|
|
|
|
<thead class="thead-inverse ">
|
2016-11-15 18:39:11 +00:00
|
|
|
<tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
<th>Key</th>
|
2018-12-10 19:09:09 +00:00
|
|
|
<th>Size</th>
|
|
|
|
<th>TTL</th>
|
2017-05-08 07:43:43 +00:00
|
|
|
<th>Value</th>
|
|
|
|
</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach (loadClass('Memcd')->getKeys() as $data): ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php print_r($data['key']);?></td>
|
2018-12-10 19:09:09 +00:00
|
|
|
<td><?php print_r($data['size']);?></td>
|
|
|
|
<td><?php print_r($data['ttl']);?></td>
|
|
|
|
<td><?php print_r($data['val']);?></td>
|
2017-05-08 07:43:43 +00:00
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<?php endif; ?>
|
2016-11-15 18:39:11 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- /.container -->
|
|
|
|
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getFooter(); ?>
|
2016-11-15 18:39:11 +00:00
|
|
|
</body>
|
|
|
|
</html>
|