Maksim
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Maksim
-
-
Hello, I want to show the current location of the pilot on the schedule page (/index.php/schedules). As I know, I use the correct code, but on the Schedules page it does not show anything except the words "This pilot's last location is". But on other pages (Pilot Center, profile) with this code everything works fine.
<?php $last_location = PIREPData::getLastReports($userinfo->pilotid, 1, PIREP_ACCEPTED); echo "This pilot's last location is: {$last_location->arricao}"; ?>
-
Hello!
I know how to add a new ICAO and a new image. I dont know how to add this module to the main page of the site.
Thank you again!
-
Hello, As I can see there is a Focus Airport Module, How I can configure it, thank you very much!
-
Solved by adding
<?php
echo file_get_contents('php://input');
?>
<form action="#" method="post">
<input type="text" name="textOne" value="Foo"/>
<input type="text" name="textTwo" value="Bar"/>
<input type="submit" value="Submit"/>
</form>at the top of the php.ini
-
Hello, I downloaded kACARS_Free.php module, droped that file to the core/modules/kACARS_Free, but when I try to login in Kacars I have this error: https://imgur.com/a/c5dLd
site name: http://balticvagroup.eu/smartlynxvirtual
Help me please, thank you!
Pilots last location on Schedules page
in Support Forum
Posted · Edited by Maksim
Thank you so much, it worked, I didn't know that I needed a different code.
One more question, how to add the name of the airport? {$last_location->arrname} doesn't work.