<div class="container">
    <form id="export_form" action="" method="post">
        <img src="/public/img/resourcemanager/loading.gif" id="loading_gif" />
        <div class="col-md-10 input-group">
            <label for="types">Language: </label>
            <select class="form-control" id="lang" name="lang">
                <option value="0"></option>
                <option value="all">All</option>
                <option value="eng">Reference</option>
                <?php foreach ($this->mresourcemanager->getPartners() as $partner): ?>
                    <?php if ($this->mresourcemanager->tableExist($partner->username)): ?>
                        <option value="<?=$partner->prefix?>">
                            <?=$partner->name?>
                        </option>
                    <?php endif; ?>
                <?php endforeach; ?>
            </select>
        </div>
        <br/>

        <div class="col-md-12 input-group">
            <input type="submit" name="res_export" class="btn btn-primary" value="Export">
        </div>
    </form>

    <?php if ($zipURL != ''): ?>
        <br/>
        <div class="col-md-12 input-group">
            <a class="btn btn-primary" href="<?=$zipURL?>">Download ZIP</a>
        </div>
    <?php endif; ?>
</div>
<br/>

<div class="container">
    <div id="alert-div-export" class="alert alert-danger alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
    </div>
</div>
