-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgraphparam.php
More file actions
32 lines (32 loc) · 1.17 KB
/
graphparam.php
File metadata and controls
32 lines (32 loc) · 1.17 KB
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
<?php
require("sessionCheck.php");
require("config.php");
?>
<!DOCTYPE html>
<html>
<head>
<title><?=$_GET['mampid']?> -- MArC</title>
<script type="text/javascript" src="<?=$root?>js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#start').focus();
});
</script>
</head>
<body>
<form method="get">
<img src="<?=$root?>graph.php?<?=htmlentities($_SERVER['QUERY_STRING'])?>&width=640&cache=0" /><br/>
<input type="hidden" name="mampid" value="<?=htmlentities($_GET['mampid'])?>" />
<input type="hidden" name="what" value="<?=htmlentities($_GET['what'])?>" />
<?php if ( isset($_GET['CI']) ){ ?>
<input type="hidden" name="CI" value="<?=htmlentities($_GET['CI'])?>" />
<?php } ?>
<label for="start">Start: </label><input type="text" id="start" name="start" value="<?=htmlentities($_GET['start'])?>" size="8"/>
<label for="end">End: </label><input type="text" id="end" name="end" value="<?=htmlentities($_GET['end'])?>" size="8" />
<input type="submit" value="Update" />
</form>
<div>
<p>A variety of suffixes like "min", "weeks" and "months" is accepted, see <tt>rrdfetch(1)</tt> for details.</p>
</div>
</body>
</html>