Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. lNash1998

    Air Portugal VA

    http://airportugalva.000webhostapp.com/index.php Soon Link: va.PT Come and Fly With US! TAP PORTUGAL ♥
  3. Today
  4. Hi, Im trying show the top5 landing rating in frontpage_main.tpl but not work (it isn't showing and no error messages) , can anyone help me? /public_html/core/common/TouchdownStatsData.class.php public function get_stats_by_cur_month5 () { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate)=MONTH(now()) AND YEAR(submitdate)=YEAR(now()) ORDER BY landingrate DESC LIMIT 5"; return DB::get_results($query); } /public_html/core/modules/TouchdownStats/TouchdownStats.php public function top_landing_this_month5 () { $this->set('stats', TouchdownStatsData::get_stats_by_cur_month5()); $this->show('public_html/lib/skins/templatemo_254_agency/frontpage_main.tpl'); } /public_html/lib/skins/templatemo_254_agency/frontpage_main.tpl <?php MainController::Run('TouchdownStats', 'display_TouchdownStats/top_landing_this_month5'); ?> Thanks!
  5. Nabeel

    Android support development

    A mobile-friendly skin is probably the best way to do. However, the next phpvms version has a REST API built-in so creating an app or whatever should be much easier. Legacy doesn't have an API and that's something you'd need to build.
  6. Nabeel

    Error Installing Tables

    It can't connect to your database.
  7. Nabeel

    Off Topic Code Question

    What are the errors? And what exactly are you trying to do? That is a nasty regex
  8. Nabeel

    Flight 'snail trail' on the ACARS map

    There's no build-in way to do this, unfortunately.
  9. Nabeel

    Cron Error

    Ok, so it's not passing in the start date. Find out where that's being called from and see if you can trace the call from there. Also, it's a notice error, so you can probably just hide it. Does the thing you're trying to do actually work, though? There's also this... <p style="font-size: 16px; color: #001B6B">Unauthorized access - Invalid Permissions.</p> Check the permissions of your files
  10. QPilot

    Auto Accept/Reject Pirep

    Hi here are the screenshots. Screenshots.zip
  11. Vangelis

    Auto Accept/Reject Pirep

    Please attach a screenshot of your criteria page and a pirep link with all the fails
  12. QPilot

    Auto Accept/Reject Pirep

    @Vangelis Okay i managed to installed it. but now, it didnt accept or reject it. Keeps saying Pending or basically awaiting for admin to approve which is me. Under " Admin Code that will Reject the Pirep" i already set my pilot id which is 1 since mine is MVA1.
  13. Yesterday
  14. Vangelis

    Auto Accept/Reject Pirep

    There is a readme did you readme ?
  15. QPilot

    Auto Accept/Reject Pirep

    Hi @Vangelis what is the link of the version autoaccept? i downloaded the autopirep0.zip and installed it in my host. But it didnt appear in my pilot report area under admin. how do i solve this ?
  16. Last week
  17. Baileypellow

    Flight 'snail trail' on the ACARS map

    Yes! this is similar!
  18. DesComm

    Cron Error

    Bump
  19. Salem

    View all pirep

    Good day all, You would like show the data " payadjsut" on view all pirep page ( pirep_list.php). But that tells me 0. Will you have a problem regarding this problems. <?php foreach($pireps as $pirep) { if($pirep->accepted == PIREP_PENDING) $td_class = 'pending'; else $td_class = ''; $error = false; $schedule = SchedulesData::getScheduleByFlight($pirep->code, $pirep->flightnum); ?> <tr class="<?php echo $class?> pirep_list" id="row<?php echo $pirep->pirepid;?>"> <td align="center" valign="top" nowrap="nowrap" style="width: 27px;" class="<?php echo $td_class;?>"> <img height="25px" width="25px" src="<?php echo PilotData::GetPilotAvatar($pirep->pilotid);?>" align="left" /> </td> <td align="left" valign="top" nowrap class="<?php echo $td_class;?>"> <strong><a href="<?php echo SITE_URL?>/admin/index.php/pilotadmin/viewpilots?action=viewoptions&pilotid=<?php echo $pirep->pilotid;?>"> <?php echo PilotData::GetPilotCode($pirep->pcode, $pirep->pilotid) . ' - ' .$pirep->rank .'--' .$pirep->firstname .' ' . $pirep->lastname;?></a></strong></br></br> <strong>Flight:</strong> <?php echo $pirep->code . $pirep->flightnum ; ?></div> <strong>Dep/Arr: </strong><?php echo $pirep->depicao; ?>/<?php echo $pirep->arricao; ?> <strong>FL: </strong><?php echo $schedule->flightlevel; ?><font color="#FFFFFF">------</font><strong>Point(s) without bonus: </strong><b><font color="#FF0000"><?php echo $schedule->payforflight; ?></font></b></br></br> <strong>Estimation Enroute Time (EET): </strong><b><font color="#2E2EFE"><?php echo $schedule->flighttime; ?></font><font color="#FFFFFF">------</font><strong>Time flown: </strong><b><font color="#04B404"><?php echo $pirep->flighttime; ?></font><font color="#FFFFFF">------</font><b><font color="#FFFFFF">------</font></br></br> <strong>Landing rate: </strong><b><font color="#FF8000"><?php echo $pirep->landingrate; ?></font> </br></br> <strong> Payadjust </strong><b><font color="#04B404"><?php echo sprintf("%.00f", $pirep->payadjust); ?></font>&nbsp &nbsp &nbsp &nbsp </br></br> Thanking you in advance Best regards
  20. Baileypellow

    Flight 'snail trail' on the ACARS map

    Could be useful if it wasn't so expensive 🙂
  21. gio1961

    Flight 'snail trail' on the ACARS map

    Hi, see here if it can be useful https://www.crazycreatives.com/downloads/flight-position-tracker/
  22. Baileypellow

    Flight 'snail trail' on the ACARS map

    I’m not sure there aren’t any live flights. I just want to basically leave a line where the aircraft has been (so you can see detail like the route on which it taxiied) and then a dotted line from it’s current position to the destination.
  23. Yash

    Flight 'snail trail' on the ACARS map

    Do you require something like this? http://vcrew.vistaravirtual.com/AirlineMap
  24. Hi Guys This has probably been asked before, but I would really love to find a way I can put a live 'track' of the aircraft that shows an accurate history of where the Aircraft has been and a dotted line from it's current position to the destination. Similar to how FR24 does it. This would need to be displayed when someone clicks on the aircraft in the ACARS Map instead of just a straight line from Departure to Arrival Cheers in advance
  25. andrewt

    Error Installing Tables

    Hello, I am new to the PHPVMS system. Originally I was having trouble with the registration, so I went to try to reinstall the system. This time I am having an issue with installing tables. If anyone can help that would be greatly appreciated. I tried editing the file to match my database but still will not work. The errors I got are below. Installing the tables... Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /home/vol14_5/epizy.com/epiz_22564230/htdocs/core/classes/ezdb/ezdb_mysqli.class.php on line 97 Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>No such file or directory (2002)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /home/vol14_5/epizy.com/epiz_22564230/htdocs/core/classes/ezdb/ezdb_mysqli.class.php on line 102 Thank you, Andrew
  26. Virtual Airlines Manager features are currently being added
  27. Relja12

    Codeshare module V1.3

    Does anyone have a .tpl version of this module?
  28. Earlier
  29. DesComm

    Cron Error

    Output is the same with and w/o $start When run manually here is what shows: in /var/www/vhosts/,,,,,,.com/test.,,,,,,,.com/core/common/StatsData.class.php on line 171 Reset PIREP Counts - list of pilots Updating Total Hours Count - calculating hours this OK Now counting from PIREPS - OK Found 127473:46:00 total hours, updated When CRON is run this is the message that system sends: Notice: A non well formed numeric value encountered in /var/www/vhosts/,,,,,,.com/test.,,,,,,,.com/core/common/StatsData.class.php on line 171 <div id="codon_crit_error" style="font-family: 'Lucida Sans',Verdana;border:#999 1px solid;background-color:#fff;padding:20px 20px 12px 20px;"> <h1 style="font-family: verdana; font-weight:16px;font-size:18px;color:#6B001B;margin:0 0 4px 0;">An Error Was Encountered</h1> <p style="font-size: 16px; color: #001B6B">Unauthorized access - Invalid Permissions.</p> <p style="font-size: 10px;"><center><a href="http://test.,,,,,,,,.com">Return to Homepage</a></p> </div>
  30. Nabeel

    Cron Error

    It's best to keep it here in case it helps anyone else. Was there an output from the $start? What if you run the script "by hand" on the command line?
  1. Load more activity
×