-
Posts
304 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Fernando
-
I have a problem, when you book the flight the message No route passed Iva, Can you help me?
-
Iva Perfect. I'll install the module looks very good, you've shown in your previous post a system of purchase of these aircraft to fly charter flights. Please This system is in operation? (aircraft Shop)
-
I'm looking at the forum and would like to suggest an idea at all. It would be possible to create a system linking the Pilot Shop The pilot using his money to buy a charter flight? Example First Flight - Cessna 172 - Flight taking off from SBSP to SBKP, take the opportunity to fly on a visual flight through the city of sao paulo in Brazil. Buy Now $2.500 Second Flight - Boeing 737-800 - Meet the Lisbon flight and buy now knows the best landscapes of Portugual bound LEMD. Buy Now $5.000 Third Flight - Boeing 747-400- Now make a TOUR leaving LPPT bound for SBGR with scale SBRF, come experience this thrill aboard this magnificent aircraft - Buy Now $20.000 I think it is possible to create a system that is an idea after all pilots flying will want to buy a charter flight, so we can have a difference within the company ... and a cool competition to join the above values ​​and enjoy a flight and charte performing a flight like the pilot.
-
Iva. I want to use this module, I can take a doubt? I have 757 flights, which can generate cheap scales, if I install Your module will only be able to fly with cheap chaters? this can give problems in other free flights?
-
Stefan Your site is off
-
Atcarrillo Yes I will enter the menu
-
DylanNoes not located the skin on your site
-
Can someone help me, I analyzed my site and realized that the person filling out the contact form .... the data is not sent to the registered email address when installing phpvms. I noticed that too when sending e-mail to all pilots in the admin center, shows that it was sent but no one receives ... Does anyone have any idea?
-
What is your site?
-
Thanks .. You can use the will, just need to keep the credits and send me a link from the site to publicize the partnership. www.voegolv.net
-
Thanks for using my skin, Thanks for your opinion ..
-
Are you using the skins Crystal? the settings are in styles.css and Layout.tpl. Pass me the link of your site to take a look.
-
I went to your site and this functioning normally, just need help central photo I will do that for you. I pass data from the FTP in private the former does not.
-
CPC900 Thank you, Check my new SKIN for download. SKIN DEMO: http://phpvms.site11.com/
-
Parkho Good Work. Thank you very much for help.
-
I fixed the link to download now.
-
It worked, How can I insert a table with the following data Flight number Pilot Departure Arrival Aircraft
-
Good morning, here's the code. Insert it in your frontpage_main.tpl <?php $flights = PIREPData::getRecentReportsByCount(10); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> <img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=wls&MR=900&MX=720x360&PM=b:disc7%2b%25U" width="725 px" /><br /> Maps generated by the <a href="http://www.gcmap.com/">Great Circle Mapper</a> - copyright © <a href="http://www.voegolv.net" target="_blank">Luiz Fernando </a> <!--Start Table--> <?php $count = 10; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table width="725 px" border="1" bordercolor="#FFFFFF"> <thead> <tr align="center" valign="middle" bgcolor="#7D95AF"> <th>Flight #</th> <th>Departure</th> <th>Arrival</th> <th>Duration</th> <th>Pilot</th> <th>Landing Rate</th> <th>Aircraft</th> </tr> </thead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo "<tr>"; echo "<td align=center> $pirep->code $pirep->flightnum </td>"; echo "<td align=center> $pirep->depicao </td>"; echo "<td align=center> $pirep->arricao </td>"; echo "<td align=center> $pirep->flighttime </td>"; echo "<td align=center> $pilotid $pilotinfo->firstname $pilotinfo->lastname </td>"; echo "<td align=center> $pirep->landingrate </td>"; echo "<td align=center> $pirep->aircraft </td>"; echo "</tr>"; } } else { echo "<tr><td>There are no recent flights!</td></tr>"; } ?> </table> </td> This you insert in your Profile_main.tpl, it reports the last 10 flights each pilot and shows how many days lack to Prevent Them from being retired <?php $flights = PIREPData::getLastReports($userinfo->pilotid, '10'); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> </p> <p align="center"><img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=520x260&PM=pemr:disc10:red%2b%22%25I%22:white&PC=blue" /><br /> </p> <div class="alert alert-info"> <?php $totaldays = Config::Get('PILOT_INACTIVE_TIME'); { ?> <?php if ($userinfo->lastpirep == '0000-00-00 00:00:00') { echo 'Voce não realizou ainda nenhum voo na Gol Virtual!'; } else { $datebefore1 = substr($userinfo->lastpirep, 0, 10); $datetoday2 = date("Y-m-d"); $datebefore3 = strtotime($datebefore1); $datetoday4 = strtotime($datetoday2); $newdate = $datetoday4-$datebefore3; $lastpirep = floor($newdate/(60*60*24)); $daysleft = $totaldays-$lastpirep; echo 'your last flight was '; if ($lastpirep == 0) { echo 'Today'; } else if ($lastpirep == 1) { echo 'Yesterday'; } else { echo $lastpirep . ' day(s) ago.'; } echo ' Voce tem '; if ($daysleft == 0) { echo 'Our system has identified the absence of flights within 30 days, carrying his status was changed to inactive!'; } else { echo $daysleft . ' days to make your flight and prevent your registration is changed to inactive.'; } } ?> <?php } ?>
-
tutmeister Thank you.
-
I searched here in the forum something like Booked Flights, thought, but nothing worked properly. I visualized the Admin Center, my pilots booked 18 flights, but not me this script returns the same flights on the Frontpage_main.tpl,. Someone has something similar like this http://airmaltavirtu...ex.php/bookings The script I have is this, but he did not return the you that I see in the admin center. Current Booked Flights</h3> <?php /*echo '<pre>'; print_r($allbids); echo '</pre>';*/ if(!$allbids) { echo 'There are no bids!'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Route</th> <th>Pilot</th> <th>Day Filed</th> <th>Options</th> </tr> </thead> <tbody> <?php foreach($allbids as $bid) {?> <tr id="row<?php echo $bid->bidid?>"> <td><?php echo $bid->code.$bid->flightnum."({$bid->depicao} - {$bid->arricao})"?></td> <td><?php echo PilotData::GetPilotCode($bid->code, $bid->flightnum).' - '.$bid->firstname.' '.$bid->lastname; ?></td> <td><?php echo $bid->dateadded; ?></td> <td> <button href="<?php echo url('/schedules/brief/'.$bid->routeid);?>"> Brief</button> </td> </tr> <?php } ?> </tbody> </table> Commercial Pilot www.voegolv.net
-
What can I do to block permission theft tpl my skin?
-
I'm Realizing That there are people invading the system through the link. example: www.yoursite/lib/skins/yourskin/ yourpage.tpl Simply put the member name of the page and to steal our work without authorization. How can we block. It is regrettable that.
-
What is the problem? has error? which site? we need information about the problem to help you