<div class="section_view col-md-8"><section class="widget">
            <header>
                <h4>
                    <i class="fa fa-wrench"></i>
                    Скрытие информации
                </h4>
            </header>
            <div class="body">
            <script src="/web/templates/default/js/ajax.js"></script>
                <form class="form-horizontal" method="post" action="/cabinet/settings">

                    <fieldset>
                        <legend class="section">Введите количество часов на которое нужно скрыть информацию о вашем персонаже!</legend>
                        <div class="control-group">
                            <label class="control-label" for="hideinfo_selected_char">Выберите персонажа</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-user"></i></span>
                                     <select class="form-control" 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>
                                </div>
                            </div>
                        </div> <div class="control-group">
                            <label class="control-label" for="count_hour">Введите кол-во часов</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-keyboard-o"></i></span>
                                    <input type="number" value="1" name="count_hour_hideinfo" class="form-control" id="count_hour" placeholder="Hour">
                                </div>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" style="width: 100%; text-align: center;">
                            Стоимость скрытия информации <br>
                            {$i=0}
                                    {foreach $Valutes as $valute}
                                        {if ($valute.Name != '' && $NeedToHide.Take.Valutes[$i] > 0)}
                                            <p id="valute_id_{$i}">{$valute.Name}: <span>{$NeedToHide.Take.Valutes[$i]}</span> </p>
                                        {/if}
                                        {$i=$i+1}
                                    {/foreach}
                            </label>
                
                        </div>
                    </fieldset>
                    <div class="form-actions">
                        <div style="text-align: center;">
                            <button type="submit" name="btn_hideinfo" class="btn btn-primary submit-btn">Скрыть</button>
                        </div>
                    </div>
                </form>
            </div>
        </section>
         
        <div id="key" style="display: none;">no</div>
        <script>

            $(document).ready(function () {
                var key = $("#key").html();
                if(key == 'no')
                    $('.key-hwid').hide();
                $(".key-hwid").tooltip();
            });

        </script></div>
        <div class="section_view col-md-8"><section class="widget">
            <header>
                <h4>
                    <i class="fa fa-unlock-alt"></i>
                    Сменить пароль
                </h4>
            </header>
            <div class="body">
                <form name="forgot" class="form-horizontal" method="post" action="/cabinet/settings">
                    <fieldset>
                        <legend class="section">Внимание! Не создавайте пароли аналогичные тем которые вы делали на других серверах, серьезно относитесь к безопасности вашего аккаунта!</legend>
                        <div class="control-group">
                            <label class="control-label" for="password-field">Старый пароль</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                                    <input type="password" name="old_pass" class="form-control" id="password-field" placeholder="Password">
                                </div>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="password-field">Новый пароль</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                                    <input type="password" name="new_pass" class="form-control" id="password-field" placeholder="Password">
                                </div>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="password-field">Подтверждение пароля</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                                    <input type="password" name="r_new_pass" class="form-control" id="password-field" placeholder="Password">
                                </div>
                            </div>
                        </div>
                    </fieldset>
                    <div class="form-actions">
                        <div class="show_forgot"></div>
                        <div>
                            <center><button type="submit" name="btn_new_pass" class="btn btn-primary submit-btn">Применить</button></center>
                        </div>
                    </div>
                </form>
            </div>
        </section>

    </div>
    

<!--
<div class="section_view col-md-6"><section class="widget">
            <header>
                <h4>
                    <i class="fa fa-wrench"></i>
                    Смена класса
                </h4>
            </header>
            <div class="body">
            <script src="/web/templates/default/js/ajax.js"></script>
                <form class="form-horizontal" method="post" action="/cabinet/settings">
                <center><legend class="section" class="section"><font color="#bf7300">Важно! Персонаж должен быть</font> <b><font color="#ff4646">Offline</b></font></legend></center>
                    <fieldset>
                        <div class="control-group">
                            <label class="control-label" for="hideinfo_selected_char">Выберите персонажа</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-user"></i></span>
                                     <select class="form-control" name="selected_char" id="selected_class">
                                        {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>
                                </div>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="selected_class">Выберите класс</label>
                            <div class="controls form-group">
                                <div class="input-group col-sm-8">
                                    <span class="input-group-addon"><i class="fa fa-user"></i></span>
                                     <select class="form-control" name="selected_class">
                                       {foreach $NeedToChangeClass.Classes item=need key=class}

                                            {if $need}
                                                <option value="{$class}">{$class}</option>
                                            {/if}

                                        {/foreach}
                                    </select>
                                </div>
                            </div>
                        </div> 
                        <div class="control-group">
                            <label class="control-label" style="width: 49%; text-align: center;">
                            Стоимость смены класса <br>
                            {$i=0}
                                    {foreach $Valutes as $valute}
                                        {if ($valute.Name != '' && $NeedToChangeClass.Take.Valutes[$i] > 0)}
                                            <p id="valute_id_{$i}">{$valute.Name}: <span>{$NeedToChangeClass.Take.Valutes[$i]}</span> </p>
                                        {/if}
                                        {$i=$i+1}
                                    {/foreach}
                            </label>
                 <label class="control-label" style="width: 49%; text-align: center;">
                            <p>Нужен левел: {$NeedToChangeClass.NeedLevel}</p>
                            <p>Нужен ресет: {$NeedToChangeClass.NeedReset}</p>
                            </label>
                
                        </div>
                    </fieldset>
                    <div>
                        <div style="text-align: center;">
                            <button type="submit" name="btn_new_class" class="btn btn-primary submit-btn">Сменить</button>
                        </div>
                    </div>
                </form>
            </div>
        </section>
-->
   
    </div>
    {foreach $Messages as $message}
    <script>
        $.fn.notij( "{$message}" ,{ 'type':'error' });
    </script>
{/foreach}