From 372ded439f2e31e2e31ecd379ab5a7919c78967e Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 12 Jan 2019 21:51:08 +0200 Subject: [PATCH] styling images --- classes/Item.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/classes/Item.php b/classes/Item.php index e5cea60..f3ac0d1 100644 --- a/classes/Item.php +++ b/classes/Item.php @@ -145,9 +145,13 @@ abstract class Item abstract public function printInfo(); - public function printImage() + public function printImage($bg_color = '#AAA',$border_color = '#EEE') { - echo ""; + echo << +IMG; } protected function wrap($number)