<?php $__env->startSection('content'); ?>

<!-- <?php echo e(url('/assets/images/package')); ?>/<?php echo e($package->feature_image); ?> -->

    <section style="background: url(<?php echo e(url('/')); ?>/assets/images/<?php echo e($settings[0]->background); ?>) no-repeat center center; background-size: cover;">
        <div class="row" style="background-color:rgba(0,0,0,0.7);">

            <div style="margin: 4% 0px 4% 0px;">
                <div class="text-center" style="color: #FFF;padding: 20px;">
                    <h1><?php echo e($package->title); ?></h1>
                </div>
            </div>

        </div>
    </section>

    <div id="wrapper" class="go-section">
        <div class="row">
            <div class="container">
                <div class="col-md-8">

                    <div class="profile-section">
                        <div class="row">
                            <h3 class="no-margin">Campign Details</h3><hr>

                        <div class="video-container">
                            <iframe width="853" height="480" src="https://www.youtube.com/embed/h2GhQBI5YGw" frameborder="0" allowfullscreen>
                            </iframe>
                        </div>

                            <p><?php echo $package->description; ?></p>
                        </div> 
                    </div>
              
                    <div style="margin-bottom:20px;">
                        <?php if(!empty($ads728x90)): ?>
                        <div class="desktop-advert">
                            <?php if($ads728x90->type == "banner"): ?>
                                <a class="ads" href="<?php echo e($ads728x90->redirect_url); ?>" target="_blank">
                                    <img class="banner-728x90" src="<?php echo e(url('/')); ?>/assets/images/ads/<?php echo e($ads728x90->banner_file); ?>" alt="Advertisement">
                                </a>
                            <?php else: ?>
                                <?php echo $ads728x90->script; ?>

                            <?php endif; ?>
                        </div>
                        <?php endif; ?>

                    </div>

                </div>
                <div class="col-md-4 contact-info">

                    <?php if(Session::has('pmail')): ?>
                        <div class="alert alert-success"> <?php echo e(Session::get('pmail')); ?> </div>
                    <?php endif; ?>

                    <div class="col-md-12">
                        <h3 class="text-center">Donate</h3><hr>
                        <div class="row" style="margin-bottom: 20px;">
                            <div>Created by: <strong>creator name</strong></div>
                            London,UK
                        </div>
                        <div class="row">
                                <span class="pull-left">
                                    <b>$200</b>
                                     Funded of 
                                     <b>$200</b> 
                                     Goal
                                </span>
                            </div>

                                <div class="progress">
                                  <div class="progress-bar" role="progressbar" aria-valuenow="70"
                                  aria-valuemin="0" aria-valuemax="100" style="width:70%">
                                    70%
                                  </div>
                                </div>
                            <div class="row">
                                <span class="pull-left">
                                    <b>200</b>
                                     Days Left
                                </span>
                                <span class="pull-right">
                                    <b>7</b>
                                     Donations
                                </span>
                            </div>
                            <hr>
                        <div class="row">
                            <div class="profile-group">
                                <!-- AddToAny BEGIN -->
                                <div class="a2a_kit a2a_kit_size_32 a2a_default_style">
                                    <a class="a2a_dd" href="https://www.geniusocean.com"></a>
                                    <a class="a2a_button_facebook"></a>
                                    <a class="a2a_button_twitter"></a>
                                    <a class="a2a_button_google_plus"></a>
                                    <a class="a2a_button_linkedin"></a>
                                </div>
                                <script async src="https://static.addtoany.com/menu/page.js"></script>
                                <!-- AddToAny END -->
                            </div>
                    </div>

            <form action="<?php echo e(action('FrontEndController@order' , ['id'=>$package->id])); ?>" method="post">
                            <?php echo e(csrf_field()); ?>


                            <div class="form-group row" style="margin-bottom: 10px;">
                                <div>
                                    <input type="number" step=.01 name="adults" class="form-control costs" value="20.00" required>
                                </div>
                            </div>
                            <div class="btn-group" style="margin-bottom: 10px;">
                              <button type="button" class="btn btn-default">$20.00</button>
                              <button type="button" class="btn btn-default">$30.00</button>
                              <button type="button" class="btn btn-default">$50.00</button>
                              <button type="button" class="btn btn-default">$80.00</button>
                            </div>
                            <div class="form-group text-center">
                                <label class="col-md-3 control-label"></label>
                                <div class="col-md-6">
                                    <button type="submit" class="btn btn-ocean btn-block"> Donate Now</button>
                                </div>
                            </div>

                        </form>
                    </div>

                    <!-- <div class="col-md-12">
                        <hr><h3 class="text-center">OR</h3><hr>
                        <form action="<?php echo e(action('FrontEndController@usermail')); ?>" method="post">
                            <?php echo e(csrf_field()); ?>

                            <input type="hidden" id="to" name="pid" value="<?php echo e($package->id); ?>">
                            <div class="form-group">
                                <label>Name:</label>
                                <input type="text" id="name" name="name" class="form-control" required>
                                <p id="vname" style="color:red;"></p>
                            </div>
                            <div class="form-group">
                                <label>Email:</label>
                                <input type="text" id="email" name="email" class="form-control" required>
                                <p id="vemail" style="color:red;"></p>
                            </div>
                            <div class="form-group">
                                <label>Message:</label>
                                <textarea name="message" rows="8" id="message" class="form-control" required></textarea>
                                <p id="vmessage" style="color:red;"></p>
                            </div>
                            <div id="load" style="display: none;" class="text-center"><img src="assets/images/loader.gif" style="width: 50px;padding-bottom: 5px; "></div>
                            <div class="form-group text-center" id="submt">
                                <label class="col-md-3 control-label"></label>
                                <div class="col-md-6">
                                    <button type="submit" class="btn btn-ocean btn-block">Send Query</button>
                                </div>
                            </div>

                        </form>
                    </div> -->

                    <div class="col-md-12 text-center" style="margin-top: 20px;">
                        <?php if(!empty($ads300x250)): ?>
                        <div class="desktop-advert">
                            <?php if($ads300x250->type == "banner"): ?>
                                <a class="ads" href="<?php echo e($ads300x250->redirect_url); ?>" target="_blank">
                                    <img class="banner-300x250" src="<?php echo e(url('/')); ?>/assets/images/ads/<?php echo e($ads300x250->banner_file); ?>" alt="Advertisement">
                                </a>
                            <?php else: ?>
                                <?php echo $ads300x250->script; ?>

                            <?php endif; ?>
                        </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>


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

<?php $__env->startSection('footer'); ?>
<script>
    function cacl() {
        var adult = parseFloat(<?php echo e($package->cost_adult); ?>);
        var child = parseFloat(<?php echo e($package->cost_child); ?>);
        var ttl = $("#adult").val() * adult;
        var ttls = ttl + $("#child").val() * child;
        $('#ttl').html(ttls);
        $('#totals').val(ttls);
    }
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('includes.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>