<script src="/web/templates/default/js/ajax.js"></script>

<div id="content" style="text-align: center; color: #fff;">
    <div id="box1">
        <div class="title1">
<img src="/web/templates/Freyamu/images/skrinf.png">

            <a href="/user" class="back-to-user-menu">Вернуться</a>
        </div>
        <div id="content_center">
            <div class="box-style1" style="margin-bottom:25px;">
                <div class="entry">
                    <div>
                        <form action="/user/hideinfo" method="post">
                            <table class="need-to-greset">
                                <tr>
                                    <td>Имя персонажа: </td>
                                    <td ><b style="color:#FECF75;">
                                            <select name="selected_char" id="hideinfo_selected_char">
                                                {foreach $Chars as $char}
                                                    {if $char != ''}
                                                        {if $char == $ActiveChar}
                                                            <option value="{$char}" selected>{$char}</option>
                                                        {else}
                                                            <option value="{$char}">{$char}</option>
                                                        {/if}
                                                    {/if}
                                                {/foreach}
                                            </select>
                                    </td>
                                </tr>

                                <tr>
                                    <td>Нужен уровень: </td>
                                    <td>{$NeedToChangeClass.NeedLevel}</td>
                                </tr>
                                <tr>
                                    <td>Нужен ресет: </td>
                                    <td>{$NeedToChangeClass.NeedReset}</td>
                                </tr>

                                <tr>
                                    <td>Введите количество часов: </td>
                                    <td>
                                        <input type="number" value="1" name="count_hour_hideinfo" id="count_hour">
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">Стоимость скрытия информации</td>
                                </tr>
                                <tr>
                                    {$i=0}
                                    {foreach $Valutes as $valute}
                                        {if ($valute.Name != '' && $NeedToChangeClass.Take.Valutes[$i] > 0)}
                                            <td id="valute_id_{$i}">{$valute.Name}: <span>{$NeedToChangeClass.Take.Valutes[$i]}</span> </td>
                                        {/if}
                                        {$i=$i+1}
                                    {/foreach}
                                </tr>
                                <tr>
                                    <td colspan="2"><button name="btn_hideinfo" class="btn">Скрыть</button></td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
