Jump to content

alwaysva

Members
  • Posts

    18
  • Joined

  • Last visited

alwaysva's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Very Nice... You Wrote Feel that, believe it... I can't believe I'd love that.
  2. How is project going? Can U send me beta? bartlomiej-wozniak@gazeta.pl Kind Regards, Bartlomiej Wozniak.
  3. Hello, i have done it. But i want to do: More information about flight, in table under ACARS Map, to display more info: Time to dest. , how many nm, etc. Can U help me?
  4. Hello, Join to Always VA. We're new airlines on VATSIM, but i think the best. Our condition is to belong only to us, and the execution of one trip per week. Thanks, a lot. http://alwaysva.pl/
  5. sorry, with so late. But we have based it on the SQL datebase. You just have to manually enter in the database.
  6. Hello, I've got some problems. Can you edit my files? because it's still not working. http://test.alwaysva.pl/index.php/acars or http://alwaysva.pl/index.php/acars I've edited files but not have results, Please help me. ACARSMAP.TPL::: <?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 { } */ ?> <script type="text/javascript"> <?php /* These are the settings for the Google map. You can see the Google API reference if you want to add more options. There's two options I've added: autozoom: This will automatically center in on/zoom so all your current flights are visible. If false, then the zoom and center you specify will be used instead refreshTime: Time, in seconds * 1000 to refresh the map. The default is 5000 (5 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 5, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 5000 }; </script> <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="90%" 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/Speed</b></td> <td><b>Procentage</b></td> <td><b>Distance/Time Remain-bla bla</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. */ ?>
  7. Always Virtual Airlines - Join US !!! http://alwaysva.pl/
  8. hello. whether it is to you about something such as we have? http://alwaysva.pl/index.php/pilots ???
  9. It's not working yet. how? to do that? That's my code:
  10. Yes, Is's done. take a look: http://test.alwaysva.pl/index.php/pilots But, i don't know what i should write to that showed. (Current Pilot Position, of course from last pirep)
  11. I wanted to give all the code but it is a very modified. Take a look: http://alwaysva.pl/ About Us -> Our staff
  12. I've got: /core/templates/pilot_list.tlp section where you need to insert: ></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <?php $params = (array('a.registration'=>$aircraft->registration, 'p.accepted'=>PIREP_ACCEPTED)); $pirep = PIREPData::findPIREPS($params); $current_location = $pirep[0]->arricao; $current_location2 = $pirep[0]->arrname; ?> <td>Here
×
×
  • Create New...