
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo __('Name');?></th>
	<th><?php echo __('Job Title');?></th>
	<th><?php echo __('email');?></th>
	<th><?php echo __('phone');?></th>
	<th><?php echo __('fax');?></th>
	<th><?php echo __('notes');?></th>
	<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
$i = 0;
foreach ($principleContacts as $principleContact):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $principleContact['PrincipleContact']['first_name'].' '.$principleContact['PrincipleContact']['last_name']; ?>
		</td>
		<td>
			<?php echo $principleContact['PrincipleContact']['job_title']; ?>
		</td>
		<td>
			<?php echo $principleContact['PrincipleContact']['email']; ?>
		</td>
		<td>
			<?php echo $principleContact['PrincipleContact']['phone']; ?>
		</td>
		<td>
			<?php echo $principleContact['PrincipleContact']['fax']; ?>
		</td>
		<td>
			<?php echo $principleContact['PrincipleContact']['notes']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('View', true), array('controller' => 'users', 'action'=>'view', $principleContact['PrincipleContact']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('controller' => 'users', 'action'=>'edit', $principleContact['PrincipleContact']['id'])); ?>
			
		</td>
	</tr>
<?php endforeach; ?>
</table>
