title){ $Title = $title; # Format the Capability description for use with the meta description $addDescription = substr(preg_replace('/\s\s/',' ',strip_tags($c->desc)), 0, 260).'...'; # Format the capability title for use with meta keywords # Split the title by anything other than a word $keys = preg_split('/[^\w]/', $c->title); # If we have more than one word... if(count($keys) > 0){ $keywords = ''; $totalKey = ''; foreach($keys as $key){ # If this word is actually a word and not a whitespace... if(strlen($t = trim($key)) > 0){ # ... add it ot the keywords and the total keywords string $keywords .= ','.$t; $totalKey .= ' '.$key; } } } # Put them together for use in the top layout include. $addKeywords = $totalKey.$keywords; } }else{ $Title = "Capabilities"; $addDescription = 'Aero Aviation is capable of fulfilling all of your aviation maintenance and repair needs, including Radome Repair, Sheet Metal repair and fabrication, and avionics.'; } $addHead = ''; $addHead .= ''; $addHead .= ''; require('../lyt.top.php'); # If a specific capability is not set, show all of them (for now) # Will need to be changed to show a general Capabilities welcome page. if(!isset($_GET['id'])){ ?>


Welcome to Aero Aviation Ltd. Aero began operations as Aero Metal Fabrication Ltd. in November 1979 providing aircraft sheet metal repair and modification for the general aviation market in Calgary, Alberta, Canada. Since its inception Aero has focused on providing a top quality product at a competitive price. Aero's capabilities have grown to include aircraft line maintenance, AOG support, composite repair and overhaul as well as sheet metal repair. Our services have been provided to our customers at various locations worldwide, including Africa, the Caribbean, Europe and where ever needed. Please tour our website and do not hesitate to contact us to if we can be of assistance to you or if you require any further information.


Don Pott
Vice President
Aero Aviation Ltd.

'; $c = new Capabilities($_GET['id']); # Get the capability information if($cd = $c->display()){ echo $cd; # Get the photos for this capability if(count($p = $c->getPhotos()) > 0){ echo '
'; foreach($p as $photo){ echo ''.$photo['; } echo '

Click to enlarge

'; } }else{ # Capability does not exist with that ID echo '


We could not find the page you were looking for.

Please choose one of our capabilities above to learn more about how we can put our capabilities to work for you.

'; } echo ' '; } ?>