-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
58 lines (58 loc) · 2.39 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
include 'master/config.php';
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Панель управления Мастер-Сервером</title>
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link type="text/css" rel="StyleSheet" href="css/bootstrap.min.css" />
<script src="js/bootstrap.js"></script>
<script src="js/bootstrap-alert.js"></script>
<script src="js/bootstrap-button.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bystolen.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div style="margin:0 20px 0 20px;">
<a class="brand" href="index.php">Панель управления</a>
<ul class="nav">
<li><a href="">Статистика</a></li>
<li><a href="">Чёрный список</a></li>
<li><a onclick="location.reload()" href="#"><i class="icon-refresh"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="content">
<legend>Основные настройки</legend>
<div class="well sidebar-nav">
<div id="message"></div>
<form action="" id="settings" name="settings" method="post">
<table class="table table-bordered">
<tr><td>Хост</td><td><input type="text" name="host" id="host" size="15" value="<?php echo $settings['host']; ?>"></td></tr>
<tr><td>Порт</td><td><input type="text" name="port" id="port" size="5" value="<?php echo $settings['port']; ?>"></td></tr>
<tr><td>Сортировка по пингу</td><td>
<select id="sort">
<option value="1" <?php if($settings['sort']){echo 'selected';} ?>>Включена</option>
<option value="0" <?php if(!$settings['sort']){echo 'selected';} ?>>Выключена</option>
</select>
</td></tr>
</table>
<input id="button" class="btn btn-primary" onClick="set();" value="Обновить">
</form>
</div>
<table class="table table-bordered">
<tr>
<td><button class="btn btn-primary" onClick="ms(1);">Запустить</button></td>
<td><button class="btn btn-primary" onClick="ms(2);">Остановить</button></td>
<td><button class="btn btn-primary" onClick="ms(3);">Перезапустить</button></td>
</tr>
</table>
<span class="label label-info">Powered by Stolen</span>
</div>
</body>
</html>