Jump to content

ProSkyDesign

Moderators
  • Posts

    207
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ProSkyDesign

  1. It doesn't works I want to put in a simple page (/index.php/pages/aeropuertos) but now the error is: Parse error: syntax error, unexpected '{' in /home1/mcfilmsp/public_html/crewcenter/core/pages/aeropuertos.php on line 2
  2. I have the following error Parse error: syntax error, unexpected 'foreach' (T_FOREACH) in /home1/mcfilmsp/public_html/crewcenter/core/pages/aeropuertos.php on line 4
  3. Is possible to get a "Booked" or "Free" State in Fleet page??
  4. Works but with some aircraft... Look at the attached pics! Thanks for your time :D!
  5. Thanks, but i think the code must be on confirmbid.tpl Here's my code: (confirmbid.tpl) <style> .sharp { border-radius: 0; margin-left: 3px; margin-right: 3px; } </style> <div class="container-fluid"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Confirmar Reserva<!-- <?php echo $routeid; ?> | <?php echo $airline; ?> | <?php echo $aicao; ?> --></h4> </div> <div class="modal-body"> <h3>Seleccionar Aeronave</h3> <form action="<?php echo url('/schedules/addbid');?>" method="post"> <select class="form-control" name="aircraftid" id="aircraftid"> <option value="" selected disabled>Selecciona Tu Avi贸n</option> <?php $allaircraft = FltbookData::getAllAircraftFltbook($airline, $aicao); foreach($allaircraft as $aircraft) { $icaoairline = "{$aircraft->icao}{$airline}"; if($aircraft->registration == $icaoairline) { echo ''; } else { $sel = ($_POST['aircraft'] == $aircraft->name || $bid->registration == $aircraft->registration)?'selected':''; echo '<option value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->registration.' - '.$aircraft->icao.' - '.$aircraft->name.' ('.(AircraftMarketData::getaccond($aircraft->id)).'%)</option>'; } } ?> </select> <hr /> <input type="hidden" name="routeid" value="<?php echo $routeid; ?>" /> <input type="submit" name="submit" class="btn btn-success" value="Reservar" /> <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button> </form> </div> <!-- <a class="btn btn-success" href="<?php echo url('/schedules/addbid/'.$routeid.'?id='.$aircraft->id);?>">Book</a> --> </div> Where can I add the code above?
  6. Nice Module, do you sell it? or can you share it :O?
  7. And how can I do it by the "Fltbook"? (I guess is your own module)
  8. How can I create a page with airport data? For example: Table with: Airport Name, Airport ICAO, Country, Latitude, Longitude, Fuel Price, Airline Schedules from or to the airport.
  9. I use the following code into my acarsmap.js but my bigmap now is not display... just show a blankpage :(. Any help? (I put 5 folders into inair with airline codes for each airline) if (data[i].flightnum.substring(0,3); == "SKU"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3);+"/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } else if (data[i].flightnum.substring(0,3); == "IBE"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3);+"/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } else if (data[i].flightnum.substring(0,3); == "IBS"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3);+"/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } else if (data[i].flightnum.substring(0,3); == "DAL"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3);+"/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } else if (data[i].flightnum.substring(0,3); == "SKC"){ var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3);+"/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); } Thanks!
  10. Hi everyone... The " acars_map_bubble " is editable? and where can I find the css to edit it?... Thanks
  11. 5.3 (version of php)= 2.1 (version of phpvms) regarding admin/maintenance.php Yes is it but still doesn't work
  12. <div id="mainbox"> <h3>Vuelos Reservados</h3> <?php if(!$lastbids) { echo '<p align="center">No hay vuelos reservados</p>'; return; } ?> <table class="table table-striped"> <thead> <tr bgcolor=""> <th height="25" width="15%"><div align="center">Vuelo</div></th> <th height="25" width="13%"><div align="center">Origen</div></th> <th height="25" width="13%"><div align="center">Destino</div></th> <th height="25" width="20%"><div align="center">Piloto</div></th> <th height="25" width="15%"><div align="center">Avión</th> <th height="25" width="12%"><div align="center">Matrícula</div></th> </tr> </thead> <tbody> <?php foreach($lastbids as $lastbid) { ?> <tr bgcolor=""> <td height="25" width="15%" align="center"><?php echo $lastbid->code . $lastbid->flightnum; ?></a> </td> <td height="25" width="13%" align="center"><span><?php echo $lastbid->depicao; ?></span></td> <td height="25" width="13%" align="center"><span><?php echo $lastbid->arricao; ?></span></td> <?php $params = $lastbid->pilotid; $pilot = PilotData::GetPilotData($params); $pname = $pilot->firstname; $psurname = $pilot->lastname; ?> <td height="25" width="20%" align="center"><span><?php echo $pname; ?> <?php echo $psurname; ?></span></td> <td height="25" width="15%" align="center"><span><?php echo $lastbid->aircraft; ?></span></td> <td height="25" width="12%" align="center"><?php echo $lastbid->registration?></td> </tr> <?php } ?> </tbody> </table> <hr> </div> frontpage_recentbids.tpl
  13. I removed all bids from sql but still continue the problem
  14. Hi I'm a website designer... If you want it yet please mail me:

    jose.bustos@travelskyalliance.com

  15. servetas I have the same issue, I'm using phpvms 5.3, I think it doesn't work because I don't run a cron-job but I don't know how can i do it.
  16. I have the same issue when reject a pirep or when delete a pirep... I haven't modify any admin document. Any solution?
  17. No, I can't.... The bids aren't in bids admin center when a pilot delete it from SmartCARS
  18. and how can i do it? because delete expired bids doesn't work =(
  19. Nice, but how can I use it?? an example for the pilot roster for example pls to put in a wordpress page. Thanks for your time!
  20. Hi, i'm using phpvms 5.3 (crewcenter.travelskyalliance.com) and when I tried to delete a bid from smartCARS, it is delete in the acars but no in the webpage... And now he flights mark as "bidded" (Reservado) but these flights aren't bidded... How can I delete these fake or ghost bids? ... Sql? (Look attached screen)
  21. Can you email me pls? ceo@travelskyalliance.com if your template works fine (no bugs with books or delete bids, edit profile, etc.) I can pay you.
×
×
  • Create New...