Jump to content

carlosuc99

Members
  • Posts

    46
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

carlosuc99's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. Yeah!! But I only want to know if it put a lot of point that you flight or use other way.
  2. Ok, but What column it use? And How is the content of this column?
  3. Hi, I see that http://greatairways.net/index.php/pireps/viewreport/7977. It every 5 minutes a postion report. It is a default value of FSACARS or it airline develop this option only for their? If it is a default function, What column it use? And How is the content of this column?
  4. And It is possible to deduct condition in the aircraft in the system???? Its possible in other form??
  5. Hi; I have FlightBookingSystem by parko. And I have to do two modifications. In the schedule_resoults.tpl I have this code: <table width="100%" cellspacing="0" cellpadding="0" border="0"> <?php if(!$allroutes) { echo '<tr><td align="center">No routes have been found!</td></tr>'; return; } ?> <script src="http://skyvector.com/linkchart.js"></script> <thead> <tr style="height:12px; font-size:14px; font-weight:normal"> <th width="20%" align="center">N° de Vuelo</th> <th width="20%" align="center">Origen</th> <th width="20%" align="center">Destino</th> <th width="20%" align="center">Avión</th> <th width="20%" colspan="2" align="center">Opciones</th> </tr> <tr> <td width="20%" align="center">------------</td> <td width="20%" align="center">------------</td> <td width="20%" align="center">------------</td> <td width="20%" align="center">------------</td> <td width="20%" colspan="2" align="center">------------</td> </tr> </thead> <tbody> <?php foreach($allroutes as $route) { if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { continue; } if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn()) { if($route->aircraftlevel > Auth::$userinfo->ranklevel) { continue; } } ?> <tr style="height:12px; font-size:14px; font-weight:normal;"> <td width="20%" align="center" valign="middle"><?php echo $route->code . $route->flightnum?></td> <td width="20%" align="center" valign="middle"><?php echo $route->depicao;?></td> <td width="20%" align="center" valign="middle"><?php echo $route->arricao;?></td> <td width="20%" align="center" valign="middle"><?php echo $route->aircraft;?></td> <td width="20%" align="center" valign="middle"><img onmouseover="document.body.style.cursor='pointer';" onmouseout="document.body.style.cursor='default';" class="{button:{icons:{primary:'ui-icon-arrowthick-1-s'}}}" href="#" onclick="$('#details_dialog_<?php echo $route->flightnum;?>').toggle()" src="http://alvandair.com/lib/skins/aqua/images/BookingButt/Preview.png" border="0"> <?php if($route->bidid != 0) { ?> <img src="http://alvandair.com/lib/skins/aqua/images/BookingButt/SwissBook.png" border="0"> <?php } else { ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>"><img src="http://alvandair.com/lib/skins/aqua/images/BookingButt/BlueBook.png" border="0"></a> <?php } ?> </td> </tr> <td colspan="5"> <table cellspacing="0" cellpadding="0" border="1" id="details_dialog_<?php echo $route->flightnum;?>" style="display:none" bgcolor="#ADDFFF" width="100%"> <tr> <th align="center" bgcolor="#153E7E" colspan="4"><font color="white">Flight Briefing</font></th> </tr> <tr> <td align="left">Origen:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo "{$route->depname} ($route->depicao)"?></b></td> <td align="left">Destino:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo "{$route->arrname} ($route->arricao)"?></b></td> </tr> <tr> <td align="left">Avión:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->aircraft; ?></b></td> <td align="left">Distancia:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->distance . Config::Get('UNITS') ;?></b></td> </tr> <tr> <td align="left">Hora de Salida:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->deptime?> GMT</b></td> <td align="left">Hora de Llegada:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->arrtime?> GMT</b></td> </tr> <tr> <td align="left">Altitud:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->flightlevel; ?> ft</b></td> <td align="left">Duración:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->flighttime ;?> h</b></td> </tr> <tr> <td align="left">Ruta:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->route; ?></b></td> <td align="left">Precio del Billete:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b> $ <?php echo $route->price ;?>.00</b></td> </tr> <tr> <th align="center" bgcolor="#153E7E" colspan="4"><font color="white">Cálculo del Combustible para el <?php echo $route->aircraft ;?></font></th> </tr> <?php $fuelflowATR72 = 800; $fuelhrATR72 = 2000; $flholdingATR72 = 1000; $fldiversionATR72 = 1500; $flcontingencyATR72 = 200; $fltaxiATR72= 500; if($route->aircraft == 'ATR 72-212') { $fuelflow = $fuelflowATR72; $fuelhr = $fuelhrATR72; $fltaxi = $fltaxiATR72; $flholding = $flholdingATR72; $fldiversion = $fldiversionATR72; $flcontingency = $flcontingencyATR72; } elseif($route->aircraft == 'ATR 72-202') { $fuelflow = $fuelflowATR72; $fuelhr = $fuelhrATR72; $fltaxi = $fltaxiATR72; $flholding = $flholdingATR72; $fldiversion = $fldiversionATR72; $flcontingency = $flcontingencyATR72; } $fldis = $route->distance / 100; $fuelnm = $fuelflow * $fldis; $flndg = $fuelhr * 3/4; $result = $fuelnm + $fltaxi + $flholding + $fldiversion; ?> <tr> <td align="left" colspan="2">Combustible Requerido hasta el Destino:</td> <td align="left" colspan="2"><b><?php echo $fuelnm ;?> lbs</b></td> </tr> <tr> <td align="left" colspan="2">Combustible para el taxi y uso en tierra:</td> <td align="left" colspan="2"><b><?php echo $fltaxi ;?> lbs</b></td> </tr> <tr> <td align="left" colspan="2">Esperas:</td> <td align="left" colspan="2"><b><?php echo $flholding ;?> lbs</b></td> <tr> <td align="left" colspan="2">Desvíos:</td> <td align="left" colspan="2"><b><?php echo $fldiversion ;?> lbs</b></td> </tr> </tr> <tr> <td align="center" colspan="4"><font color="blue" size="4">Combustible para la Ruta: <?php echo $result ;?> lbs</font></td> </tr> </td> </tr> <tr> <th align="center" bgcolor="#153E7E" colspan="4"><font color="white">Mapa del Vuelo</font></th> </tr> <tr> <td width="100%" colspan="4"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%" src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=680x200&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /> </tr> </td> </table> </td> </tr> <?php /* END OF ONE TABLE ROW */ } ?> </tbody> </table> I want to see only planes there are in my current location and if I book a flight with the aircraft N5666 I can´t book a flight other flight with this plane. I fought this code. It is realschedulite_index in the Aircrafts column the code what you can see the planes in this location. $aircrafts = OperationsData::getAllAircraft('true'); $count = 0; if(!$aircrafts) { echo 'La aerolínea no tiene aviones!'; } else { foreach ($aircrafts as $aircraft) { $location = RealScheduleLiteData::get_aircraft_location->arricao; if(!$location) { $location = RealScheduleLiteData::get_aircraft_start($aircraft->id); $airfield = $location->depicao; } else { $airfield = $location->arricao; } if ($airfield == $airport->icao) { if ($count == 0) { echo '| '; } echo ''.$aircraft->registration.' | '; $count++; } } if ($count == 0) { echo '<font color="#6D7B8D"><i>No hay aviones disponibles</i></font>'; } echo '</td>'; } Any Ideas??? Please help me.
  6. Hi; I have FlightBookingSystem by parko. And I have to do two modifications. In the schedule_resoults.tpl I have this code: <table width="100%" cellspacing="0" cellpadding="0" border="0"> <?php if(!$allroutes) { echo '<tr><td align="center">No routes have been found!</td></tr>'; return; } ?> <script src="http://skyvector.com/linkchart.js"></script> <thead> <tr style="height:12px; font-size:14px; font-weight:normal"> <th width="20%" align="center">N° de Vuelo</th> <th width="20%" align="center">Origen</th> <th width="20%" align="center">Destino</th> <th width="20%" align="center">Avión</th> <th width="20%" colspan="2" align="center">Opciones</th> </tr> <tr> <td width="20%" align="center">------------</td> <td width="20%" align="center">------------</td> <td width="20%" align="center">------------</td> <td width="20%" align="center">------------</td> <td width="20%" colspan="2" align="center">------------</td> </tr> </thead> <tbody> <?php foreach($allroutes as $route) { if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { continue; } if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn()) { if($route->aircraftlevel > Auth::$userinfo->ranklevel) { continue; } } ?> <tr style="height:12px; font-size:14px; font-weight:normal;"> <td width="20%" align="center" valign="middle"><?php echo $route->code . $route->flightnum?></td> <td width="20%" align="center" valign="middle"><?php echo $route->depicao;?></td> <td width="20%" align="center" valign="middle"><?php echo $route->arricao;?></td> <td width="20%" align="center" valign="middle"><?php echo $route->aircraft;?></td> <td width="20%" align="center" valign="middle"><img onmouseover="document.body.style.cursor='pointer';" onmouseout="document.body.style.cursor='default';" class="{button:{icons:{primary:'ui-icon-arrowthick-1-s'}}}" href="#" onclick="$('#details_dialog_<?php echo $route->flightnum;?>').toggle()" src="http://alvandair.com/lib/skins/aqua/images/BookingButt/Preview.png" border="0"> <?php if($route->bidid != 0) { ?> <img src="http://alvandair.com/lib/skins/aqua/images/BookingButt/SwissBook.png" border="0"> <?php } else { ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>"><img src="http://alvandair.com/lib/skins/aqua/images/BookingButt/BlueBook.png" border="0"></a> <?php } ?> </td> </tr> <td colspan="5"> <table cellspacing="0" cellpadding="0" border="1" id="details_dialog_<?php echo $route->flightnum;?>" style="display:none" bgcolor="#ADDFFF" width="100%"> <tr> <th align="center" bgcolor="#153E7E" colspan="4"><font color="white">Flight Briefing</font></th> </tr> <tr> <td align="left">Origen:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo "{$route->depname} ($route->depicao)"?></b></td> <td align="left">Destino:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo "{$route->arrname} ($route->arricao)"?></b></td> </tr> <tr> <td align="left">Avión:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->aircraft; ?></b></td> <td align="left">Distancia:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->distance . Config::Get('UNITS') ;?></b></td> </tr> <tr> <td align="left">Hora de Salida:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->deptime?> GMT</b></td> <td align="left">Hora de Llegada:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->arrtime?> GMT</b></td> </tr> <tr> <td align="left">Altitud:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->flightlevel; ?> ft</b></td> <td align="left">Duración:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->flighttime ;?> h</b></td> </tr> <tr> <td align="left">Ruta:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b><?php echo $route->route; ?></b></td> <td align="left">Precio del Billete:</td> <td colspan="0" align="left" bgcolor="#ADDFFF"><b> $ <?php echo $route->price ;?>.00</b></td> </tr> <tr> <th align="center" bgcolor="#153E7E" colspan="4"><font color="white">Cálculo del Combustible para el <?php echo $route->aircraft ;?></font></th> </tr> <?php $fuelflowATR72 = 800; $fuelhrATR72 = 2000; $flholdingATR72 = 1000; $fldiversionATR72 = 1500; $flcontingencyATR72 = 200; $fltaxiATR72= 500; if($route->aircraft == 'ATR 72-212') { $fuelflow = $fuelflowATR72; $fuelhr = $fuelhrATR72; $fltaxi = $fltaxiATR72; $flholding = $flholdingATR72; $fldiversion = $fldiversionATR72; $flcontingency = $flcontingencyATR72; } elseif($route->aircraft == 'ATR 72-202') { $fuelflow = $fuelflowATR72; $fuelhr = $fuelhrATR72; $fltaxi = $fltaxiATR72; $flholding = $flholdingATR72; $fldiversion = $fldiversionATR72; $flcontingency = $flcontingencyATR72; } $fldis = $route->distance / 100; $fuelnm = $fuelflow * $fldis; $flndg = $fuelhr * 3/4; $result = $fuelnm + $fltaxi + $flholding + $fldiversion; ?> <tr> <td align="left" colspan="2">Combustible Requerido hasta el Destino:</td> <td align="left" colspan="2"><b><?php echo $fuelnm ;?> lbs</b></td> </tr> <tr> <td align="left" colspan="2">Combustible para el taxi y uso en tierra:</td> <td align="left" colspan="2"><b><?php echo $fltaxi ;?> lbs</b></td> </tr> <tr> <td align="left" colspan="2">Esperas:</td> <td align="left" colspan="2"><b><?php echo $flholding ;?> lbs</b></td> <tr> <td align="left" colspan="2">Desvíos:</td> <td align="left" colspan="2"><b><?php echo $fldiversion ;?> lbs</b></td> </tr> </tr> <tr> <td align="center" colspan="4"><font color="blue" size="4">Combustible para la Ruta: <?php echo $result ;?> lbs</font></td> </tr> </td> </tr> <tr> <th align="center" bgcolor="#153E7E" colspan="4"><font color="white">Mapa del Vuelo</font></th> </tr> <tr> <td width="100%" colspan="4"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%" src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=680x200&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /> </tr> </td> </table> </td> </tr> <?php /* END OF ONE TABLE ROW */ } ?> </tbody> </table> I want to see only planes there are in my current location and if I book a flight with the aircraft N5666 I can´t book a flight other flight with this plane. I fought this code. It is realschedulite_index in the Aircrafts column the code what you can see the planes in this location. $aircrafts = OperationsData::getAllAircraft('true'); $count = 0; if(!$aircrafts) { echo 'La aerolínea no tiene aviones!'; } else { foreach ($aircrafts as $aircraft) { $location = FlightSchedulesData::get_aircraft_location($aircraft->id); $airfield = $location->arricao; if(!$location) { $location = FlightSchedulesData::get_aircraft_start($aircraft->id); $airfield = $location->depicao; } else { $airfield = $location->arricao; } if ($airfield == $airport->icao) { if ($count == 0) { echo '| '; } echo ''.$aircraft->registration.' | '; $count++; } } if ($count == 0) { echo '<font color="#6D7B8D"><i>No hay aviones disponibles</i></font>'; } echo '</td>'; } Any Ideas??? Please help me.
  7. The aircraft condition is similar when I bought the aircraft and I have four flights with this aircraft. Any Ideas???
  8. How Can I use this module?? What files I need to modify or create?
  9. Hi, I pay for a new schedule system only for my VA. In the schedule system you can book a flight in your location and with the planes are in your location. And I put in the admin in a tab in xxx_schedules tab ex: E195, AT72. If you book this flight the Schedule System gives you the option to select Embraers 195 & ATR72 in this location. I do this part "And I put in the admin in a tab in xxx_schedules tab ex: E195, AT72" but I pay for the rest of the Schedule System.
  10. I have other problem. When I go to book flights page. It show all flights for this airport for all airplanes. Example: The Plane whith registratrion EC-MHK are in KATL, the Plane EC-MHD are in KJFK. If I am in KATL and I go the book flights page I can book schedules for EC-MHK and for EC-MHD. I want think is better if i can book flights for the airplane are in my location not for all airplanes. It is possible??
  11. Ok, but I think is good for my VA. It is possible???
  12. It is possible to create a menu in core_navigation wll show the schedules avaliables at my location???
  13. It´s a good idea, but I think is better create a schedules system similar to RealScheduleLite but if I am in KLAX and there are 10 flights avaliables, in RealScheduleLite I cant book all because in RealScheduleLite you only can book a looping routes: flight 1 - KBOS - KATL flight 2 - KATL - KDEN flight 3 - KDEN - KORD flight 4 - KORD - KBOS But I think if I am in KATL and there are schedules KDEN and to KBOS I can book both not only one. Please, Can you do this Addon? I think will is a GREAT ADDON!
  14. Hi, When I book a schedule from RealScheduleLite other pilot can book the same schedule. It is possible to book only one time the schule. Example: if I book a schedule other pilot can´t book the same schedule. Any Idea?
  15. Hi, When a pilot resgistered form my VA the phpvms sent a mail. I want to see spaces in the final mail. This is the final mail: But I want and I put in the email_registrationaceppted.tpl this: How can I see the spaces in the final mail? Any Ideas?
×
×
  • Create New...