<script src="/web/templates/default/js/tooltip.js" type="text/javascript"></script>

<link rel="stylesheet" href="/web/templates/default/css/shop.css">
<h1>Магазин (Купленые вещи)</h1>
<a href="/user" class="back-to-user-menu">Back to user menu</a>
<div>

    <div class="smithy">

        <div class="return">
            <span>{$Valutes[$Config.MainValute].Name}: {$CharacterValutes[$Config.MainValute].Count}</span>
            <a href="/user/shop" class="nice-button">В магазин</a>
        </div>

        <div class="spacer_2px"></div>

        <div class="smithy_wrapper">


<table class="return-item-table" width="100%">
    <thead>
    <tr>
        <th>Вещь</th>
        <th>Дата и время покупки</th>
        <th>Стоимость</th>
        <th>Вернуть</th>
    </tr>
    </thead>
    <tbody>
    {foreach $List as $item}
        <tr>
            <td style="height: 90px;" class="">
                <div style='height: 100%; background: url("{$item.item.thumb}") no-repeat center center;' onmouseover="Tip('{$item.item.info}');" onmouseout="UnTip();">&nbsp;</div>
            </td>
            <td class="vote-time">{$item.time}</td>
            <td class="">{$item.price}</td>
            <td class=""><button name="back_button"  value="{$item.id}">Вернуть {round($item.price - $item.price * $ReturnProcent/100)}</button></td>
        </tr>

    {/foreach}
    </tbody>
</table>
        </div>

        <div class="spacer_2px"></div>
    </div>



    </form>
</div>




