<div class="content_title">Klienci</div>
<?php
	if(!empty($message))
		echo '<p class="info_box">'.$message.'<p>';
?>
<table  id="tablesorter-demo" class="tablesorter" border="0" cellpadding="0" cellspacing="1">
		<thead>
			<tr>
				<th style="width:20px;">ID</th>
				<th>User</th>
				<th>Email</th>
				<th style="width:50px;">Akcje</th>
			</tr>
		</thead>
		<tbody>
		<?php
				if(!empty($clients))
				{
					foreach($clients as $key=>$value)
					{
						echo '<tr>';
							 echo '<td>'.$value['id'].'</td>';
							 echo '<td>'.$value['name'].'</td>';
							 echo '<td>'.$value['email'].'</td>';
							 echo '<td><a href="/superadmin/client/'.$value['id'].'"><b>POKAŻ</b></a></td>';
						echo '</tr>';
					}
				}
		?>		
		</tbody>
</table>