<?php $__env->startSection('title'); ?>
    BETLOADED | Advertisement
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page'); ?>
    New Ads
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="col">
        <br>
        <?php
        $date = new dateTime();
        $d = $date->format('j F, Y');
        ?>
        <?php if(isset($success)): ?>
            <script>
                alert('<?php echo e($success); ?>');
            </script>
        <?php endif; ?>

        <form action="<?php echo e(route('/newAds')); ?>" method="POST" id="adsForm" enctype="multipart/form-data">
            <div class="row">
            <div class="col-md-4">
                <div class="col-sm-8 col-md-offset-2">
                    <label>ADs IMAGE</label>
                    <div class="fileupload fileupload-new" data-provides="fileupload">
                        <div class="fileupload-new thumbnail" style="width: 150px; height: 250px;"><img src="<?php echo e(asset('images/thumbnail.JPG')); ?>" alt="" /></div>
                        <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 160px; max-height: 150px; line-height: 20px;"></div>
                        <div>
                <span class="btn btn-sm btn-file btn-default"><span class="fileupload-new">SELECT IMAGE</span><span class="fileupload-exists">Change</span>
                <input type="file" name="file" required/></span>
                            <a href="#" class="btn btn-sm btn-danger fileupload-exists" data-dismiss="fileupload">Remove</a>
                        </div>
                    </div>
                </div>

                </div>

                <div class="col-md-6">
                <div class="form-group">
                    <label>ADS POSITION</label>
                    <select name="position" class="form-control" required>
                        <option value="">*_*_*_*_*_*_*_*</option>
                        <option value="sliderRight">Slider Right</option>
                        <option value="sliderLeft">Slider Left</option>
                        <option value="Side">Side</option>
                        <option value="Banner">Banner (Inline)</option>
                    </select>
                </div>

                    <div class="form-group">
                    <label>ADS PAGE</label>
                    <select name="page" class="form-control" required>
                        <option value="">*_*_*_*_*_*_*_*</option>
                        <option value="All">All Pages</option>
                        <option value="Homepage">Homepage</option>
                        <option value="About">About Us Page</option>
                        <option value="Subscribe">How to Subscribe Page</option>
                        <option value="FAQ">FAQs Page</option>
                        <option value="Disclaimer">Disclaimer Page</option>
                        <option value="T&C">T&C Page</option>
                    </select>
                </div>

                <div class="form-group">
                    <label>WEBSITE URL (if any)</label>
                    <input class="form-control" name="url" placeholder="URL here">
                </div>

                <div class="form-group">
                    <label>THUMBNAIL DESCRIPTION (if any)</label>
                    <input class="form-control" name="description" placeholder="Description here" maxlength="50">
                </div>

                    <?php echo csrf_field(); ?>

                    <div class="form-group">
                        <button class="btn btn-md btn-success" name="submit" id="adsBtn">UPLOAD AD</button>
                    </div>

                </div>

            </div>
        </form>
    </div>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>