print $rvar_id; ?> " name="id"> <input name="edit" type="submit" value="Edit Entry"> <input name="delete" type="submit" value="Delete Entry"> </form> </div> <?php } ?> <div id="logbook"> <table> <?php $line = logbook_detail($rvar_id); $equipment = aircraft_equipment($line['ident']); ?> <tr> <th rowspan="2">Date</th> <th colspan="2">Aircraft</th> <th colspan="3">Route of Flight</th> <th colspan="2">Landings</th> <th rowspan="2">Inst<br />Appr</th> <th colspan="10">Aircraft Category And Class</th> <th colspan="2" rowspan="2">Flight Training Device</th> <?php if ($line['launch_type']) { echo '<th colspan="2">Launch</th>'; }
<title><?php echo $pilot_name; ?> 's logbook</title> <link><?php echo "http://{$host}{$GLOBALS['baseurl']}/display_logbook.php?pilot={$pilot_name}"; ?> </link> <description>Logbook for <?php echo $pilot_name; ?> </description> <?php $n = 0; for ($i = count($entries) - 1; $i >= 0 && $n < $rvar_limit; $i--, $n++) { $line = logbook_detail($entries[$i]); echo "<item>\n"; echo "<title>{$line['route']}"; if ($line['passengers']) { print "with {$line['passengers']}"; } else { print "solo"; } print "</title>\n"; echo "<link>http://{$host}{$GLOBALS['baseurl']}/detail_logbook.php?id={$line['id']}</link>\n"; echo "<pubDate>" . date("r", strtotime($line['date'])) . "</pubDate>\n"; echo "<description>\n"; echo "Remarks: " . xml_escape($line['remarks']) . "<br /><br />\n"; echo xml_escape($line['detail']); echo "</description>\n"; echo "</item>\n";