function noBorderItemTable($item, $item_data = 0)
{
    global $lang;
    $flags2 = getItemFlags2($item['entry']);
    echo '<table class=item cellspacing=0><tbody>';
    renderItemData($item, $item_data);
    // Extra data
    if ($flags2 & ITEM_FLAGS2_HORDE_ONLY) {
        echo '<tr><td>' . $lang['reqirement'] . ':&nbsp;' . $lang['Horde'] . '</td></tr>';
    }
    if ($flags2 & ITEM_FLAGS2_ALLIANCE_ONLY) {
        echo '<tr><td>' . $lang['reqirement'] . ':&nbsp;' . $lang['Alliance'] . '</td></tr>';
    }
    if ($item['SellPrice']) {
        echo '<tr><td class=sellprice>&nbsp;' . $lang['sell_price'] . ':&nbsp;' . money($item['SellPrice']) . '</td></tr>';
    } else {
        echo '<tr><td class=sellprice>&nbsp;' . $lang['no_sell_price'] . '</td></tr>';
    }
    // echo '<tr><td class=bottom>This is from MaNGOS database!</td></tr>';
    echo '</tbody></table>';
}
function r_vendorCost($data)
{
    $flags2 = getItemFlags2($data['entry']);
    if ($data['ExtendedCost'] > 0) {
        $cost = getExtendCost($data['ExtendedCost']);
        if ($flags2 & ITEM_FLAGS2_EXT_COST_REQUIRES_GOLD) {
            echo money($data['BuyPrice']) . '' . r_excostCost($cost);
        } else {
            r_excostCost($cost);
        }
    } else {
        echo money($data['BuyPrice']);
    }
}