Commit 2243f6e0 authored by nextime's avatar nextime

Added screenshots link

parent 31d67e34
...@@ -5,4 +5,6 @@ Domotika home automation system controller daemon ...@@ -5,4 +5,6 @@ Domotika home automation system controller daemon
Donations are accepted in Bitcoins to 1GpZkuwMEXno7jW19oqoaraVoVS6VBCvX5 Donations are accepted in Bitcoins to 1GpZkuwMEXno7jW19oqoaraVoVS6VBCvX5
[Screenshots of the webgui](http://www.unixmedia.it/en/interfaccia-utente)
[![piwik tracking](https://webstats.unixmedia.it/piwik.php?idsite=2&rec=1&action_name=GitHubDomotikad "unixmedia.it")](http://www.unixmedia.it) [![piwik tracking](https://webstats.unixmedia.it/piwik.php?idsite=2&rec=1&action_name=GitHubDomotikad "unixmedia.it")](http://www.unixmedia.it)
<? @include_once("../../includes/common.php"); ?> <? @include_once("../../includes/common.php"); ?>
<? <?
$_SESSION[PANELS_CHARTS]=array(); $_SESSION['PANELS_CHARTS']=array();
if($panel && is_array($panel)) { if($panel && is_array($panel)) {
$days = getLastNDays(7, 'Y-m-d' ); $days = getLastNDays(7, 'Y-m-d' );
$daysql = getLastNDays(7, 'Y-m-d'); $daysql = getLastNDays(7, 'Y-m-d');
...@@ -40,7 +40,7 @@ if($panel && is_array($panel)) { ...@@ -40,7 +40,7 @@ if($panel && is_array($panel)) {
<? <?
foreach($charts as $chart) { foreach($charts as $chart) {
//print_r($chart); //print_r($chart);
$_SESSION[PANELS_CHARTS][$chart['name']."-".$panel['id']]=$chart; $_SESSION['PANELS_CHARTS'][$chart['name']."-".$panel['id']]=$chart;
?> ?>
<div id="<?=$chart['name']."-".$panel['id']?>" style="height:200px;width:550px"><?=$chart['name']?></div> <div id="<?=$chart['name']."-".$panel['id']?>" style="height:200px;width:550px"><?=$chart['name']?></div>
<? <?
......
<? @include_once("../../includes/common.php"); ?> <? @include_once("../../includes/common.php"); ?>
<? <?
$showpanels=array();
foreach($panels as $panel) foreach($panels as $panel)
{ {
$paneldo=TRUE; $paneldo=TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment