{include file="./index_top.tpl"}
<script language="JavaScript" type="text/javascript">
    // значения для системной подсказки
    var help_section = 'Settings';
    var help_sub_section = 'Additional';
</script>
<div align=center>
    <br>{$lang.Proxy_settings}<span class='help_bt' h_id='Proxy_settings'></span><br><br>
    <form action="edit_proxy.php" method="post">
        <input type=hidden name=csrf value='{$csrf}'>
        <table border=0 cellpadding=3>
            {if $message}
                <TR>
                    <TD colspan=2 align=center>
                        <span style="color:green">{$message}</span><br><br>
                    </TD>
                </TR>
            {/if}
            <TR>
                <TD align=right>{$lang.Address}<span class='help_bt' h_id='Address'></span>:</TD>
                <TD><input class="form-control form-control-160" type=text name=proxy_host value='{$config.proxy_host}' size=20></TD>
            </TR>
            <TR>
                <TD align=right>{$lang.Port}<span class='help_bt' h_id='Port'></span>:</TD>
                <TD><input class="form-control form-control-160" type=text name=proxy_port value='{$config.proxy_port}' size=20></TD>
            </TR>
            <TR>
                <TD align=right>{$lang.Login}<span class='help_bt' h_id='Login'></span>:</TD>
                <TD><input class="form-control form-control-160" type=text name=proxy_user value='{$config.proxy_user}' size=20></TD>
            </TR>
            <TR>
                <TD align=right>{$lang.Password}<span class='help_bt' h_id='Password'></span>:</TD>
                <TD><input class="form-control form-control-160" type=text name=proxy_pass value='{$config.proxy_pass}' size=20></TD>
            </TR>
            <TR>
                <TD colspan=2 align=center>
                    <br><input class="btn btn-default btn-sm" type="submit" name="save" value="{$lang.Save}">
                </TD>
            </TR>
        </table>
    </form>
    <br>
    <a href="edit_add.php" onclick='history.back();return false;'>{$lang.return_to_add_settings}</a><br><br>
</div>