forked from bmelim/zabdash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.php
61 lines (53 loc) · 2.28 KB
/
info.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
59
60
61
<?php
require_once '../include/config.inc.php';
require_once '../include/hosts.inc.php';
require_once '../include/actions.inc.php';
include('config.php');
require_once 'lib/ZabbixApi.class.php';
use ZabbixApi\ZabbixApi;
$api = new ZabbixApi($zabURL.'api_jsonrpc.php', ''. $zabUser .'', ''. $zabPass .'');
?>
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>ZabDash - Info</title>
<link rel="icon" href="img/dash.ico" type="image/x-icon" />
<link rel="shortcut icon" href="img/dash.ico" type="image/x-icon" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<style type="text/css">
a:link, a:focus, a:visited, a:hover { color: #3575AC !important;}
</style>
</head>
<body style='background-color: #fff; height:800px; background:url("img/bg.jpg");'>
<div id="content" class="col-md-12 col-sm-12" >
<div class="well info_box col-md-6" style="opacity: 0.9; height:460px; margin:auto; margin-top:100px; margin-bottom: 400px; float:none; text-align:center; font-size:14pt;">
<br>
<span style="font-weight: bold;">ZabDash - Zabbix Dashboard</span><p>
<br>
<?php echo $labels['Version']." ". $version; ?><br>
<br><p>
<?php echo $labels['Developed by']; ?>
<br>
<b>Stevenes Donato
<!-- <br>
<a href="mailto:[email protected]"> [email protected] </b> </a>
<br>-->
<br>
<a href="https://github.com/stdonato/zabdash" target="_blank" >https://github.com/stdonato/zabdash</a>
<br><p></p>
<br><p></p>
<div id="donate" style="margin-top:25px; margin-left:0px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="3SN6KVC4JSB98">
<input type="image" src="./img/paypal.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="./img/paypal.png" width="1" height="1">
</form>
</div>
</div>
</div>
</body>
</html>