@extends('master')
@section('content')

<link rel="stylesheet" href="https://cdn.datatables.net/1.10.15/css/dataTables.bootstrap.min.css">
<div id="wrapper">
    <div id="page">
        <div id="page-bgtop">
            <div id="page-bgbtm">
                <div id="content">
                    <div class="post">
                        <div style="clear: both;">&nbsp;</div>
                        <div class="entry">
                            <table id="example1" class="table table-striped table-bordered" width="100%" cellspacing="0">
                                <tr>
                                    <th>Contact ID </th>
                                    <th>First Name</th>
                                    <th>Created Date </th>
                                    <th>Created ById </th>
                                    <th>Created ById </th>
                                    
                                </tr>
                                <?php
                                    foreach ($response->records as $record) {
                                                echo '<tr>
                                                    <td>'.$record->Id.'</td>
                                             </tr>';
                                         }
                                ?>
                            </table>
                        </div>
                    </div>
                    <div style="clear: both;">&nbsp;</div>
                </div>  
                <!-- end #content -->
                
                <!-- end #sidebar -->
                <div style="clear: both;">&nbsp;</div>
            </div>
        </div>
    </div>
    <!-- end #page -->
</div>
<!-- end #footer -->

<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.15/js/dataTables.bootstrap.min.js"</script>
<script>
	$(document).ready(function() {
		$('#example1').DataTable();
	} );
	</script>



@stop

