initial commit
This commit is contained in:
@@ -0,0 +1,188 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css" media="screen">
|
||||
<link rel="stylesheet" href="tigra_calendar/tcal.css" media="screen">
|
||||
<script type="text/javascript"src="dygraph/dygraph.js"></script>
|
||||
<script type="text/javascript"src="Suggest/ajax.js"></script>
|
||||
<script type="text/javascript"src="Suggest/suggest.js"></script>
|
||||
<script type="text/javascript"src="Suggest/jquery.js"></script>
|
||||
<link rel="stylesheet" src="dygraph/dygraph.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
$az= $_GET['az'];
|
||||
$ra= $_GET['ra'];
|
||||
$hd= $_GET['hd'];
|
||||
|
||||
if (empty($az)) {$az=2;}
|
||||
if (empty($ra)) {$ra=2;}
|
||||
if (empty($hd)) {$hd=2;}
|
||||
|
||||
|
||||
|
||||
|
||||
echo "<body>";
|
||||
|
||||
if ($hd==2) {
|
||||
if ($ra==1) {$oo='true';
|
||||
if ($az==1) {$gradi='graphdiv3h'; $line='false';}
|
||||
if ($az==2) {$gradi='graphdiv2h'; $line='true';}
|
||||
}
|
||||
if ($ra==2) {$oo='false';
|
||||
if ($az==1) {$gradi='graphdiv3h'; $line='false';}
|
||||
if ($az==2) {$gradi='graphdiv2h'; $line='true';}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($hd==1) {
|
||||
if ($ra==1) {$oo='true';
|
||||
if ($az==1) {$gradi='graphdiv3d'; $line='true';}
|
||||
if ($az==2) {$gradi='graphdiv2d'; $line='false';}
|
||||
}
|
||||
if ($ra==2) {$oo='false';
|
||||
if ($az==1) {$gradi='graphdiv3d'; $line='true';}
|
||||
if ($az==2) {$gradi='graphdiv2d'; $line='false';}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($az==1) {
|
||||
|
||||
?>
|
||||
<div class='top'>
|
||||
<div id="legend2""></div>
|
||||
<br class='clear'/>
|
||||
</div>
|
||||
|
||||
<div class='mitte'>
|
||||
|
||||
<div class="dypos">
|
||||
<div id="<?php echo $gradi; ?>">
|
||||
|
||||
</div>
|
||||
<div id='text'></div>
|
||||
<script type="text/javascript">
|
||||
g2 = new Dygraph(
|
||||
document.getElementById("<?php echo $gradi; ?>"),
|
||||
"graph.csv"
|
||||
, // path to CSV file
|
||||
{
|
||||
legend: 'always',
|
||||
labelsDiv: document.getElementById('legend2'),
|
||||
labelsSeparateLines: <?php echo $line; ?>,
|
||||
hideOverlayOnMouseOut: false,
|
||||
|
||||
colorSaturation: ('0.9'),
|
||||
colorValue: ('0.8'),
|
||||
labelsSeparateLines: false,
|
||||
showRangeSelector: <?php echo $oo; ?>,
|
||||
} // options
|
||||
);
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($az==2) {
|
||||
|
||||
?>
|
||||
|
||||
<div class='mitte2'>
|
||||
<div class='links'>
|
||||
<div id="legend";"></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="dypos">
|
||||
<div id="<?php echo $gradi; ?>"></div>
|
||||
<div id='text'></div>
|
||||
<script type="text/javascript">
|
||||
g2 = new Dygraph(
|
||||
document.getElementById("<?php echo $gradi; ?>"),
|
||||
"graph.csv"
|
||||
, // path to CSV file
|
||||
{
|
||||
legend: 'always',
|
||||
labelsDiv: document.getElementById('legend'),
|
||||
labelsSeparateLines: true,
|
||||
colorSaturation: ('0.9'),
|
||||
colorValue: ('0.8'),
|
||||
showRangeSelector: <?php echo $oo; ?>,
|
||||
} // options
|
||||
);
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class='bottom'>
|
||||
|
||||
<div class='rechtslogo'>
|
||||
<img src='bilder/logo_sm.png' alt='SE'/>
|
||||
</div>
|
||||
<div class='rechtshome'>
|
||||
<a href="index.php" ><?php echo " <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/home.png' alt='SE'/> </span>";?></a>
|
||||
</div>
|
||||
<?php
|
||||
echo "<div class='rechtsmen'>";
|
||||
if($az==1){
|
||||
echo "<a href='anzeige.php?az=2&ra=$ra&hd=$hd'> <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/legende3.png'/> </span></a>";
|
||||
}
|
||||
if($az==2){
|
||||
echo "<a href='anzeige.php?az=1&ra=$ra&hd=$hd'> <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/legende1o.png'/> </span></a>";
|
||||
}
|
||||
echo "</div>";
|
||||
|
||||
|
||||
|
||||
echo "<div class='rechtsmen'>";
|
||||
if($ra==1){
|
||||
echo "<a href='anzeige.php?ra=2&az=$az&hd=$hd'> <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/range1.png'/> </span></a>";
|
||||
}
|
||||
if($ra==2){
|
||||
echo "<a href='anzeige.php?ra=1&az=$az&hd=$hd'> <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/range2.png'/> </span></a>";
|
||||
}
|
||||
echo "</div>";
|
||||
|
||||
|
||||
echo "<div class='rechtsmen'>";
|
||||
if($hd==2){
|
||||
echo "<a href='anzeige.php?hd=1&az=$az&ra=$ra'> <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/bwdu.png'/> </span></a>";
|
||||
}
|
||||
if($hd==1){
|
||||
echo "<a href='anzeige.php?hd=2&az=$az&ra=$ra'> <span class='blue'><img class='bildbot' usemap= 'Mapi' src='bilder/bwhe2.png'/> </span></a>";
|
||||
}
|
||||
echo "</div>";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Copyright © 2019 | SE-Gebäudeautomation AG | Raiffeisenstraße 17 | 73630 Urbach
|
||||
<br class='clear'/>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user