<h3>Tour Operators</h3>
<table width="100%">
<tr>
<td></td>
<td>Name</td>
<td>Regions</td>
<td>Edit</td>
<td>Delete</td>
<tr>
<?php 
if(!$tourops)
{
?>
<tr>
  <td colspan="7">No Tour Operators Added!</td></tr>
<?php
}
else
{
foreach($tourops as $tourop)
{
?>
<tr>
<td>
<img src="<?php echo $tourop->logocode; ?>" alt="touroperator logo" style="max-width:80px; max-height:80px;">
</td>
<td>
<?php echo $tourop->name; ?>
</td>
<td>
<?php echo str_replace(':',', ', $tourop->regions); ?>
</td>
<td>
<a href="<?php echo SITE_URL ?>/admin/index.php/CharterOps/edittourop/<?php echo $tourop->id ?>"
>Edit</a>
</td>
<td>
<a href="<?php echo SITE_URL ?>/admin/index.php/CharterOps/deletetourop/<?php echo $tourop->id ?>"
>Remove</a>
</td>
</tr>
<?php
} 
}
?>
</table>





















