tests
This commit is contained in:
parent
2b0b083717
commit
1224d4aba1
@ -1131,11 +1131,22 @@ HTML;
|
|||||||
$data = db::c()->query('SELECT * FROM `online` WHERE `date` >= ?i AND `id` = ?i', time() - 60, $user['id'])->fetch_assoc();
|
$data = db::c()->query('SELECT * FROM `online` WHERE `date` >= ?i AND `id` = ?i', time() - 60, $user['id'])->fetch_assoc();
|
||||||
|
|
||||||
$r .= '</td></tr></table></td></tr></table>';
|
$r .= '</td></tr></table></td></tr></table>';
|
||||||
$ru_1 = show_rune(1, $user['id']);
|
|
||||||
$ru_2 = show_rune(2, $user['id']);
|
|
||||||
$ru_3 = show_rune(3, $user['id']);
|
|
||||||
|
|
||||||
$r .= '<table cellspacing="0" cellpadding="0" border="0" style="background: url(i/runes_slots.jpg) no-repeat center bottom;"><tbody><tr><td width="59" height="48" align="right">' . $ru_1 . '</td><td width="74" height="48" align="center">' . $ru_2 . '</td><td width="57" height="48" align="left">' . $ru_3 . '</td></tr></tbody></table></center>';
|
function item($image,$bg_color,$border_color)
|
||||||
|
{
|
||||||
|
return '<img src="' . $image . '" style="width: 48px; height: 48px; border-radius: 5px; border: 1px solid rgba(0, 0, 0, 0.25);
|
||||||
|
padding: 7px; display: inline-block; background-repeat: no-repeat;
|
||||||
|
background-color: ' . $bg_color . '; background-image: radial-gradient(circle, ' . $border_color . ', ' . $bg_color . ');">';
|
||||||
|
}
|
||||||
|
|
||||||
|
$r .= '<div style="text-align: center">';
|
||||||
|
$r .= item('','#6D0329','#F94B89');
|
||||||
|
$r .= '</div>';
|
||||||
|
|
||||||
|
#$ru_1 = show_rune(1, $user['id']);
|
||||||
|
#$ru_2 = show_rune(2, $user['id']);
|
||||||
|
#$ru_3 = show_rune(3, $user['id']);
|
||||||
|
#$r .= '<table cellspacing="0" cellpadding="0" border="0" style="background: url(i/runes_slots.jpg) no-repeat center bottom;"><tbody><tr><td width="59" height="48" align="right">' . $ru_1 . '</td><td width="74" height="48" align="center">' . $ru_2 . '</td><td width="57" height="48" align="left">' . $ru_3 . '</td></tr></tbody></table></center>';
|
||||||
$r .= '<center><table cellPadding=0 cellSpacing=0 width="100%"><tbody>';
|
$r .= '<center><table cellPadding=0 cellSpacing=0 width="100%"><tbody>';
|
||||||
|
|
||||||
if (!$battle) {
|
if (!$battle) {
|
||||||
|
Loading…
Reference in New Issue
Block a user