mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-26 16:01:05 +00:00
63 lines
2.1 KiB
PHTML
63 lines
2.1 KiB
PHTML
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<head>
|
|
<title>PHPMemcachedAdmin <?php echo CURRENT_VERSION; ?></title>
|
|
<link rel="stylesheet" type="text/css" href="Public/Styles/Style.css"/>
|
|
<script type="text/javascript" src="Public/Scripts/Highcharts/highcharts.js"></script>
|
|
<script type="text/javascript" src="Public/Scripts/script.js"></script>
|
|
</head>
|
|
<body>
|
|
<div style="margin:0pt auto; width:1000px; clear:both;">
|
|
<div style="font-weight:bold;font-size:1.2em;">PHPMemcachedAdmin <sup><?php echo CURRENT_VERSION; ?></sup>
|
|
</div>
|
|
<div class="header corner full-size padding" style="text-align:center;margin-top:5px;">
|
|
<?php
|
|
# Live Stats view
|
|
if(basename($_SERVER['PHP_SELF']) == 'stats.php')
|
|
{ ?>
|
|
Live Stats |
|
|
<?php
|
|
} else { ?>
|
|
<a href="stats.php">See Live Stats </a> |
|
|
<?php
|
|
}
|
|
# Stats view
|
|
if(basename($_SERVER['PHP_SELF']) == 'index.php')
|
|
{ ?>
|
|
Actually seeing
|
|
<?php
|
|
} else { ?>
|
|
<a href="index.php">See Stats for </a>
|
|
<?php
|
|
}
|
|
# Server HTML select
|
|
echo Library_HTML_Components::serverSelect('server_select', (isset($_REQUEST['server'])) ? $_REQUEST['server'] : '', 'list', 'onchange="changeServer(this)"'); ?>
|
|
|
|
|
<?php
|
|
# Commands view
|
|
if(basename($_SERVER['PHP_SELF']) == 'commands.php')
|
|
{ ?>
|
|
Executing Commands on Servers
|
|
<?php
|
|
} else { ?>
|
|
<a href="commands.php">Execute Commands on Servers</a>
|
|
<?php
|
|
}?>
|
|
</div>
|
|
<?php
|
|
if (is_writable($_ini->get('file_path')) === false) {
|
|
?>
|
|
<div class="header corner full-size padding" style="margin-top:10px;">
|
|
Warning : Temporary directory '<em><?php echo $_ini->get('file_path') ?></em>' is not writable, please fix this error and try again.
|
|
</div>
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
<!--[if IE]>
|
|
<div class="header corner full-size padding" style="text-align:center;margin-top:10px;">
|
|
Support browsers that contribute to open source, try <a href="http://www.firefox.com" target="_blank">Firefox</a> or <a href="http://www.google.com/chrome" target="_blank">Google Chrome</a>.
|
|
</div>
|
|
<![endif]-->
|