<ul class="list-unstyled timeline">
    <?php if(count($data1)<1): ?>
        <center>
            <h4>Nothing to show Yet!</h4>
        </center>
    <?php else: ?>
    <?php foreach($data1->all() as $item1): ?>
        <li id="fd<?php echo e($item1->id); ?>">
            <div class="block">
                <div class="tags">
                    <a href="" class="tag">
                        <span>#<?php echo e($item1->id); ?></span>
                    </a>
                </div>
                <div class="block_content">
                    <h2 class="title">
                        <ul class="nav nav-pills" role="tablist">
                            <li role="presentation" class="dropdown">
                                <a id="drop4" href="#" class="dropdown-toggle btn-sm bg-green" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false">
                                    Control Menu
                                    <span class="caret"></span>
                                </a>
                                <ul id="menu6" class="dropdown-menu animated fadeInDown" role="menu">
                                    <li role="presentation">
                                        <?php if($item1->approve==0): ?>
                                            <a role="menuitem" tabindex="-1" class="approveFeed" href="#" data-id="<?php echo e($item1->id); ?>">Approve/Publish</a>
                                        <?php else: ?>
                                            <a role="menuitem" tabindex="-1" class="disapproveFeed" href="#" data-id="<?php echo e($item1->id); ?>">Disapprove/Unpublish</a>
                                        <?php endif; ?>
                                    </li>
                                    <li role="presentation"><a role="menuitem" data-id="<?php echo e($item1->id); ?>" tabindex="-1" href="#" class="trashFeed">Trash This</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </h2>
                    <p class="excerpt">
                    <?php echo $item1->feedback; ?>

                    <hr style="margin: 4px 0px 4px 0px;">
                                    <span class="text-danger">
                                        <a class="userdetails text-danger" href="<?php echo e($item1->user); ?>" data-target="#userdetails" data-toggle="modal"><?php echo e($item1->name); ?></a>
                                        <span class="text-info">
                                        </span>
                                    </span>
                    </p>
                </div>
            </div>
        </li>
    <?php endforeach; ?>
    <?php endif; ?>
</ul>
