name = "Change Name Colors and Style!";
$this->desc = "Change the text color, style and background color of your display name.";
$this->price = 75;
$this->require_input = true;
$this->can_use_item = true;
}
function getUseInput() {
return 'Select a Text Color:
Select a Background Color:
Select a Style: ';
}
function onUse() {
global $db_prefix, $ID_MEMBER;
$result = db_query("UPDATE {$db_prefix}members
SET shop_nameStyle =
concat(shop_nameStyle,'{$_POST['style_']}; {$_POST['bgcolor_']}; {$_POST['color_']};')
WHERE ID_MEMBER = {$ID_MEMBER}",
__FILE__, __LINE__);
return "Successfully updated your display name colors and style!";
}
}
?>