<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
<h3><?php echo $title;?></h3>

<p>
	Are you sure you wish to delete this aircraft? This action CANNOT be undone. All PIREPs reported with this aircraft 
	will malfunction if you continue to delete. We recommend disabling the aircraft.
</p>


<dt>Disable aircraft instead?</dt>
<?php $checked = ($aircraft->enabled==1 || !$aircraft)?'':'CHECKED'; ?>
<dd><input type="checkbox" id="enabled" name="enabled" value="1" <?php echo $checked ?> /></dd>



<dd>
	<input type="hidden" name="id" value="<?php echo $aircraft->id;?>" />
	<input type="hidden" name="action" value="<?php echo $action;?>" />
	<input type="submit" name="submit" value="<?php echo $title;?>" />
</dd>

</form>
