<h3>Tour Operators Form <?php echo $tourop->name; ?></h3>

<form name="tourops" action="<?php echo SITE_URL; ?>/admin/index.php/CharterOps/touropaction" method="post">
<table width="100%" cellspacing="10px">
<tr></tr>
<tr>
<td valign="top" style="font-weight:bold">Name*:</td>
<td><input type="text" name="name" value="<?php echo $tourop->name;?>" />
</td>
</tr>
<tr>
<td valign="top" style="font-weight:bold">Logo URL*:</td>
<td><input type="text" name="logocode" value="<?php echo $tourop->logocode;?>" />
</td>
</tr>
<tr>
<td valign="top" style="font-weight:bold">Active Regions:</td>
<td>
<select name="regions[]" multiple >
<option value="All" <?php echo $seltd ?>>All</option>
              <?php 
                         $selectedcountr = explode(':', $tourop->regions);

                         foreach($countries as $country) { 
                      
                         if (in_array($country->countrycode, $selectedcountr)) { $seltd = 'selected'; }
                      
                        ?>
                         
                         
				      <option value="<?php echo $country->countrycode ?>" <?php echo $seltd ?>><?php echo $country->countryname ?></option>
<?php $seltd =''; } ?>
                
 </select>
<br />
Multiple selection possible using the CTRL key.
 </td>
</tr>
<tr>
<td><input type="hidden" name="action" value="<?php echo $action;?>" />
<input type="hidden" name="id" value="<?php echo $tourop->id;?>" />
</td>
<td><input type="submit" value="Save Tour Operator"></td>
</tr>
</table>
</form>
























