Advertisement
Guest User

Untitled

a guest
Sep 19th, 2010
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.90 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml"><head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <meta http-equiv="X-UA-Compatible" content="chrome=1">
  5.     <!--[if gte IE 9]>
  6.      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7.    <![endif]-->
  8.    
  9.     <!--[if lt IE 9]>
  10.      <meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1" />
  11.    <![endif]-->
  12. <title>Australian Frontier Arrivals and Departures</title>
  13. <?php require_once("VatsimPHPgenerator.php");$VatsimPHP=new VatsimPHP;?>
  14. <?php include_once 'core/codon.config.php';?>
  15. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  16. <script type="text/javascript" src="map.js">
  17. </script>
  18. <style type="text/css">
  19. #wrapper {
  20.     height: auto;
  21.     width: 1000px;
  22.     margin-left:auto;
  23.     margin-right:auto;
  24.    
  25. }
  26. #wrapper #dep_title {
  27.     background-color: #000;
  28.     height: auto;
  29.     width: 1000px;
  30.     font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  31.     color: #FFF;
  32.     -moz-border-radius: 10px;
  33.     -webkit-border-radius: 10px;
  34.     border-radius: 10px;
  35.     font-size: 18px;
  36. }
  37. #wrapper #dep_table {
  38.     background-color: #000;
  39.     height: auto;
  40.     width: 1000px;
  41.     -moz-border-radius: 10px;
  42.     -webkit-border-radius: 10px;
  43.     border-radius: 10px;
  44. }
  45. a {
  46.     text-decoration: none;
  47.     color:#000;
  48. }
  49. #wrapper #live_map {
  50.     background-color: #000;
  51.     height: auto;
  52.     width: 1000px;
  53.     -moz-border-radius: 10px;
  54.     -webkit-border-radius: 10px;
  55.     border-radius: 10px;
  56.     font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  57.     font-size: 18px;
  58.     color: #FFF;
  59. }
  60. #wrapper #home_button {
  61.     color: #000;
  62.     background-color: #FFF;
  63.     height: auto;
  64.     width: 400px;
  65.     -moz-border-radius: 10px;
  66.     -webkit-border-radius: 10px;
  67.     border-radius: 10px
  68. }
  69. #wrapper #live_map center #map_canvas {
  70.     background-color: #000;
  71.     height: 400px;
  72.     width: 900px;
  73. }
  74. </style>
  75.  
  76. </head>
  77.  
  78. <body bgcolor="#CCCCCC" onload="initialize()">
  79. <div id="wrapper">
  80.   <div id="dep_title">
  81.     <center><h2><blink>FLIGHTS IN PROGRESS</blink></h2></center>
  82.     </div>
  83.   <div id="dep_table">
  84.     <center>
  85.     <table width="900px">
  86.    
  87.         <thead style="text-align:center; font-size:18px; font-family:Verdana, Geneva, sans-serif; color:#fff;">
  88.         <tr><td>Time</td><td>Airline</td><td>Flight Number</td><td>Departure / Destination</td><td>Aircraft Type</td><td>Status</td></tr>
  89.         </thead>
  90.        
  91.         <tbody style="text-align:center; font-size:18px; font-family:Quartz; color:#CC0;">
  92.         <tr><td><span>0000</span></td>
  93.         <td>Australian Frontier</td>
  94.         <td>AFV0013</td>
  95.         <td>Melbourne - Sydney</td>
  96.         <td>B738</td>
  97.         <td>TAKEOFF</td>
  98.         </tr>
  99.        
  100.         <tr><td><span>0000</span></td>
  101.         <td>Pacific Frontier</td>
  102.         <td>PFV0004</td>
  103.         <td>Auckland - Melbourne</td>
  104.         <td>B744</td>
  105.         <td>LANDING</td>
  106.         </tr>
  107.        
  108.       </tbody>
  109.        
  110.     </table>
  111.     <br />
  112.     <br />
  113.       </div>
  114.   </center>
  115.   <div id="live_map">
  116.   <center>
  117.   <h2><blink>Pilots Online</blink></h2>
  118.   <div id="map_canvas"></div>
  119.   <table id="vatsim_online" border="1px" border bordercolor="#FFFFFF">
  120.   <php } ?>
  121.     <font color="#FFFFFF" size="2px">Data Courtesy <A HREF="http://www.bbflights.com/VatsimPHP/"><font color="#FFFFFF" size="2px">VatsimPHP</font></A></font>.
  122.     <?php
  123.     if(!$clientlist)
  124.     {
  125.         echo '<p align="center">No aircraft are online!</p>';
  126.         return;
  127.     }
  128.     ?>
  129.     <?php
  130.             echo "<thead>";
  131.             echo "<tr><td>CID</td><td>Callsign</td><td>Name</td></tr>";
  132.             echo "</thead>";
  133.             echo "<tbody>";
  134.     foreach($clientlist as $client)
  135.         {
  136.             echo "<TR>";
  137.             echo "<TD>".$client[1]."</TD>";
  138.             echo "<TD>".$client[0]."</TD>";
  139.             echo "<TD>".$client[2]."</TD>";
  140.             echo "</TR>";
  141.         } ?>
  142.     </tbody>
  143. </table>
  144.         <br />
  145.  
  146.   </center>
  147.   </div>
  148.  
  149. </div>
  150. </body>
  151. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement