diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 4673db15f..3cf379181 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -1,10 +1,15 @@
-
-
".$left_text."
-
".$right_text."
"; +function print_percentage_bar ($width, $height, $percent, $left_text, $left_colour, $left_background, $right_text, $right_colour, $right_background) +{ + $output = ' +
+
+
+
'.$left_text.'
+
'.$right_text.'
+
+
'; return $output; }