From 1224d4aba125bf9a447015921b7646bd298d718c Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 28 Dec 2018 00:11:30 +0200 Subject: [PATCH] tests --- functions.php | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 0d95298..c42eba5 100644 --- a/functions.php +++ b/functions.php @@ -1131,11 +1131,22 @@ HTML; $data = db::c()->query('SELECT * FROM `online` WHERE `date` >= ?i AND `id` = ?i', time() - 60, $user['id'])->fetch_assoc(); $r .= ''; - $ru_1 = show_rune(1, $user['id']); - $ru_2 = show_rune(2, $user['id']); - $ru_3 = show_rune(3, $user['id']); - $r .= '
' . $ru_1 . '' . $ru_2 . '' . $ru_3 . '
'; + function item($image,$bg_color,$border_color) + { + return ''; + } + + $r .= '
'; + $r .= item('','#6D0329','#F94B89'); + $r .= '
'; + + #$ru_1 = show_rune(1, $user['id']); + #$ru_2 = show_rune(2, $user['id']); + #$ru_3 = show_rune(3, $user['id']); + #$r .= '
' . $ru_1 . '' . $ru_2 . '' . $ru_3 . '
'; $r .= '
'; if (!$battle) {