-
Posts
110 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by PIAS2011
-
There is no problem in this THE PROBLEM IS THAT THE WHEN I REJECT ANY PIREP REPORT IT DOES NOT SHOW REJECTED. !!
-
Jeff thanks for your help but i did not ask help for this i asked help for RECENT FLIGHT ARRIVALS i mean the Recent Arrivals Board. I have problem that it DOES NOT display the current status properly. Thanks CEO PIASimulations
-
Really nice va and site Good Luck
-
Thanks Palmairva.co.uk and thanks tom for your help now just need help with the recent flights board code.
-
anyone on this problem RECENT FLIGHTS BOARD Problem: The status of this board i.e ACCEPTED , REJECTED , PENDIMG does not work properly. <center><h2>Recent Arrivals</center></h> <table align="center" border="0" width="605px"> </table> <?php $count = 10; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table style="border:1px solid grey;" cellspacing="0" cellpadding="0" bgcolor="#1F1F1F"> <thead> <tr> <th width="7%" align="center" style="background-color: #171717;">Flight#</th> <th width="30%" align="center" style="background-color: #171717;">Departure</th> <th width="30%" align="center" style="background-color: #171717;">Arrival</th> <th width="15%" align="center" style="background-color: #171717;">Pilot</th> <th width="10%" align="center" style="background-color: #171717;">Landing Rate</th> <th width="8%" align="center" style="background-color: #171717;">Aircraft</th> <th width="5%" align="center" style="background-color: #171717;">Status</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); if($pirep->accepted == '0') $status = 'REJECTED'; if($pirep->accepted == '1') $status = 'ACCEPTED'; else $status = 'PENDING'; echo "<tr>"; echo "<td align=center bgcolor=#171717> $pirep->code-$pirep->flightnum </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->depname </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->arrname </font></td>"; echo "<td align=center bgcolor=#171717> $pilotid $pilotinfo->firstname $pilotinfo->lastname </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->landingrate </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->aircraft </font></td>"; echo "<td align=center bgcolor=#171717> $status </font></td>"; echo "</tr>"; } } else { echo "<tr><td><center>There are no recent flights!</td></tr></center>"; } ?> </tbody> </table> Please if someone could check my codes and tell me whats wrong in them. Thanks A lot
-
The code works fine now but look the table gets shorter and does not match the other table sizes. what to do?
-
sorry for that. wherez the new code?
-
The problem that i see is that "No Flights in Progress" should show in the center of the whole table but it shows in the extreme left of it and it looks really Odd.
-
see it on the site. No error message look at the flight board. On the site.
-
Not working. getting the same result look at my site. http://pias.waleeddc.com/index.php
-
Does not work ERROR Warning: Invalid argument supplied for foreach() in ********************* on line 33
-
Hello All Can you guys please check the codes of the following as I think that there is some problem with my codes. LIVE FLIGHT BOARD Problem that i am facing is that when there are no live flights the message 'there are currently no live flights' does NOT display properly. <style type="text/css"> <!-- th { color: #ff8710; font-weight: bolder; } td { color: #ff961e; font-weight: normal; } --> </style> <h2>Flight Departures Board</h2> <table style="border:1px solid grey;" cellspacing="0" cellpadding="0" bgcolor="#1F1F1F"> <tr> <th align="center" style="background-color: #171717; width: 3.5%;"> </th> <th width="5%" align="center" style="background-color: #171717;">Flight</th> <th width="20%" align="center" style="background-color: #171717;">Pilot</th> <th width="25%" align="center" style="background-color: #171717;">Departure</th> <th width="25%" align="center" style="background-color: #171717;">Arrival</th> <th width="15%" align="center" style="background-color: #171717;">Aircraft</th> <th width="10%" align="center" style="background-color: #171717;">Status</th> </tr> <?php $results = ACARSData::GetACARSData(); if (count($results) > 0) { foreach($results as $flight) { ?> <tr> <td align="center"><?php if($flight->phasedetail == "Boarding") { echo "<img style='padding-left:3px;' src='http://pias.waleeddc.com/lib/skins/PIAvirtual/images/dots_blink.gif'>"; } elseif($flight->phasedetail == "Arrived") { echo "<img style='padding-left:3px;' src='http://pias.waleeddc.com/lib/skins/PIAvirtual/images/dots.gif'>"; } elseif($flight->phasedetail == "Taxiing to Runway") { echo "<img style='padding-left:3px;' src='http://pias.waleeddc.com/lib/skins/PIAvirtual/images/dots.gif'>"; } elseif($flight->phasedetail == "On Approach") { echo "<img style='padding-left:3px;' src='http://pias.waleeddc.com/lib/skins/PIAvirtual/images/dots_yellow.gif'>"; } ?></td> <td align="center"><?php echo $flight->flightnum;?></td> <td align="center"><?php echo $flight->pilotname;?></td>/td> <td align="center"><?php echo $flight->depname;?></td> <td align="center"><?php echo $flight->arrname;?></td> <td align="center"><?php echo $flight->aircraftname;?></td> <td align="center"><?php if($flight->phasedetail != 'Paused') { echo $flight->phasedetail; } else { echo "Cruise"; }?></font></td> </tr> <?php } } else { ?> <tr> <td align="center">No Flights in Progres</td></tr> <?php } ?> </table> RECENT FLIGHTS BOARD Problem: The status of this board i.e ACCEPTED , REJECTED , PENDIMG does not work properly. <center><h2>Recent Arrivals</center></h> <table align="center" border="0" width="605px"> </table> <?php $count = 10; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table style="border:1px solid grey;" cellspacing="0" cellpadding="0" bgcolor="#1F1F1F"> <thead> <tr> <th width="7%" align="center" style="background-color: #171717;">Flight#</th> <th width="30%" align="center" style="background-color: #171717;">Departure</th> <th width="30%" align="center" style="background-color: #171717;">Arrival</th> <th width="15%" align="center" style="background-color: #171717;">Pilot</th> <th width="10%" align="center" style="background-color: #171717;">Landing Rate</th> <th width="8%" align="center" style="background-color: #171717;">Aircraft</th> <th width="5%" align="center" style="background-color: #171717;">Status</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); if($pirep->accepted == '0') $status = 'REJECTED'; if($pirep->accepted == '1') $status = 'ACCEPTED'; else $status = 'PENDING'; echo "<tr>"; echo "<td align=center bgcolor=#171717> $pirep->code-$pirep->flightnum </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->depname </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->arrname </font></td>"; echo "<td align=center bgcolor=#171717> $pilotid $pilotinfo->firstname $pilotinfo->lastname </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->landingrate </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->aircraft </font></td>"; echo "<td align=center bgcolor=#171717> $status </font></td>"; echo "</tr>"; } } else { echo "<tr><td><center>There are no recent flights!</td></tr></center>"; } ?> </tbody> </table> Please if someone could check my codes and tell me whats wrong in them. Thanks A lot
-
Sorry to say but the flight board i got from phpvms site does NOT contain complete blinking dots. I mean blinking dot signs. They are INCOMPLETE that's why i am re-requesting here that if someone could either make me one or something.... Thanks
-
thanks jeff. Thanks for the FS Recorder link but i wanted that someone could create me a free professional promo video for the va. Hope that someone will help.
-
anyone willing to do it for free?
-
REMOVED
-
Thanks. Actually i cannot pay anyone for this stuff. thats why wanted to post here so that may be someone will help. Hope someone will help thanks.
-
Hello all Is there anyone who can make a FREE Promotional Video for my PIAS VA? I also need someone who can design the livery for my VA but for FREE. Thanks
-
nice idea
-
Hello i am using this code for my recent arrivals board but i am getting the error : Syntax error in line 98 <center><h2>Recent Arrivals</center></h> <table align="center" border="0" width="605px"> </table> <?php $count = 10; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table style="border:1px solid grey;" cellspacing="0" cellpadding="0" bgcolor="#1F1F1F"> <thead> <tr> <th width="7%" align="center" style="background-color: #171717;">Flight#</th> <th width="30%" align="center" style="background-color: #171717;">Departure</th> <th width="30%" align="center" style="background-color: #171717;">Arrival</th> <th width="15%" align="center" style="background-color: #171717;">Pilot</th> <th width="10%" align="center" style="background-color: #171717;">Landing Rate</th> <th width="8%" align="center" style="background-color: #171717;">Aircraft</th> <th width="5%" align="center" style="background-color: #171717;">Status</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); if($pirep->accepted == '0') $status = 'REJECTED'; if($pirep->accepted == '1') $status = 'ACCEPTED'; else $status = 'PENDING'; echo "<tr>"; echo "<td align=center bgcolor=#171717> $pirep->code-$pirep->flightnum </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->depname </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->arrname </font></td>"; echo "<td align=center bgcolor=#171717> $pilotid $pilotinfo->firstname $pilotinfo->lastname </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->landingrate </font></td>"; echo "<td align=center bgcolor=#171717> $pirep->aircraft </font></td>"; echo "<td align=center bgcolor=#171717> <?php if($pirep->accepted == PIREP_ACCEPTED) echo 'Accepted'; elseif($pirep->accepted == PIREP_REJECTED) echo 'Rejected'; elseif($pirep->accepted == PIREP_PENDING) echo 'Approval Pending'; elseif($pirep->accepted == PIREP_INPROGRESS) echo 'Flight in Progress'; ?> </font></td>"; echo "</tr>"; } } else { echo "<tr><td><center>There are no recent flights!</td></tr></center>"; } ?> </tbody> </table> thanks
-
Hello all Need a bit help. Can some one provide me with Blinking dots of Landed , Taxing , takeoff , boarding , cruise ect? for VA flight board. Thanks
-
We did not write what ever was written here somme one elze wrote that PIAS2011 account was hacked.!!!!
-
We did not write what ever was written here somme one elze wrote that PIAS2011 account was hacked.!!!!
-
We did not write what ever was written here somme one elze wrote that PIAS2011 account was hacked.!!!!
-
well we did not infringe any sort of thing from anyones website the copyright issue has been resolved.