<?php

user_access('adm_mysql', null, 'index.php?'.SID);

$set['title'] = __('Тарифы валюты'); 
include_once H.'sys/inc/thead.php';
title();
aut();
err();
?>
<div class="foot">
  <a href="?func=admin.balance&amp;act=edit"><img src="/<?= $config['patch_icons']?>/document-plus.png" /> <?= __('Добавить')?></a>
</div>

<? if (isset($_GET['act'])) { ?>
  <div class="nav1">
    <form class="form-horizontal" action="?act=edit" method="POST">
      <div class="control-group">
        <label class="control-label" for="name"><span class="on"><?= __('Название')?></span></label>
        <div class="controls">
          <input type="text" id="name" name="name" value="" />
        </div>
      </div>

      <div class="control-group">
        <label class="control-label" for="coins"><span class="on"><?= __('Колличество')?></span></label>
        <div class="controls">
          <input type="text" id="coins" name="coins" value="" />
        </div>
      </div>

      <div class="control-group">
        <label class="control-label" for="discount"><span class="on"><?= __('Cкидка')?> %</span></label>
        <div class="controls">
          <input type="text" id="discount" name="discount" value="" />
        </div>
      </div>

      <div class="control-group">
        <div class="controls">
          <button type="submit" name="save" value="0" class="btn btn-success"><?= __('Сохранить')?></button>
        </div>
      </div>
    </form>
  </div>
<? } ?>