<?php
	date_default_timezone_set('America/New_York');
	include("../utilities/UtilitiesManagers.php");
	include("../utilities/UtilitiesReporting.php");
	include("../utilities/UtilitiesClients.php");
	include("../include/session.php");

?>
<link rel="stylesheet" media="screen" href="lib/datatables/css/vpad.css" />
<script type="text/javascript" src="lib/datatables/js/jquery.dataTables.js"></script> 
		
<script type="text/javascript"> 
    $(document).ready(function() {
	var oTable = $('#example').dataTable ({
		'bServerSide'    : true,
		'bAutoWidth'     : false,
		'bJQueryUI'      : false,
		'sPaginationType': 'full_numbers',
		'sAjaxSource'    : 'utilities/UtilitiesDataTable.php',
			'aoColumns'      : 
				[
				{
				  'bSearchable': false,
						"bSortable": false
				},
	null,
	null,
	null,
	null,
	null,
	null,
	null
	]
	});
/*

        $('#example').dataTable( {
			"bProcessing": true,
			"bServerSide": true,
			"sAjaxSource": "utilities/UtilitiesDataTable.php",
            "sPaginationType": "full_numbers",
			"aoColumns": [
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" },
						{ "mDataProp": "userid" }
					]
        } );
		
	*/
	
		
		
    } );
</script> 
<!-- DATATABLES CSS END -->
                <h1 class="page-title">Client Listing - <?php echo $reporting->getTotalClients(); ?> Clients Seen</h1>
                <div class="container_12 clearfix leading">
                    <div class="grid_12">
                        <div id="demo" class="clearfix"> 
                         
							<table class="display" id="example">
	<thead>
		<tr>
			<th width="25%">Action</th>
			<th width="25%">Name</th>
			<th width="25%">Address</th>
			<th width="25%">City</th>
			<th width="25%">Spouse</th>
			<th width="25%">Total Assist</th>
			<th width="25%">Last Results</th>
			<th width="25%">SSN</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td colspan="5" class="dataTables_empty">Loading data from server</td>
	
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<th>Action</th>
			<th>Name</th>
			<th>Address</th>
			<th>City</th>
			<th>Spouse</th>
			<th>Total Assist</th>
			<th>Last Results</th>
			<th>SSN</th>
		</tr>
	</tfoot>
</table>
                        </div>
                            

                            
                          
                    </div>
                </div>