Anons79 Mini Shell

Directory : /home/proudlyafrican/www/storage/framework/views/
Upload File :
Current File : /home/proudlyafrican/www/storage/framework/views/a52d6591fb705dedb54fd3a0a7af47c81575bd8b.php

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

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
    .checked {
        color: orange;
    }
</style>
<section class="content">
    <?php if(Session::has('msg')): ?>
    <div class="alert alert-success" id="success-alert">
        <button type="button" class="close" data-dismiss="alert">x</button>
        <p  align="center" style="font-weight: bold; font-size: 13px; color: white"> Success: <?php echo e(Session::get('msg')); ?> </p>
    </div>
    <br>
    <?php endif; ?>

    <?php if(Session::has('msg2')): ?>
    <div class="alert alert-danger" id="success-alert">
        <button type="button" class="close" data-dismiss="alert">x</button>
        <p  align="center" style="font-weight: bold; font-size: 13px; color: white"> Success: <?php echo e(Session::get('msg2')); ?> </p>
    </div>
    <br>
    <?php endif; ?>

<!---->
<!--    <a href="<?php echo e(url('admin_add_coupen')); ?>"><button class="btn btn-primary" style="float: right"><i class="glyphicon glyphicon-plus"></i>Add New Coupon</button></a>-->
<!---->

    <div class="row">
        <div class="col-xs-12">

            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">Testimonials List</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <table id="example1" class="table table-bordered table-striped">
                        <thead>
                        <tr>
                            <th>SR #</th>
                            <th>Name</th>
                            <th>Feedback</th>
                            <th>Stars</th>
                            <th>status</th>

                            <th>Action</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php $count=1; ?>
                        <?php $__currentLoopData = $feedbacks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feedback): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($count); ?></td>
                            <td><?php echo e($feedback->name); ?></td>
                            <td style="width: 30%"><?php echo e($feedback->feedback); ?></td>
                            <td style="width: 10%">
                                <?php if($feedback->stars==1): ?>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star "></span>
                                <span class="fa fa-star "></span>
                                <span class="fa fa-star "></span>
                                <span class="fa fa-star"></span>
                                <?php endif; ?>

                                <?php if($feedback->stars==2): ?>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star "></span>
                                <span class="fa fa-star "></span>
                                <span class="fa fa-star"></span>
                                <?php endif; ?>


                                <?php if($feedback->stars==3): ?>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star "></span>
                                <span class="fa fa-star"></span>
                                <?php endif; ?>


                                <?php if($feedback->stars==4): ?>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star"></span>
                                <?php endif; ?>


                                <?php if($feedback->stars==5): ?>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <span class="fa fa-star checked"></span>
                                <?php endif; ?>

                            </td>
                            <td>
                                <?php if($feedback->active_flag=='N'): ?>
                                <span style="color: red; font-weight: bold">Not Approved</span>
                                <?php elseif($feedback->active_flag=='P'): ?>
                                <span style="color: red; font-weight: bold">Awaiting Approval</span>
                                <?php else: ?>
                                <span style="color: #008000; font-weight: bold">Approved</span>
                                <?php endif; ?>

                            </td>




                            <td style="width: 20%">

                                <a  style="margin: 5px;" href="<?php echo e(url('edit_feedback')); ?>/<?php echo e($feedback->feedback_id); ?>" class="btn btn-primary"><i class="glyphicon glyphicon-pencil"></i></a>
                                <a   style="margin: 5px;" data-toggle="modal" data-target="#confirm-delete" data-href="<?php echo e(url('delete_feedback')); ?>/<?php echo e($feedback->feedback_id); ?>" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i></a>


                            </td>


                        </tr>
                        <?php $count=$count+1; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>

                    </table>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /.box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]