<div class="bp-form_sold-unsold bp-form_select2 bp-form-tools__item">
    <select class="bp-form-control bp-filter-select2 bp-select2" name="is_sold" style="width: 100%;">
        <option value=""><?= __("All items", "auctionforge") ?></option>
        <option <?= selected((isset($_GET['is_sold'])) && $_GET['is_sold'] == 'sold') ?> value="sold"><?= __("Only sold items", "auctionforge") ?></option>
        <option <?= selected((isset($_GET['is_sold'])) && $_GET['is_sold'] == 'unsold') ?> value="unsold"><?= __("Only unsold items", "auctionforge")
            ?></option>
    </select>
</div>
