# how I can add live flight board

**URL:** <https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413>\
**Category:** Development Help\
**Created:** [September 18, 2010, 8:36pm UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413 "2010-09-18T20:36:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_Macara](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/e/91b2a8/32.png) [@El\_Macara](https://forum.phpvms.net/u/El_Macara)\
**Post date:** [September 18, 2010, 8:36pm UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413/1 "2010-09-18T20:36:30Z")

</div>

hello.

I have a question. as I can put on my virtual page, this board I saw on the page of virtual phoenix all flights in real time.

[![post-813-031509900 1284842124\_thumb.png](\<fileStore.core\_Attachment\>/monthly\_09\_2010/post-813-031509900%201284842124\_thumb.png)](\<fileStore.core\_Attachment\>/monthly\_09\_2010/post-813-031509900%201284842124.png)

---

<div class="post-metadata">

**Author:** ![Vangelis](https://forum.phpvms.net/user_avatar/forum.phpvms.net/vangelis/32/38_2.png) [@Vangelis](https://forum.phpvms.net/u/Vangelis)\
**Post date:** [October 3, 2010, 8:41pm UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413/2 "2010-10-03T20:41:06Z")

</div>

Have a look at [http://www.utr-online.com/Software.asp?page=5](http://www.utr-online.com/Software.asp?page=5)

---

<div class="post-metadata">

**Author:** ![El\_Macara](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/e/91b2a8/32.png) [@El\_Macara](https://forum.phpvms.net/u/El_Macara)\
**Post date:** [October 4, 2010, 3:18am UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413/3 "2010-10-04T03:18:37Z")

</div>

> Have a look at [http://www.utr-online.com/Software.asp?page=5](http://www.utr-online.com/Software.asp?page=5)

thanks for answering.

but a question.

how I can configure the flight board to the mine site that only works for my airline flights without VATSIM OR IVAO?

---

<div class="post-metadata">

**Author:** ![El\_Macara](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/e/91b2a8/32.png) [@El\_Macara](https://forum.phpvms.net/u/El_Macara)\
**Post date:** [October 4, 2010, 3:20am UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413/4 "2010-10-04T03:20:56Z")

</div>

> Have a look at [http://www.utr-online.com/Software.asp?page=5](http://www.utr-online.com/Software.asp?page=5)

thanks for answering.

but a question.

how I can configure the flight board to the mine site that only works for my airline flights without VATSIM OR IVAO?

I’m sorry for the duplique message.

---

<div class="post-metadata">

**Author:** ![Vangelis](https://forum.phpvms.net/user_avatar/forum.phpvms.net/vangelis/32/38_2.png) [@Vangelis](https://forum.phpvms.net/u/Vangelis)\
**Post date:** [October 4, 2010, 10:21pm UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413/5 "2010-10-04T22:21:10Z")

</div>

If your pilot’s log via your phpvms you can take acarsmap.tpl copy everything exept from the map and there it is

For example create a new php with that and it should work just delete the column that you dont need

```
<?php 
/**
* These are some options for the ACARS map, you can change here
* 
* By default, the zoom level and center are ignored, and the map 
* will try to fit the all the flights in. If you want to manually set
* the zoom level and center, set "autozoom" to false.
* 
* You can use these MapTypeId's:
* http://code.google.com/apis/maps/documentation/v3/reference.html#MapTypeId
* 
* Change the "TERRAIN" to the "Constant" listed there - they are case-sensitive
* 
* Also, how to style the acars pilot list table. You can use these style selectors:
* 
* table.acarsmap { }
* table.acarsmap thead { }
* table.acarsmap tbody { }
* table.acarsmap tbody tr.even { }
* table.acarsmap tbody tr.odd { } 
*/
?>

<div class="mapcenter" align="center">
   <div id="acarsmap" style="width:<?php echo Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div>
</div>
<?php
/* See below for details and columns you can use in this table */
?>
<table border = "0" width="100%" class="acarsmap">
<thead>
   <tr>
       <td><b>Pilot</b></td>
       <td><b>Flight Number</b></td>
       <td><b>Departure</b></td>
       <td><b>Arrival</b></td>
       <td><b>Status</b></td>
       <td><b>Altitude</b></td>
       <td><b>Speed</b></td>
       <td><b>Distance/Time Remain</b></td>
   </tr>
</thead>
<tbody id="pilotlist"></tbody>
</table>
<script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script>
<?php
/* This is the template which is used in the table above, for each row. 
   Be careful modifying it. You can simply add/remove columns, combine 
   columns too. Keep each "section" (<%=...%>) intact

   Variables you can use (what they are is pretty obvious)

   Variable: Notes:
   <%=flight.pilotid%>
   <%=flight.firstname%>
   <%=flight.lastname%>
   <%=flight.pilotname%> First and last combined
   <%=flight.flightnum%>
   <%=flight.depapt%> Gives the airport name
   <%=flight.depicao%>
   <%=flight.arrapt%> Gives the airport name
   <%=flight.arricao%>
   <%=flight.phasedetail%>
   <%=flight.heading%>
   <%=flight.alt%>
   <%=flight.gs%>
   <%=flight.disremaining%>
   <%=flight.timeremaning%>
   <%=flight.aircraft%> Gives the registration
   <%=flight.aircraftname%> Gives the full name
   <%=flight.client%> FSACARS/Xacars/FSFK, etc
   <%=flight.trclass%> "even" or "odd"

   You can also use logic in the templating, if you so choose:
   http://ejohn.org/blog/javascript-micro-templating/
*/
?>
<script type="text/html" id="acars_map_row">
<tr class="<%=flight.trclass%>">
<td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a></td>
<td><%=flight.flightnum%></td>
<td><%=flight.depicao%></td>
<td><%=flight.arricao%></td>
<td><%=flight.phasedetail%></td>
<td><%=flight.alt%></td>
<td><%=flight.gs%></td>
<td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td>
</tr>
</script>

<?php
/* This is the template for the little map bubble which pops up when you click on a flight
   Same principle as above, keep the <%=...%> tags intact. The same variables are available
   to use here as are available above.
*/
?>
<script type="text/html" id="acars_map_bubble">
<span style="font-size: 10px; text-align:left; width: 100%" align="left">
<a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br />
<strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br />
<strong>Status: </strong><%=flight.phasedetail%><br />
<strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br />
</span>
</script>

<?php
/* This is a small template for information about a navpoint popup 

   Variables available:

   <%=nav.title%>
   <%=nav.name%>
   <%=nav.freq%>
   <%=nav.lat%>
   <%=nav.lng%>
   <%=nav.type%> 2=NDB 3=VOR 4=DME 5=FIX 6=TRACK
*/
?>
<script type="text/html" id="navpoint_bubble">
<span style="font-size: 10px; text-align:left; width: 100%" align="left">
<strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br />
<strong>Type: </strong>
<?php /* Show the type of point */ ?>
<% if(nav.type == 2) { %> NDB <% } %>
<% if(nav.type == 3) { %> VOR <% } %>
<% if(nav.type == 4) { %> DME <% } %>
<% if(nav.type == 5) { %> FIX <% } %>
<% if(nav.type == 6) { %> TRACK <% } %>
<br />
<?php /* Only show frequency if it's not a 0*/ ?>
<% if(nav.freq != 0) { %>
<strong>Frequency: </strong><%=nav.freq%>
<% } %>
</span>
</script>

```

---

<div class="post-metadata">

**Author:** ![Vangelis](https://forum.phpvms.net/user_avatar/forum.phpvms.net/vangelis/32/38_2.png) [@Vangelis](https://forum.phpvms.net/u/Vangelis)\
**Post date:** [October 4, 2010, 10:22pm UTC](https://forum.phpvms.net/t/how-i-can-add-live-flight-board/3413/6 "2010-10-04T22:22:24Z")

</div>

also have a look at this post you ask almost the same thing with deferent words

Forum Post
