Tom
Members-
Posts
1517 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Tom
-
A lot easier yes. I wouldn't know where to start trying to understand that feed...
-
Just use the code you had at the top it works fine. Change: <tr> <td align="center">No Flights in Progres</td></tr> to: <tr> <td colspan="7" align="center">No Flights in Progress</td></tr>
-
Well it would have been good if you had explained that... I rewrote the code for no reason. Meh it's cleaner now.
-
Doesn't look like there's a problem to me...
-
Yeah I think I edited it after you tried... try again now.
-
<!-- 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 (!$results){ ?> <tr> <td align="center">No Flights in Progress</td></tr> <?php } else { 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"; }?></td> </tr> <?php } } ?> </table> Try that maybe? P.S. (This is probably more to the person who originally wrote the code because I'm sure it's in the snippets forum) Stop using <font> it's so outdated. P.P.S. 'Alot' -> 'a lot'
-
They seriously need to choose some kind of decent standard, XML or JSON or something, anything... how are you supposed to tell when one row ends and another starts?
-
Oh I see... what format is that though? It looks impossible to work with...
-
Wtf kind of format is that? That's a nightmare. XML anyone? Also are there any official VATSIM ones? That appears to be hosted by some randomers unfinished css template site.
-
Does VATSIM have open/completed flights XML? I wrote a module that does pretty much exactly this for another tracking website so I can adapt it pretty easily...
-
Has your account been hacked? Your grammar and spelling seem unusually proper... Good post nonetheless.
-
Well seeing as I'm in a nitpicky mood... Just in case you didn't catch it the first time it appeared on the page... Which, may I add, is written in bright red text. Nice grafix And just to make it even better; it's on a subdomain... of a site from someone I believe is the one who can't keep a VA up for more than a month. SUPER REALISTIC YO P.S. 1. Probably most of PIAs logos and aircraft liveries you've quite blatantly ripped? 2. Just because people are joining doesn't exempt you from infringing copyright. 3. Just because other people infringe copyright doesn't mean it's ok for you to do so.
-
Who says they haven't made it in Photoshop and it just happens to look like one of the styles in Powerpoint?
-
this.
-
Looked like a very promising VA. Sad to see you've had to shut down. P.S. for the future, I think your pageload time calculation might be wrong: Page generated in 1315580423.14 seconds..
-
I hope you're not the guy who's bought the $750 odd website from that guy down in Paid Services Good luck with the airline
-
I have a feeling they may have blocked the fivedev server IP. I wouldn't know why seeing as we'd only be using it for registrations which is ok (they block if you use it too regularly - every visit to your site). Either that or for some reason it's a problem with our end?
-
Wow your screen must be huge O.o I'm on 1680x1050 and I can't see it all. I'd recommend designing for 1024x768 screen size (if you do a little googling you can find the actual browser window size, or if you are on Chrome there's an excellent extension to resize your browser)
-
Odd, I think I've been receiving the same error... When I go to the page I get a normal response: <response success="true"> <type>email</type> <appears>no</appears> <frequency>0</frequency> </response> yet it seems we're being sent something completely different when it's loaded in the script :S Will go see if they've made changes to their API terms or something. Update: I just printed the contents and I'm getting a 403 Forbidden error... Are you on fivedev?
-
You can't host Teamspeak on a shared hosting server. Free alternative is GSC which is hosted for you for free, it's just hideous and I believe has advertising on.
-
Well, if you can't host one yourself I suppose... I've always had servers hosted for me
-
What is wrong with you people. I don't rate posts. Thanks for the -2 though... I'll keep my knowledge to myself next time. Also, fsxsimulation. I might just -1 all your posts now for lolz because you'll rage in caps and I'll laugh. Edit: Not that it'd matter, you're already on -147 bahaha
-
The online users is based on login sessions which last 30 mins I think... just get the same list as the chat?