


<?php $__env->startSection('title', 'İletişim İstekleri'); ?>








<?php echo $__env->make('contact::sidebar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>








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








<div id="component_page">


    <h1 class="title">İletişim İstekleri</h1>





    <?php if(Session::has('message')): ?>


    <div class="alert alert-success"><?php echo Session::get('message'); ?></div>


    <?php endif; ?>


    <?php if($list->count() > 0): ?>


    <table class="table table-hover table-striped">


        <thead>


        <tr>


            <th>İsim</th>


            <th>Başlık</th>


            <th>Telefon</th>


            <th>Tarih</th>


        </tr>


        </thead>


        <tbody>


        <?php foreach($list as $p): ?>


        <tr>


            <td><a href="<?php echo URL::to('component/contact/show/'. $p->id); ?>"><?php echo $p->name; ?> <?php echo $p->surname; ?><a></td>


            <td><?php echo $p->subject; ?></td>


            <td><?php echo $p->phone; ?></td>


            <td><abbr class="timeago" title="<?php echo $p->created_at; ?>"><?php echo $p->created_at; ?></abbr></td>


        </tr>


        <?php endforeach; ?>


        </tbody>


    </table>





    <?php echo $list->links(); ?>


    <?php else: ?>


    <div class="alert alert-warning">


        <h4>Adres İsteği yok.</h4></a>


    </div>


    <?php endif; ?>








</div>





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

