diff --git a/CounterTable/module.php b/CounterTable/module.php index c359579..219ad99 100644 --- a/CounterTable/module.php +++ b/CounterTable/module.php @@ -44,8 +44,13 @@ class CounterTable extends IPSModule { $cost = 0.0; $cost = $cnt->Monthly * $price; + $style =''; + if ($cnt->Monthly > $cnt->Limit){ + $style = 'style="background-color:yellow;"'; + } + $dataoutput .= ' -