{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.Bottom_settings}<span class='help_bt' h_id='Bottom_settings'></span><br><br>
    <form action="edit_copyright.php" method="post">
        <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.Bottom_text}:<span class='help_bt' h_id='Bottom_text'></span>:</td>
                <td>
                    <input class="form-control" type="text" name="bottom_text" value='{$config.bottom_text|escape:"html"}'
                           {if $config.copyright}disabled{/if} style="width:auto;" size=50>
                    {if $config.copyright}<a href="https://{$config.clientbase_domain}/buy/add/" target="_blanc">{$lang.Copyright_disable}</a>{/if}
                </td>
            </tr>
            <tr>
                <td align=right>{$lang.bottom_vesion}<span class='help_bt' h_id='bottom_vesion'></span>:</td>
                <td>
                    <input type="checkbox" name="bottom_vesion" value=1 {if (!isset($config.bottom_vesion) || $config.bottom_vesion)}checked{/if}>
                </td>
            </tr>
            <tr>
                <td align=right>{$lang.bottom_license}<span class='help_bt' h_id='bottom_license'></span>:</td>
                <td>
                    <input type="checkbox" name="bottom_license" value=1 {if (!isset($config.bottom_license) || $config.bottom_license)}checked{/if}>
                </td>
            </tr>
            <tr>
                <td align=right>{$lang.mobile_switch_on}:<span class='help_bt' h_id='mobile_switch_on'></span>:</td>
                <td>
                    <input type="checkbox" name="mobile_switch_on" value=1 {if $config.mobile_switch_on}checked{/if}>
                </td>
            </tr>
            {if $config.lang=="russian"}
                <tr>
                    <td align=right>{$lang.write_razr}:<span class='help_bt' h_id='invite_on'></span>:</td>
                    <td>
                        <input type="checkbox" name="invite_on" value=1 {if $config.invite_on}checked{/if}>
                    </td>
                </tr>
            {/if}
            <tr>
                <td align=right>{$lang.support_link_on}:<span class='help_bt' h_id='support_link_on'></span>:</td>
                <td>
                    <input type="checkbox" name="support_link_on" value=1 {if $config.support_link_on}checked{/if}>
                </td>
            </tr>
            <tr>
                <td align=right>{$lang.show_sql_time}<span class='help_bt' h_id='show_sql_time'></span>:</td>
                <td>
                    <input type="checkbox" name="show_sql_time" value=1 {if $config.show_sql_time}checked{/if}>
                </td>
            </tr>
            <tr>
                <td align=right>{$lang.lk_title}<span class='help_bt' h_id='show_lk_link'></span>:</td>
                <td>
                    <input type="checkbox" name="show_lk_link" value=1 {if $config.show_lk_link || $config.copyright}checked{/if} {if $config.copyright}disabled{/if}>
                </td>
            </tr>
            <tr>
                <td colspan=2 align=center>
                    <br><input class="btn btn-default btn-sm" type="submit" name='save' value="{$lang.Save}">
                    <input type=hidden name="csrf" value="{$csrf}">
                </td>
            </tr>
        </table>
    </form>
    <br>
    <a href="edit_add.php">{$lang.return_to_add_settings}</a><br><br>
</div>