<form action="/allegro/import_data/" method="post" enctype="multipart/form-data">
  <div class="admin-form theme-primary">
    <div class="panel heading-border panel-primary">
      <div class="panel-body">
        <div class="row">
          <div class="col-md-12">
            <? if ( $this -> offers_added ): ?>
              <div class="alert alert-success" role="alert">
                Dodano <?= $this -> offers_added; ?> ofert.
              </div>
            <? endif; ?>
            <? if ( $this -> history_added ): ?>
              <div class="alert alert-success" role="alert">
                Dodano <?= $this -> history_added; ?> rekordów do historii.
              </div>
            <? endif; ?>
            <? if ( $this -> history_updated ): ?>
              <div class="alert alert-success" role="alert">
                Zaktualizowano <?= $this -> history_updated; ?> rekordów w historii.
              </div>
            <? endif; ?>
            </div>
        </div>
        <div class="row">
          <div class="col-md-5">
            <input type="file" id="file" name="file">
          </div>
          <div class="col-md-2">
            <button type="submit" class="btn btn-primary">Importuj</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</form>