<span id="helpBlock" class="help-block">Be sure to include the full website URL including the http://</span>
    </div>
</div><!-- ./Form Group -->

<div class="form-group"><!-- Form Group NOT REQUIRED Select -->
    <label for="contestLogo" class="col-lg-2 col-md-3 col-sm-4 col-xs-12 control-label">Logo File Name</label>
    <div class="col-lg-6 col-md-6 col-sm-8 col-xs-12">
    <!-- Input Here -->
    <?php 
    $directory = USER_IMAGES;
    $empty = is_dir_empty($directory);
    if (!$empty) {
        ?>
    <select class="selectpicker" name="sponsorImage" id="sponsorImage" data-live-search="true" data-size="10" data-width="auto">
       <?php 
        echo directory_contents_dropdown($directory, $row_sponsors['sponsorImage']);
        ?>
    </select>
    <?php 
    } else {
        echo "<p>No images exist in the user_images directory.</p>";
    }
    ?>
    <span id="helpBlock" class="help-block">If the directory is empty or a file is not on the list, use the &ldquo;Upload Logo Images&rdquo; button below.</span>
    <a class="btn btn-sm btn-primary" href="<?php 
    echo $base_url;
    ?>
index.php?section=admin&amp;go=upload"><span class="fa fa-upload"></span> Upload Logo Images</a>
    </div>
</div><!-- ./Form Group -->
?>
" placeholder="http://www.yoursite.com">
    </div>
</div><!-- ./Form Group -->

<?php 
if ($section != "step4") {
    ?>
<div class="form-group"><!-- Form Group NOT REQUIRED Select -->
    <label for="contestLogo" class="col-lg-2 col-md-3 col-sm-4 col-xs-12 control-label">Logo File Name</label>
    <div class="col-lg-6 col-md-6 col-sm-8 col-xs-12">
    <!-- Input Here -->
    <select class="selectpicker" name="contestLogo" id="contestLogo"  data-live-search="true" data-size="10" data-width="auto">
       <?php 
    $directory = USER_IMAGES;
    echo directory_contents_dropdown($directory, $row_contest_info['contestLogo']);
    ?>
    </select>
    <span id="helpBlock" class="help-block">Choose the image file. If the file is not on the list, use the &ldquo;Upload Logo Image&rdquo; button below.</span>
    <a class="btn btn-sm btn-primary" href="<?php 
    echo $base_url;
    ?>
index.php?section=admin&amp;go=upload"><span class="fa fa-upload"></span> Upload Logo Image</a>
    </div>
</div><!-- ./Form Group -->
<?php 
}
?>

<h3>Entry Window</h3>